backup_restore: cassandra backup location needs to be consistent
Bug #1566022 reported by
Ignatious Johnson Christopher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Medium
|
aswani kumar | |||
R2.21.x |
Fix Committed
|
Medium
|
aswani kumar | |||
R2.22.x |
Fix Committed
|
Medium
|
aswani kumar | |||
R3.0 |
Fix Committed
|
Medium
|
aswani kumar | |||
Trunk |
Fix Committed
|
Medium
|
aswani kumar |
Bug Description
cassandra backup location needs to be consistent even in case of the custom data_file_
If customers choose to keep data dir in a custom partition, The backup_
<hostname>
Fix is to consistently backup at <hostname>/data/
information type: | Proprietary → Public |
To post a comment you must log in.
Fix: ijohnson@ ijohnsondev1404 :~/github/ R2.21.x/ contrail- fabric- utils$ diff fabfile/ tasks/backup_ restore. py fabfile/ tasks/backup_ restore. py.orig split(db_ path) split(path_ to_cassandra) '.*/cassandra/ ',db_path) .group( 0) ijohnson@ ijohnsondev1404 :~/github/ R2.21.x/ contrail- fabric- utils$
===
(devenv)
216,219c216
< path_to_cassandra, data_dir = os.path.
< while data_dir == '':
< path_to_cassandra, data_dir = os.path.
< path_to_cassandra += '/'
---
> path_to_cassandra = re.search(
(devenv)