Page MenuHomeDevCentral

Set vhost permissions for RabbitMQ administrator account
ClosedPublic

Authored by dereckson on Apr 3 2023, 23:13.
Tags
None
Referenced Files
F4016042: D2972.id7585.diff
Sat, Jan 18, 00:12
Unknown Object (File)
Thu, Jan 9, 10:32
Unknown Object (File)
Mon, Jan 6, 05:20
Unknown Object (File)
Sun, Jan 5, 15:55
Unknown Object (File)
Fri, Jan 3, 12:07
Unknown Object (File)
Fri, Jan 3, 05:22
Unknown Object (File)
Fri, Jan 3, 05:22
Unknown Object (File)
Fri, Jan 3, 05: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 Passed
Unit
No Test Coverage
Branch
rabbitmq-set-permissions
Build Status
Buildable 4695
Build 4975: arc lint + arc unit

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