database backup not skipping the mentioned key space
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.22.x |
Fix Committed
|
High
|
aswani kumar | |||
R3.0 |
Fix Committed
|
High
|
aswani kumar | |||
Trunk |
Fix Committed
|
High
|
aswani kumar |
Bug Description
Used fab backup/restore with build 2724, using key_space to skip analytics data backup.
Couple of issue here.
1. gave ContrailAnalytics in skip_keyspace , but the folder named as ContrailAnalyti
returns Cql and eventually fails to skip analytics backup
< def replace_key(text, skip_key):
< for key in skip_key:
< text = text.replace(key, “")
Instead of giving the specific name in the skip_keyspace , can we have generic name that customer can understand and map it internally to the set of databases.
For example , instead expecting to give ContrailAnalyti
2. It assumes the database having the snapshots dir are eligible for the backup instead of checking against the skip_keyspace.
if there is snapshots already taken, but would like to skip while backing up, it fails to do so.
#get relative path to cassandra from db_path
for snapshot_dir in snapshot_dirs:
information type: | Proprietary → Public |
fix comitted