forked from ceph/ceph
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qa/tests: added client-upgrade-nautilus suite to be used on octopus r…
…elease Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
- Loading branch information
Showing
35 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
Empty file.
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
Empty file.
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/0-cluster/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
4 changes: 4 additions & 0 deletions
4
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/0-cluster/openstack.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
openstack: | ||
- volumes: # attached to each instance | ||
count: 4 | ||
size: 30 # GB |
23 changes: 23 additions & 0 deletions
23
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/0-cluster/start.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
meta: | ||
- desc: | | ||
Insatll and run ceph on one node, | ||
with a separate client 0. | ||
Upgrade client 0 to nautilus | ||
Run tests against old cluster | ||
roles: | ||
- - mon.a | ||
- mon.b | ||
- mon.c | ||
- osd.0 | ||
- osd.1 | ||
- osd.2 | ||
- mgr.x | ||
- - client.0 | ||
overrides: | ||
ceph: | ||
log-whitelist: | ||
- failed to encode map | ||
- CACHE_POOL_NO_HIT_SET | ||
- POOL_APP_NOT_ENABLED | ||
- application not enabled | ||
fs: xfs |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/1-install/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
11 changes: 11 additions & 0 deletions
11
.../upgrade/client-upgrade-nautilus/nautilus-client-x/basic/1-install/nautilus-client-x.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tasks: | ||
- install: | ||
branch: nautilus | ||
exclude_packages: ['ceph-mgr','libcephfs2','libcephfs-devel','libcephfs-dev','python34-cephfs','python34-rados'] | ||
- print: "**** done install nautilus" | ||
upgrade_workload: | ||
sequential: | ||
- install.upgrade: | ||
exclude_packages: ['ceph-test', 'ceph-test-dbg','libcephfs1'] | ||
client.0: | ||
- print: "**** done install.upgrade to -x on client.0" |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/2-workload/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
56 changes: 56 additions & 0 deletions
56
...ade/client-upgrade-nautilus/nautilus-client-x/basic/2-workload/devstack-tempest-gate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
tasks: | ||
- sequential: | ||
- upgrade_workload | ||
- ceph: | ||
- print: "**** done ceph" | ||
- qemu: | ||
client.0: | ||
type: filesystem | ||
cpus: 4 | ||
memory: 12288 | ||
disks: | ||
- image_size: 30720 | ||
- image_size: 30720 | ||
test: qa/workunits/rbd/run_devstack_tempest.sh | ||
image_url: https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img | ||
cloud_config_archive: | ||
- type: text/cloud-config | ||
content: | | ||
users: | ||
- name: stack | ||
lock_passwd: False | ||
shell: /bin/bash | ||
sudo: ["ALL=(root) NOPASSWD:ALL\nDefaults:stack,tempest !requiretty"] | ||
- name: tempest | ||
lock_passwd: False | ||
shell: /bin/bash | ||
sudo: | ||
- "ALL=(root) NOPASSWD:/sbin/ip" | ||
- "ALL=(root) NOPASSWD:/sbin/iptables" | ||
- "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 | ||
chown -R stack:stack /opt/stack | ||
mkdir /mnt/log/stack | ||
chmod a+rwx /mnt/log/stack | ||
chown -R stack:stack /mnt/log/stack | ||
apt-get install -y ceph-common librbd1 | ||
mkdir /mnt/log/stack/ceph | ||
chown -R stack:stack /mnt/log/stack/ceph | ||
chmod a+rwx /mnt/log/stack/ceph | ||
# sanity check that the cluster is reachable from the VM | ||
echo '[client]' >> /etc/ceph/ceph.conf | ||
echo 'log file = /mnt/log/stack/ceph/$name.$pid.log' >> /etc/ceph/ceph.conf | ||
rbd --debug-ms=10 --debug-rbd=20 info client.0.1 | ||
- print: "**** done qemu task!" |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/supported/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/supported/centos_7.6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/centos_7.6.yaml |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/supported/rhel_7.6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/rhel_7.6.yaml |
1 change: 1 addition & 0 deletions
1
...uites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/supported/ubuntu_16.04.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/ubuntu_16.04.yaml |
1 change: 1 addition & 0 deletions
1
...uites/upgrade/client-upgrade-nautilus/nautilus-client-x/basic/supported/ubuntu_18.04.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/ubuntu_18.04.yaml |
Empty file.
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
Empty file.
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/0-cluster/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
4 changes: 4 additions & 0 deletions
4
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/0-cluster/openstack.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
openstack: | ||
- volumes: # attached to each instance | ||
count: 4 | ||
size: 30 # GB |
21 changes: 21 additions & 0 deletions
21
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/0-cluster/start.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
meta: | ||
- desc: | | ||
Insatll and run ceph on one node, | ||
with a separate client 1. | ||
Upgrade client 1 to nautilus | ||
Run tests against old cluster | ||
roles: | ||
- - mon.a | ||
- mon.b | ||
- mon.c | ||
- osd.0 | ||
- osd.1 | ||
- osd.2 | ||
- client.0 | ||
- mgr.x | ||
- - client.1 | ||
overrides: | ||
ceph: | ||
log-whitelist: | ||
- failed to encode map | ||
fs: xfs |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/1-install/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
11 changes: 11 additions & 0 deletions
11
...es/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/1-install/nautilus-client-x.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tasks: | ||
- install: | ||
branch: nautilus | ||
exclude_packages: ['ceph-mgr','libcephfs2','libcephfs-devel','libcephfs-dev','python34-cephfs','python34-rados'] | ||
- print: "**** done install nautilus" | ||
- install.upgrade: | ||
exclude_packages: ['ceph-test', 'ceph-test-dbg','libcephfs1'] | ||
client.1: | ||
- print: "**** done install.upgrade to -x on client.0" | ||
- ceph: | ||
- print: "**** done ceph task" |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/2-features/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
6 changes: 6 additions & 0 deletions
6
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/2-features/defaults.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
overrides: | ||
ceph: | ||
conf: | ||
client: | ||
rbd default features: 61 | ||
|
6 changes: 6 additions & 0 deletions
6
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/2-features/layering.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
overrides: | ||
ceph: | ||
conf: | ||
client: | ||
rbd default features: 1 | ||
|
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/3-workload/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
21 changes: 21 additions & 0 deletions
21
...rade/client-upgrade-nautilus/nautilus-client-x/rbd/3-workload/rbd_notification_tests.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
tasks: | ||
- workunit: | ||
branch: nautilus | ||
clients: | ||
client.0: | ||
- rbd/notify_master.sh | ||
client.1: | ||
- rbd/notify_slave.sh | ||
env: | ||
RBD_FEATURES: "61" | ||
- print: "**** done rbd: old librbd -> new librbd" | ||
- workunit: | ||
branch: nautilus | ||
clients: | ||
client.0: | ||
- rbd/notify_slave.sh | ||
client.1: | ||
- rbd/notify_master.sh | ||
env: | ||
RBD_FEATURES: "61" | ||
- print: "**** done rbd: new librbd -> old librbd" |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/supported/.qa
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../.qa/ |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/supported/centos_7.6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/centos_7.6.yaml |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/supported/rhel_7.6.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/rhel_7.6.yaml |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/supported/ubuntu_16.04.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/ubuntu_16.04.yaml |
1 change: 1 addition & 0 deletions
1
qa/suites/upgrade/client-upgrade-nautilus/nautilus-client-x/rbd/supported/ubuntu_18.04.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../../../distros/all/ubuntu_18.04.yaml |