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)
Tue, Dec 17, 22:02
Unknown Object (File)
Tue, Dec 17, 21:44
Unknown Object (File)
Sun, Dec 15, 19:15
Unknown Object (File)
Sat, Dec 7, 16:25
Unknown Object (File)
Mon, Dec 2, 19:04
Unknown Object (File)
Mon, Dec 2, 19:04
Unknown Object (File)
Mon, Dec 2, 19:04
Unknown Object (File)
Mon, Dec 2, 18: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