[4.1.0.0-48~mitaka] vcenter-only provisioning: Rabbitmq cluster not forming and controller and vcplugin containers keep restarting
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.1 |
Fix Committed
|
Critical
|
Abhay Joshi | |||
Trunk |
Fix Committed
|
Critical
|
Abhay Joshi |
Bug Description
Issue seen on a fresh install of build 4.1.0.0-48~mitaka ubuntu14.04 on a multi-node vcenter-only setup
root@nodec4(
Cluster status of node rabbit@nodec4 ...
[{nodes,
{running_
{cluster_
{partitions,[]}]
root@nodec4:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
578d5d59a006 10.204.
4e024e3f4ba7 10.204.
3a9bb330d392 10.204.
79c7de4756f4 10.204.
89b4e6adff6d registry:2 "/entrypoint.sh /e..." 2 hours ago Up 2 hours registry
root@nodec4(
root@nodec4:~# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
578d5d59a006 10.204.
4e024e3f4ba7 10.204.
3a9bb330d392 10.204.
79c7de4756f4 10.204.
89b4e6adff6d registry:2 "/entrypoint.sh /e..." 2 hours ago Up 2 hours registry
root@nodec4(
Status of node rabbit@nodec4 ...
[{pid,20427},
{running_
{os,{unix,linux}},
{erlang_
{memory,
{alarms,[]},
{listeners,
{vm_memory_
{vm_memory_
{disk_
{disk_
{file_
{processes,
{run_queue,0},
{uptime,83}]
Changed in juniperopenstack: | |
importance: | Undecided → Critical |
milestone: | none → r5.0.0 |
information type: | Proprietary → Public |
+ Abhay
Hi Pavana,
All the rabbit nodes are started blank and have formed independent clusters.
=WARNING REPORT==== 17-Nov- 2017::10: 49:25 ===
rabbit@ nodec5,
rabbit@ nodec6]
Could not find any node for auto-clustering from: [rabbit@puppet,
Starting blank node...
=INFO REPORT==== 17-Nov- 2017::10: 49:26 ===
This is due to the reason that the hostname for first node is populated incorrectly in the /etc/rabbitmq/ rabbitmq. config.
Which is due to the presence of an incorrect host file entry.
root@nodec5:~# cat /etc/hosts
# The following lines are desirable for IPv6 capable hosts englab. juniper. net localhost englab. juniper. net nodec5
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.0.1 localhost.
10.204.216.62 nodec5.
10.204.216.61 puppet
127.0.0.1 nodec5
10.204.216.63 nodec6
10.204.216.62 nodec5
10.204.216.61 nodec4
root@nodec5:~#
Abhay,
I guess "10.204.216.61 puppet" populated by smlite, followed by these entries using contrail-ansible.
10.204.216.63 nodec6
10.204.216.62 nodec5
10.204.216.61 nodec4
If "10.204.216.61 puppet” is not required, do not add it.
If required, contrail-ansbile should add these entries before the line "10.204.216.61 puppet”
Thanks,
Ignatious