Add DB node RH OS procedure

Bug #1648044 reported by Slobodan Blatnjak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Won't Fix
High
Ranjeet R
R3.0
Won't Fix
High
Ranjeet R
R3.1
Won't Fix
High
Ranjeet R
R3.2
Won't Fix
High
Ranjeet R
Trunk
Won't Fix
High
Ranjeet R

Bug Description

This is about procedure to add/replace new DB node in Contrail.
For Ubuntu we have this one: https://github.com/Juniper/contrail-controller/wiki/Removing_Adding_DB_Node
line: " echo "manual" >> /etc/init/supervisord-contrail-database.override"
-prevents starting cassandra and supervisor-database immediately after installing contrail-openstack-database:
------
2016-12-05 05:08:19:895606: [root@172.30.157.205] out: ======= Enabling the services ======
2016-12-05 05:08:19:911500: [root@172.30.157.205] out: ======= Starting the services ======
2016-12-05 05:08:20:112792: [root@172.30.157.205] out: Rest[ OK ]upervisor-database (via systemctl):
2016-12-05 05:08:23:350629: [root@172.30.157.205] out:
2016-12-05 05:08:23:350861: [root@172.30.157.205] out: Rest[ OK ]assandra (via systemctl):
------
This will not work for RH OS.
Also, following one "vi /etc/zookeeper/conf/myid - fixup server id as 4 instead of 3" will not work. In RH myid is in /var/lib/zookeeper/data/
If I understand in correctly RH doesn't have something like that (service first has to be installed and then disabled). Than what to do in this case? Could it be harmful for the cluster, and if yes how can we prevent starting those services after installation?

information type: Proprietary → Public
Jeba Paulaiyan (jebap)
tags: added: provisioning
Revision history for this message
Jeba Paulaiyan (jebap) wrote :

Testing and code commits needed are made as part of Bug 1654151. Need to review documentation.

Jeba Paulaiyan (jebap)
no longer affects: juniperopenstack/r3.0.3.x
Revision history for this message
Ranjeet R (rranjeet-n) wrote :

As mentioned above, the bug was fixed as part of 1654151. As mentioned in the bug, we have handled the myid case separately for redhat in the code.

Ranjeet R (rranjeet-n)
Changed in juniperopenstack:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.