]> git.proxmox.com Git - ceph.git/blob - ceph/qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/2-workload/devstack-tempest-gate.yaml
update download target update for octopus release
[ceph.git] / ceph / qa / suites / upgrade / client-upgrade-nautilus / nautilus-client-x / basic / 2-workload / devstack-tempest-gate.yaml
1 tasks:
2 - sequential:
3 - upgrade_workload
4 - ceph:
5 - print: "**** done ceph"
6 - qemu:
7 client.0:
8 type: filesystem
9 cpus: 4
10 memory: 12288
11 disks:
12 - image_size: 30720
13 - image_size: 30720
14 test: qa/workunits/rbd/run_devstack_tempest.sh
15 image_url: https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
16 cloud_config_archive:
17 - type: text/cloud-config
18 content: |
19 users:
20 - name: stack
21 lock_passwd: False
22 shell: /bin/bash
23 sudo: ["ALL=(root) NOPASSWD:ALL\nDefaults:stack,tempest !requiretty"]
24 - name: tempest
25 lock_passwd: False
26 shell: /bin/bash
27 sudo:
28 - "ALL=(root) NOPASSWD:/sbin/ip"
29 - "ALL=(root) NOPASSWD:/sbin/iptables"
30 - "ALL=(root) NOPASSWD:/usr/bin/ovsdb-client"
31 - |
32 #!/bin/bash -ex
33 wget -q -O- "http://git.ceph.com/?p=ceph.git;a=blob_plain;f=keys/autobuild.asc" | apt-key add -
34 wget -q -O /etc/apt/sources.list.d/ceph.list "https://shaman.ceph.com/api/repos/ceph/{ceph_branch}/{ceph_sha1}/ubuntu/xenial/repo"
35 apt-get update
36
37 mount --bind /mnt/test_b /opt
38 mkdir /opt/stack
39 chown -R stack:stack /home/stack
40 chown -R stack:stack /opt/stack
41
42 mkdir /mnt/log/stack
43 chmod a+rwx /mnt/log/stack
44 chown -R stack:stack /mnt/log/stack
45
46 apt-get install -y ceph-common librbd1
47
48 mkdir /mnt/log/stack/ceph
49 chown -R stack:stack /mnt/log/stack/ceph
50 chmod a+rwx /mnt/log/stack/ceph
51
52 # sanity check that the cluster is reachable from the VM
53 echo '[client]' >> /etc/ceph/ceph.conf
54 echo 'log file = /mnt/log/stack/ceph/$name.$pid.log' >> /etc/ceph/ceph.conf
55 rbd --debug-ms=10 --debug-rbd=20 info client.0.1
56 - print: "**** done qemu task!"