Comment 5 for bug 1434304

Revision history for this message
Mark Vanderwiel (vanderwl) wrote : Re: rabbitmq defaults to guest and doesnt work with multi-nova

I just verified that we don't need to even set the "rabbitmq":{ "default_user": "admin", "default_pass": "mypass" }, as the code is designed to basically ignore this. When left as defaults, guest/guest, the user guest gets deleted from the rabbit user list here: https://github.com/stackforge/cookbook-openstack-ops-messaging/blob/master/recipes/rabbitmq-server.rb#L64. And then the new mq user, "admin" is added here and used thru out the other cookbooks here: https://github.com/stackforge/cookbook-openstack-ops-messaging/blob/master/recipes/rabbitmq-server.rb#L71 and https://github.com/stackforge/cookbook-openstack-compute/blob/master/recipes/nova-common.rb#L85 which is initialized in Common here: https://github.com/stackforge/cookbook-openstack-common/blob/master/attributes/messaging.rb#L81.