RabbitMQ fails to add guest user during bootstrap of Bifrost
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
sayantani |
Bug Description
RabbitMQ fails to remove the guest user during bootstrapping of Bifrost Service. Please reference the following error:
http://
This occurs when the hostname is not added or not added correctly to the /etc/hosts file. If the following entry exists in the /etc/hosts file, RabbitMQ fails. (ubuntu-14 is the hostname in the example below)
127.0.0.1 localhost ubuntu-14
The correct entry should be
127.0.0.1 ubuntu-14 localhost
This is handed by bifrost (https:/
A task should be added to automatically add the hostname to the /etc/hosts file of the deployment host before it is mounted to the container from a volume.
Changed in kolla-ansible: | |
assignee: | nobody → sayantani (sayantani.goswami) |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/529543 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=19d4913c459 aa59abde0a8c6ee 92d8bd1e0fef8e
Committed: https:/
Submitter: Zuul
Branch: master
commit 19d4913c459aa59 abde0a8c6ee92d8 bd1e0fef8e
Author: Mark Goddard <email address hidden>
Date: Tue Mar 28 10:28:08 2017 +0100
Workaround for Bifrost being unable to write to /etc/hosts
Bifrost cannot modify /etc/hosts from within a container, so add a
host entry during bootstrap.
Change-Id: Ied378b4dd75578 8e75ad1814cecb5 700732ba83e
Closes-Bug: #1661009