]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/behave_tests/features/ceph_shell_test.feature
import quincy beta 17.1.0
[ceph.git] / ceph / src / test / behave_tests / features / ceph_shell_test.feature
1 @ceph_shell
2 Feature: Testing basic ceph shell commands
3 In order to be able to provide storage services
4 As an system administrator
5 I want to install a Ceph cluster in the following server infrastructure:
6 - 3 nodes with 8Gb RAM, 4 CPUs, and 3 storage devices of 20Gb each.
7 - Using Fedora32 image in each node
8
9
10 Scenario: Execute ceph command to check status
11 Given I log as root into ceph-node-00
12 When I execute in cephadm_shell
13 """
14 ceph orch status
15 """
16 Then I get results which contain
17 """
18 Backend: cephadm
19 Available: Yes
20 Paused: No
21 """
22
23
24 Scenario: Execute ceph command to check orch host list
25 Given I log as root into ceph-node-00
26 When I execute in cephadm_shell
27 """
28 ceph orch host ls
29 """
30 Then I get results which contain
31 """
32 HOST LABELS
33 ceph-node-00.cephlab.com _admin
34 """
35
36
37 Scenario: Execute ceph command to check orch device list
38 Given I log as root into ceph-node-00
39 When I execute in cephadm_shell
40 """
41 ceph orch device ls
42 """
43 Then I get results which contain
44 """
45 Hostname Path Type
46 ceph-node-00.cephlab.com /dev/vdb hdd
47 ceph-node-00.cephlab.com /dev/vdc hdd
48 """
49
50
51 Scenario: Execute ceph command to check orch
52 Given I log as root into ceph-node-00
53 When I execute in cephadm_shell
54 """
55 ceph orch ls
56 """
57 Then I wait for 60 seconds until I get
58 """
59 NAME RUNNING
60 grafana 1/1
61 mgr 2/2
62 mon 1/5
63 prometheus 1/1
64 """