diff options
author | Dan Smith <dansmith@redhat.com> | 2018-03-07 07:08:14 -0800 |
---|---|---|
committer | Dan Smith <dansmith@redhat.com> | 2018-03-08 09:26:49 -0800 |
commit | fd59fbd4d1914d2adf35a85435ba4aa433f082cd (patch) | |
tree | cf1bb57d416c3c044fcefd8bd31f261906250072 /gate | |
parent | ff47787e11a0a1b6299298b25b4c982bcfae6e1c (diff) | |
download | nova-fd59fbd4d1914d2adf35a85435ba4aa433f082cd.tar.gz |
Make nova-manage db purge take --all-cells
This makes purge iterate over all cells if requested. This also makes our
post_test_hook.sh use the --all-cells variant with just the base config
file.
Related to blueprint purge-db
Change-Id: I7eb5ed05224838cdba18e96724162cc930f4422e
Diffstat (limited to 'gate')
-rwxr-xr-x | gate/post_test_hook.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gate/post_test_hook.sh b/gate/post_test_hook.sh index c56e15569f..b27274b049 100755 --- a/gate/post_test_hook.sh +++ b/gate/post_test_hook.sh @@ -19,7 +19,7 @@ function archive_deleted_rows { } function purge_db { - $MANAGE $* db purge --all --verbose + $MANAGE db purge --all --verbose --all-cells RET=$? if [[ $RET -eq 0 ]]; then echo Purge successful @@ -40,7 +40,7 @@ cell_conf=$(conductor_conf 1) conf="--config-file $NOVA_CONF --config-file $cell_conf" archive_deleted_rows $conf -purge_db $conf +purge_db set -e # We need to get the admin credentials to run the OSC CLIs for Placement. |