From: Jason Dillaman Date: Mon, 22 May 2017 14:47:27 +0000 (-0400) Subject: qa/suites/rbd: ensure guest VM updates to Ceph version under test X-Git-Tag: ses5-milestone8^2~11^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4f26b86d537ef93e534e909f6f93486b960fb50;p=ceph.git qa/suites/rbd: ensure guest VM updates to Ceph version under test Signed-off-by: Jason Dillaman --- diff --git a/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml b/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml index f7c3413a764..38d13ece6d2 100644 --- a/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml +++ b/qa/suites/rbd/openstack/workloads/devstack-tempest-gate.yaml @@ -26,6 +26,10 @@ tasks: - "ALL=(root) NOPASSWD:/usr/bin/ovsdb-client" - | #!/bin/bash -ex + wget -q -O- "http://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc" | apt-key add - + wget -q -O /etc/apt/sources.list.d/ceph.list "https://shaman.ceph.com/api/repos/ceph/{ceph_branch}/{ceph_sha1}/ubuntu/xenial/repo" + apt-get update + mount --bind /mnt/test_b /opt mkdir /opt/stack chown -R stack:stack /home/stack diff --git a/qa/tasks/qemu.py b/qa/tasks/qemu.py index aac51d5f540..1a95e74242f 100644 --- a/qa/tasks/qemu.py +++ b/qa/tasks/qemu.py @@ -170,6 +170,9 @@ def generate_iso(ctx, config): /mnt/cdrom/test.sh > /mnt/log/test.log 2>&1 && touch /mnt/log/success """ + test_teardown + user_data = user_data.format( + ceph_branch=ctx.config.get('branch'), + ceph_sha1=ctx.config.get('sha1')) teuthology.write_file(remote, userdata_path, StringIO(user_data)) with file(os.path.join(src_dir, 'metadata.yaml'), 'rb') as f: