Disable swift service in patrole py35 gate

The new dsvm gate,
"gate-tempest-dsvm-patrole-py35-member-ubuntu-xenial-nv", is
failing during the execution of the main stack.sh script [0],
because glance fails to upload an image [1]. This is likely
because glance is using swift as the storage back-end,
which according to tempest's py35 gate template, should be
disabled, as "it isn't ready for python 3 yet" [2].

This patch disables swift for the py35 gate, along
with c-bak, as according to [2], it requires swift in the
gate.

[0] http://logs.openstack.org/71/462671/6/check/gate-tempest-dsvm-patrole-py35-member-ubuntu-xenial-nv/25dc23e/logs/devstacklog.txt.gz
[1] http://logs.openstack.org/71/462671/6/check/gate-tempest-dsvm-patrole-py35-member-ubuntu-xenial-nv/25dc23e/logs/screen-g-api.txt.gz
[2] https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/devstack-gate.yaml#L659

Change-Id: I092796b1b1eb7b4c1f011d6214fb1b03ad4f95aa
Closes-Bug: #1689960
This commit is contained in:
Felipe Monteiro 2017-05-11 03:45:09 +01:00
parent 9f5d7cfea4
commit 65a57cbadb
1 changed files with 8 additions and 0 deletions

View File

@ -78,6 +78,14 @@
conf: |
[[local|localrc]]
enable_plugin patrole git://git.openstack.org/openstack/patrole
# Swift is not ready for python3 yet
disable_service s-account
disable_service s-container
disable_service s-object
disable_service s-proxy
# Without Swift, c-bak can't run (in the Gate at least)
disable_service c-bak
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true