From 299e958635077c7f0823b91fcfd55a78439139c2 Mon Sep 17 00:00:00 2001 From: Lee Yarwood Date: Fri, 6 Dec 2019 14:51:01 +0000 Subject: [PATCH] Enable extend_attached_volume feature I5698e451861828a8b1240d046d1610d8d37ca5a2 introduced support for this test in Stein so enable the compute feature from Stein onwards. Blueprint: extend-in-use-rbd-volumes Change-Id: I6b2575b12fdb9636f106b3ca28681e29ad3eb8ac --- devstack/plugin.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index f34597a6..9ad7700e 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -104,6 +104,13 @@ elif [[ "$1" == "stack" && "$2" == "test-config" ]]; then else iniset $TEMPEST_CONFIG compute-feature-enabled shelve True fi + # Attached volume extend support for rbd was introduced in Stein by + # I5698e451861828a8b1240d046d1610d8d37ca5a2 + if [[ "$TARGET_BRANCH" =~ stable/(ocata|pike|queens|rocky) ]]; then + iniset $TEMPEST_CONFIG volume-feature-enabled extend_attached_volume False + else + iniset $TEMPEST_CONFIG volume-feature-enabled extend_attached_volume True + fi fi fi