1 ##############################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
3 # Copyright (c) 2019 Nokia. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you maynot use this file except in compliance with the License. #
8 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ##############################################################################
20 Resource ceph_service.resource
21 Suite Setup Open Connection And Log In
22 Suite Teardown Close All Connections
26 Failure Of Single Monitor And Manager
27 @{nodes} Create list ${NODENAME}-1
28 Kill Ceph Monitor @{nodes}
29 Kill Ceph Manager @{nodes}
31 Ceph Health Should Be Degraded
32 Start Ceph Monitor @{nodes}
33 Start Ceph Manager @{nodes}
35 Ceph Should Be Healthy
37 Failure Of Two Monitors And Managers
38 @{nodes} Create list ${NODENAME}-1 ${NODENAME}-2
39 Kill Ceph Monitor @{nodes}
40 Kill Ceph Manager @{nodes}
42 Start Ceph Monitor @{nodes}
43 Start Ceph Manager @{nodes}
45 Ceph Should Be Healthy