diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 1ac3797d..dab20c13 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -299,7 +299,13 @@ EOF fi # keystone deployed with mod wsgi cannot be upgraded or migrated # until https://launchpad.net/bugs/1365105 is resolved. - echo "KEYSTONE_USE_MOD_WSGI=False" >> "$localrc_file" + case $GRENADE_BASE_BRANCH in + "stable/icehouse") + ;& + "stable/juno") + echo "KEYSTONE_USE_MOD_WSGI=False" >> "$localrc_file" + ;; + esac fi if [[ "$DEVSTACK_GATE_TEMPEST_LARGE_OPS" -eq "1" ]]; then