Page MenuHomeDevCentral

Set vhost permissions for RabbitMQ administrator account
ClosedPublic

Authored by dereckson on Apr 3 2023, 23:13.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 23:14
Unknown Object (File)
Mon, Nov 11, 07:03
Unknown Object (File)
Fri, Nov 8, 01:36
Unknown Object (File)
Tue, Nov 5, 15:28
Unknown Object (File)
Tue, Nov 5, 04:23
Unknown Object (File)
Mon, Nov 4, 01:27
Unknown Object (File)
Sat, Nov 2, 16:36
Unknown Object (File)
Thu, Oct 31, 02:22
Subscribers

Details

Summary

That aligns with default user guest privileges.

Test Plan

Tested with orange-rabbit deployment on Dwellers

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Apr 3 2023, 23:13
Complector
$ salt dwellers state.sls roles/paas-docker/containers/rabbitmq
[…]
----------
          ID: rabbitmq_orange-rabbit_root_password
    Function: cmd.script
      Result: True
     Comment: Command 'rabbitmq_orange-rabbit_root_password' run
     Started: 23:10:16.479077
    Duration: 26894.14 ms
     Changes:
              ----------
              pid:
                  3451250
              retcode:
                  0
              stderr:
              stdout:
                  Deleting user "guest" ...
                  Adding user "root" ...
                  Done. Don't forget to grant the user permissions to some virtual hosts! See 'rabbitmqctl help set_permissions' to learn more.
                  Setting tags for user "root" to [administrator] ...
                  Setting permissions for user "root" in vhost "/" ...
[…]

Realtime is more like 7s as there is a sleep 20.

Restore blank line before touch