Zun: Temporarily skip capsule test for ubuntu

Related-Bug: #1941982
Change-Id: I0e03db1177931ee6d17b21f614573575c3493eef
This commit is contained in:
Hongbin Lu 2021-09-07 19:55:47 +08:00
parent c48469d2ac
commit 21b4dc5416
2 changed files with 8 additions and 0 deletions

View File

@ -391,6 +391,8 @@
executable: /bin/bash
chdir: "{{ kolla_ansible_src_dir }}"
when: scenario == 'zun'
environment:
BASE_DISTRO: "{{ base_distro }}"
- name: Run test-swift.sh script
script:

View File

@ -99,6 +99,12 @@ function test_zun_logged {
openstack volume delete zun_test_volume
echo "SUCCESS: Zun Cinder volume attachment"
# NOTE(hongbin): temporarily skip capsule test due to #1941982
# See https://bugs.launchpad.net/zun/+bug/1941982
if [[ $BASE_DISTRO =~ ^(debian|ubuntu)$ ]]; then
return 0
fi
echo "TESTING: Zun capsule"
cat >/tmp/capsule.yaml <<EOF
capsuleVersion: beta