Backup/Restore script for cassandra/zk broken in 5.0.x

Bug #1794200 reported by Michael Henkel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
High
alexey-mr
Trunk
Fix Committed
High
alexey-mr

Bug Description

Backup/Restore script for cassandra/zk broken in 5.0.x

Tags: upgrade
Jeba Paulaiyan (jebap)
tags: added: upgrade
Jeba Paulaiyan (jebap)
information type: Proprietary → Public
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

Steven Sciriha <email address hidden> tried it and it work for him

following following instructions from Aswani:

Use db_json_exim.py from 'config_api' container
docker ps -a | grep config_api

backup
1)docker exec -it <config_container>
2)cd /usr/lib/python2.7/site-packages/cfgm_common
3)python db_json_exim.py --export-to db-dump.json

restore
If u want to try restore on same cluster
1)stop Cassandra ,zookeeper and kafka containers in all nodes and delete config
config-location: /var/lib/docker/volumes/config_*
2)Start Cassandra and zookeeper containers
3) python db_json_exim.py --import-from db-dump.json
4)start kafka containers on all nodes

Thanks,
Aswani Kumar

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.