Config backup not restored post upgrade to 3.1.3.0-85.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Invalid
|
High
|
Sachin Bansal | |||
R3.2 |
Invalid
|
High
|
Sachin Bansal | |||
R4.0 |
Invalid
|
High
|
Sachin Bansal | |||
R4.1 |
Invalid
|
High
|
Sachin Bansal | |||
Trunk |
Invalid
|
High
|
Sachin Bansal |
Bug Description
As per the changes in the design of Cassandra DB post 3.0.3 for analytics DB and config DB customer is encountering an error in config restore.
Customer is running 3.1.3.0-85.Customer has split DB setup. It consists of 9 node cluster environment (3 control&config, 3 collectors, 3 databases Customer has created virtual network and backup Cassandra and Zookeeper
fab backup_cassandra_db
fab backup_
they delete one of the VN in the above setup and updon restoring the config
fab restore_
fab restore_
The deleted VN is not restored.
On single node this works fine. However on a distributed setup with separate DB. DB services on the config nodes are not restarted. DB services are only restarted on the Database nodes.
Is there way we can backup DB only from the config nodes instead of backing from Database node running analytics?
Testbed.py attached
cc21 = 'root@172.23.1.91'
cc22 = 'root@172.23.1.92'
cc23 = 'root@172.23.1.93' are the config nodes. From the below logs DB instances are stopped/started on the config nodes upon restoring config.
2017-10-05 15:51:20:539357: [root@172.23.1.91] sudo: python -c 'from platform import linux_distribution; print linux_distribut
2017-10-05 15:51:20:540400: [root@172.23.1.91] out: ('Ubuntu', '14.04', 'trusty')
2017-10-05 15:51:21:167493: [root@172.23.1.91] out:
2017-10-05 15:51:21:168026:
2017-10-05 15:51:21:168341: [root@172.23.1.91] sudo: service supervisor-config stop
2017-10-05 15:51:21:168694: [root@172.23.1.91] out: supervisor-config stop/waiting
2017-10-05 15:51:30:479161: [root@172.23.1.91] out:
2017-10-05 15:51:30:479569:
2017-10-05 15:51:30:480165: [root@172.23.1.91] sudo: service neutron-server stop
2017-10-05 15:51:30:480423: [root@172.23.1.91] out: neutron-server stop/waiting
2017-10-05 15:51:33:416024: [root@172.23.1.91] out:
2017-10-05 15:51:33:416410:
2017-10-05 15:51:33:416656: [root@172.23.1.91] sudo: service supervisor-
2017-10-05 15:51:33:416886: [root@172.23.1.91] out: supervisor-
2017-10-05 15:51:36:920370: [root@172.23.1.91] out:
2017-10-05 15:51:36:920720:
2017-10-05 15:51:36:920939: [root@172.23.1.92] Executing task 'stop_cfgm'
2017-10-05 15:51:36:921210: [root@172.23.1.92] sudo: python -c 'from platform import linux_distribution; print linux_distribut
2017-10-05 15:51:36:921675: [root@172.23.1.92] out: ('Ubuntu', '14.04', 'trusty')
2017-10-05 15:51:38:931073: [root@172.23.1.92] out:
2017-10-05 15:51:38:932036:
2017-10-05 15:51:38:932738: [root@172.23.1.92] sudo: service supervisor-config stop
2017-10-05 15:51:38:933712: [root@172.23.1.92] out: supervisor-config stop/waiting
2017-10-05 15:51:48:676875: [root@172.23.1.92] out:
2017-10-05 15:51:48:678389:
2017-10-05 15:51:48:682834: [root@172.23.1.92] sudo: service neutron-server stop
2017-10-05 15:51:48:683399: [root@172.23.1.92] out: neutron-server stop/waiting
2017-10-05 15:51:51:457170: [root@172.23.1.92] out:
2017-10-05 15:51:51:458414:
2017-10-05 15:51:51:459132: [root@172.23.1.92] sudo: service supervisor-
2017-10-05 15:51:51:459657: [root@172.23.1.92] out: supervisor-
2017-10-05 15:51:54:802415: [root@172.23.1.92] out:
2017-10-05 15:51:54:802787:
2017-10-05 15:51:54:803021: [root@172.23.1.93] Executing task 'stop_cfgm'
2017-10-05 15:51:54:803288: [root@172.23.1.93] sudo: python -c 'from platform import linux_distribution; print linux_distribut
2017-10-05 15:51:54:803683: [root@172.23.1.93] out: ('Ubuntu', '14.04', 'trusty')
2017-10-05 15:51:57:021561: [root@172.23.1.93] out:
2017-10-05 15:51:57:021929:
2017-10-05 15:51:57:022243: [root@172.23.1.93] sudo: service supervisor-config stop
2017-10-05 15:51:57:022597: [root@172.23.1.93] out: supervisor-config stop/waiting
2017-10-05 15:52:05:936336: [root@172.23.1.93] out:
2017-10-05 15:52:05:936898:
2017-10-05 15:52:05:937212: [root@172.23.1.93] sudo: service neutron-server stop
2017-10-05 15:52:05:937485: [root@172.23.1.93] out: neutron-server stop/waiting
2017-10-05 15:52:07:073111: [root@172.23.1.93] out:
2017-10-05 15:52:07:073530:
2017-10-05 15:52:07:073768: [root@172.23.1.93] sudo: service supervisor-
2017-10-05 15:52:07:073980: [root@172.23.1.93] out: supervisor-
2017-10-05 15:52:09:762165: [root@172.23.1.93] out:
2017-10-05 15:52:09:762547:
2017-10-05 15:52:09:765437: [root@172.23.1.130] Executing task 'stop_database'
2017-10-05 15:52:09:765811: [root@172.23.1.130] sudo: service contrail-database stop
2017-10-05 15:52:09:766069: [root@172.23.1.130] sudo: service supervisor-database stop
2017-10-05 15:52:13:539517: [root@172.23.1.130] out: supervisor-database stop/waiting
……………………………
2017-10-05 15:52:09:765437: [root@172.23.1.130] Executing task 'stop_database'
2017-10-05 15:52:09:765811: [root@172.23.1.130] sudo: service contrail-database stop
2017-10-05 15:52:09:766069: [root@172.23.1.130] sudo: service supervisor-database stop
2017-10-05 15:52:13:539517: [root@172.23.1.130] out: supervisor-database stop/waiting
2017-10-05 15:52:17:180344: [root@172.23.1.130] out:
2017-10-05 15:52:17:180812:
2017-10-05 15:52:17:181081: [root@172.23.1.131] Executing task 'stop_database'
2017-10-05 15:52:17:181325: [root@172.23.1.131] sudo: service contrail-database stop
2017-10-05 15:52:17:181598: [root@172.23.1.131] sudo: service supervisor-database stop
2017-10-05 15:52:19:696980: [root@172.23.1.131] out: supervisor-database stop/waiting
2017-10-05 15:52:31:606944: [root@172.23.1.131] out:
2017-10-05 15:52:31:607191:
2017-10-05 15:52:31:607500: [root@172.23.1.132] Executing task 'stop_database'
2017-10-05 15:52:31:607792: [root@172.23.1.132] sudo: service contrail-database stop
2017-10-05 15:52:31:607980: [root@172.23.1.132] sudo: service supervisor-database stop
2017-10-05 15:52:34:516530: [root@172.23.1.132] out: supervisor-database stop/waiting
2017-10-05 15:52:46:482278: [root@172.23.1.132] out:
HI,
Can we have this assigned?
Best Regards,
Vijay Kumar