Disable swap-volume in tempest when sheepdog is used

Sheepdog doesn't support volume swapping so disable that feature
in tempest.

Change-Id: I06fed05931a0d8e57a3fb487a43131f0cac2c92c
This commit is contained in:
Teruaki Ishizaki 2017-02-16 13:34:25 +09:00
parent 1352eb2e89
commit 448091b9e3
1 changed files with 4 additions and 0 deletions

View File

@ -130,6 +130,10 @@ elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
# We need to have Sheepdog started before the main OpenStack components.
start_sheepdog
elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then
if is_service_enabled tempest; then
iniset $TEMPEST_CONFIG compute-feature-enabled swap_volume False
fi
fi
if [[ "$1" == "unstack" ]]; then