Merge lp:~gnuoy/charms/trusty/rabbitmq-server/vhost-fix into lp:~openstack-charmers-archive/charms/trusty/rabbitmq-server/next
Proposed by
Liam Young
Status: | Rejected |
---|---|
Rejected by: | Billy Olsen |
Proposed branch: | lp:~gnuoy/charms/trusty/rabbitmq-server/vhost-fix |
Merge into: | lp:~openstack-charmers-archive/charms/trusty/rabbitmq-server/next |
Diff against target: |
15 lines (+2/-3) 1 file modified
hooks/rabbit_utils.py (+2/-3) |
To merge this branch: | bzr merge lp:~gnuoy/charms/trusty/rabbitmq-server/vhost-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenStack Charmers | Pending | ||
Review via email: mp+251627@code.launchpad.net |
Description of the change
The output of rabbitmqctl list_vhosts has changed in the new version (~ 3.4) so that it no longer ends with '...done.' which breaks the current logic of throwing away the last element in the list returned by subprocess.
This mp switches to using '-q' to suppress 'Listing vhosts ...' and '...done.' from the output.
It also stops throwing away '/' from the vhost list since '/' is a valid vhost.
To post a comment you must log in.
Unmerged revisions
- 83. By Liam Young
-
Stop throwing away first and last vhosts
Liam,
This looks mostly fine, but was superceded by JuanJo's MP - lp:~jjo/charms/trusty/rabbitmq-server/use-rabbitmqctl-q-for-list-cmds, which also handled the user listing info. So marking this as disapprove and you can use his.
Billy