Comment 12 for bug 1960587

Revision history for this message
Dwane Pottratz (dpcsar) wrote (last edit ):

Hi Dmitriy,

Master branch will install rabbitmq with the 127.0.1.1 in the /etc/hosts file. (SHA 1a706fe95058c5b0a28c1604bb2ac6d58c82acaf)

The extra line in the host file are still there:
cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 infradev1

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
### BEGIN OPENSTACK-ANSIBLE MANAGED BLOCK ###
192.168.12.21 infradev1.home infradev1
192.168.12.22 infradev2.home infradev2
192.168.12.23 infradev3.home infradev3
192.168.12.20 haproxydev0.home haproxy0 haproxydev0
### END OPENSTACK-ANSIBLE MANAGED BLOCK ###
192.168.12.21 infradev1 infradev1
192.168.12.22 infradev2 infradev2
192.168.12.23 infradev3 infradev3

I am not sure if it is rabbit that is putting the extra lines in there. I don't know where they are coming from.

I ran the following:
git clone -b master https://opendev.org/openstack/openstack-ansible /opt/openstack-ansible
rsync -rltv --delete /opt/openstack-ansible/etc/openstack_deploy/ /etc/openstack_deploy/
cp openstack_user_config.yml /etc/openstack_deploy/
cp user_variables.yml /etc/openstack_deploy/
cp user_secrets.yml /etc/openstack_deploy/
/opt/openstack-ansible/scripts/bootstrap-ansible.sh
cd /opt/openstack-ansible/playbooks
openstack-ansible setup-hosts.yml
openstack-ansible repo-install.yml
openstack-ansible haproxy-install.yml
openstack-ansible memcached-install.yml
openstack-ansible galera-install.yml
openstack-ansible rabbitmq-install.yml

I believe that order is following the setup-infrastructure.yml for the components I have in my inventory.

Hope that helps.