Skip to content

Commit

Permalink
qa/suites: fs volume rename cephadm tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ramana Raja <rraja@redhat.com>
  • Loading branch information
ajarr committed Jan 13, 2022
1 parent 7069762 commit 0043a9e
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 0 deletions.
Empty file.
1 change: 1 addition & 0 deletions qa/suites/fs/cephadm/renamevolume/.qa
38 changes: 38 additions & 0 deletions qa/suites/fs/cephadm/renamevolume/0-start.yaml
@@ -0,0 +1,38 @@
roles:
- - host.a
- osd.0
- osd.1
- osd.2
- osd.3
- client.0
- - host.b
- osd.4
- osd.5
- osd.6
- osd.7
- client.1
openstack:
- volumes: # attached to each instance
count: 4
size: 10 # GB
overrides:
ceph:
conf:
osd:
osd shutdown pgref assert: true
tasks:
- install:
- cephadm:
roleless: true
- cephadm.shell:
host.a:
- ceph orch status
- ceph orch ps
- ceph orch ls
- ceph orch host ls
- ceph orch device ls
- cephadm.shell:
host.a:
- ceph fs volume create foo
- fs.ready:
timeout: 300
11 changes: 11 additions & 0 deletions qa/suites/fs/cephadm/renamevolume/1-rename.yaml
@@ -0,0 +1,11 @@
tasks:
- cephadm.shell:
host.a:
- ceph fs volume rename foo bar --yes-i-really-mean-it
- fs.ready:
timeout: 300
- cephadm.shell:
host.a:
- |
set -ex
ceph orch ls mds --format=json | jq ".[] | .service_name" | grep "mds.bar"
1 change: 1 addition & 0 deletions qa/suites/fs/cephadm/renamevolume/distro/.qa
1 change: 1 addition & 0 deletions qa/suites/fs/cephadm/renamevolume/overrides/.qa

0 comments on commit 0043a9e

Please sign in to comment.