Comment 1 for bug 1566022

Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

Fix:
===
(devenv)ijohnson@ijohnsondev1404:~/github/R2.21.x/contrail-fabric-utils$ diff fabfile/tasks/backup_restore.py fabfile/tasks/backup_restore.py.orig
216,219c216
< path_to_cassandra, data_dir = os.path.split(db_path)
< while data_dir == '':
< path_to_cassandra, data_dir = os.path.split(path_to_cassandra)
< path_to_cassandra += '/'
---
> path_to_cassandra = re.search('.*/cassandra/',db_path).group(0)
(devenv)ijohnson@ijohnsondev1404:~/github/R2.21.x/contrail-fabric-utils$