From 17758d839012e0d5762a6ccdf0b96415e63d1bab Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 13 Nov 2013 21:06:36 +0000 Subject: [PATCH] Remove folsom-specific logic No testing is done on OpenStack Folsom any longer, so we can clean up devstack-gate scripts accordingly. * devstack-vm-gate-dev.sh * devstack-vm-gate-wrap.sh * devstack-vm-gate.sh: Remove conditionals and variables relevant only to stable/folsom testing. Change-Id: I4e09c241920fb1c35138d6f34fc889b10926a0e6 --- devstack-vm-gate-dev.sh | 1 - devstack-vm-gate-wrap.sh | 10 +--------- devstack-vm-gate.sh | 12 ++---------- 3 files changed, 3 insertions(+), 20 deletions(-) diff --git a/devstack-vm-gate-dev.sh b/devstack-vm-gate-dev.sh index 901554e6..308ed671 100755 --- a/devstack-vm-gate-dev.sh +++ b/devstack-vm-gate-dev.sh @@ -17,7 +17,6 @@ export BUILD_NUMBER=42 export GERRIT_CHANGE_NUMBER=1234 export GERRIT_PATCHSET_NUMBER=1 export DEVSTACK_GATE_TEMPEST=${DEVSTACK_GATE_TEMPEST:-0} -export DEVSTACK_GATE_CINDER=${DEVSTACK_GATE_CINDER:-0} export DEVSTACK_GATE_QUANTUM=${DEVSTACK_GATE_QUANTUM:-0} export DEVSTACK_GATE_HEAT=${DEVSTACK_GATE_HEAT:-0} export DEVSTACK_GATE_GRENADE=${DEVSTACK_GATE_GRENADE:-""} diff --git a/devstack-vm-gate-wrap.sh b/devstack-vm-gate-wrap.sh index 66a1c571..a017a6cf 100755 --- a/devstack-vm-gate-wrap.sh +++ b/devstack-vm-gate-wrap.sh @@ -439,8 +439,6 @@ export DEVSTACK_GATE_TEMPEST_LARGE_OPS=${DEVSTACK_GATE_TEMPEST_LARGE_OPS:-0} # for tempest will be the one chosen by devstack. export DEVSTACK_GATE_TEMPEST_ALLOW_TENANT_ISOLATION=${DEVSTACK_GATE_TEMPEST_ALLOW_TENANT_ISOLATION:-0} -export DEVSTACK_GATE_CINDER=${DEVSTACK_GATE_CINDER:-0} - # Set to 1 to enable Cinder secure delete. # False by default to avoid dd problems on Precise. # https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1023755 @@ -465,13 +463,7 @@ export DEVSTACK_GATE_GRENADE_FORWARD=${DEVSTACK_GATE_GRENADE_FORWARD:-0} if [ "$DEVSTACK_GATE_GRENADE" -eq "1" ]; then export DEVSTACK_GATE_EXERCISES=1 - if [ "$ZUUL_BRANCH" == "stable/grizzly" ]; then -# Set to 1 to run cinder instead of nova volume -# Only applicable to stable/folsom branch - export DEVSTACK_GATE_CINDER=1 - export GRENADE_OLD_BRANCH="stable/folsom" - export GRENADE_NEW_BRANCH="stable/grizzly" - elif [ "$ZUUL_BRANCH" == "stable/havana" ]; then + if [ "$ZUUL_BRANCH" == "stable/havana" ]; then export GRENADE_OLD_BRANCH="stable/grizzly" export GRENADE_NEW_BRANCH="stable/havana" export DEVSTACK_GATE_TEMPEST=1 diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 8b3fb9c9..1ca441e4 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -46,14 +46,7 @@ function setup_localrc() { SKIP_EXERCISES=boot_from_volume,client-env - if [ "$LOCALRC_BRANCH" == "stable/folsom" ]; then - MY_ENABLED_SERVICES=$MY_ENABLED_SERVICES,n-net,swift - if [ "$DEVSTACK_GATE_CINDER" -eq "1" ]; then - MY_ENABLED_SERVICES=$MY_ENABLED_SERVICES,cinder,c-api,c-vol,c-sch - else - MY_ENABLED_SERVICES=$MY_ENABLED_SERVICES,n-vol - fi - elif [ "$LOCALRC_BRANCH" == "stable/grizzly" ]; then + if [ "$LOCALRC_BRANCH" == "stable/grizzly" ]; then MY_ENABLED_SERVICES=$MY_ENABLED_SERVICES,s-proxy,s-account,s-container,s-object,cinder,c-api,c-vol,c-sch,n-cond if [ "$DEVSTACK_GATE_NEUTRON" -eq "1" ]; then MY_ENABLED_SERVICES=$MY_ENABLED_SERVICES,quantum,q-svc,q-agt,q-dhcp,q-l3,q-meta @@ -309,8 +302,7 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then res=$? fi - if [[ "$LOCALRC_BRANCH" == "stable/folsom" ]] || \ - [[ "$LOCALRC_BRANCH" == "stable/grizzly" ]] || \ + if [[ "$LOCALRC_BRANCH" == "stable/grizzly" ]] || \ [[ "$DEVSTACK_GATE_TEMPEST_STRESS" -eq "1" ]] || \ [[ "$res" -ne "0" ]] ; then exit $res