Disable swap-volume in tempest when ceph is used

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

Change-Id: I8f3da1d730113b100526662ba7ec71f603ab36da
This commit is contained in:
Matthew Treinish 2017-02-10 10:09:26 -05:00
parent a61a4fd647
commit 3ece1cd96d
1 changed files with 6 additions and 0 deletions

View File

@ -82,8 +82,14 @@ elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
fi
fi
fi
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
if [ "$CEPH_CONTAINERIZED" = "False" ]; then
if [ "$REMOTE_CEPH" = "True" ]; then