-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automation of - BZ#2305677-Ceph mgr crashed after a mgr failover with…
… the message mgr operator() Failed to run module in active mode Signed-off-by: Srinivasa Bharath Kanta <skanta@redhat.com>
- Loading branch information
1 parent
a3553f2
commit 3839bd4
Showing
4 changed files
with
470 additions
and
2 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
146 changes: 146 additions & 0 deletions
146
suites/reef/rados/tier-2_rados_test-drain-customer-issue.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,146 @@ | ||
# Suite contains tier-2 rados bug verification automation | ||
#=============================================================================================== | ||
#------------------------------------------------------------------------------------------ | ||
#----- Tier-2 - Bug verification automation ------ | ||
#------------------------------------------------------------------------------------------ | ||
# Conf: conf/reef/rados/11-node-cluster.yaml | ||
# Bugs: | ||
# 1. https://bugzilla.redhat.com/show_bug.cgi?id=2305677 | ||
#=============================================================================================== | ||
tests: | ||
- test: | ||
name: setup install pre-requisistes | ||
desc: Setup phase to deploy the required pre-requisites for running the tests. | ||
module: install_prereq.py | ||
abort-on-fail: true | ||
|
||
- test: | ||
name: cluster deployment | ||
desc: Execute the cluster deployment workflow. | ||
module: test_cephadm.py | ||
polarion-id: | ||
config: | ||
verify_cluster_health: true | ||
steps: | ||
- config: | ||
command: bootstrap | ||
service: cephadm | ||
args: | ||
rhcs-version: 7.1 | ||
release: z0 | ||
mon-ip: node1 | ||
orphan-initial-daemons: true | ||
skip-monitoring-stack: true | ||
- config: | ||
command: add_hosts | ||
service: host | ||
args: | ||
attach_ip_address: true | ||
labels: apply-all-labels | ||
- config: | ||
command: apply | ||
service: mgr | ||
args: | ||
placement: | ||
label: mgr | ||
- config: | ||
command: apply | ||
service: mon | ||
args: | ||
placement: | ||
label: mon | ||
- config: | ||
command: apply | ||
service: osd | ||
args: | ||
all-available-devices: true | ||
- config: | ||
command: shell | ||
args: # arguments to ceph orch | ||
- ceph | ||
- fs | ||
- volume | ||
- create | ||
- cephfs | ||
- config: | ||
command: apply | ||
service: rgw | ||
pos_args: | ||
- rgw.1 | ||
args: | ||
placement: | ||
label: rgw | ||
- config: | ||
command: apply | ||
service: mds | ||
base_cmd_args: # arguments to ceph orch | ||
verbose: true | ||
pos_args: | ||
- cephfs # name of the filesystem | ||
args: | ||
placement: | ||
nodes: | ||
- node2 | ||
- node6 | ||
limit: 2 # no of daemons | ||
sep: " " # separator to be used for placements | ||
destroy-cluster: false | ||
abort-on-fail: true | ||
|
||
- test: | ||
name: Configure client admin | ||
desc: Configures client admin node on cluster | ||
module: test_client.py | ||
polarion-id: | ||
config: | ||
command: add | ||
id: client.1 # client Id (<type>.<Id>) | ||
node: node7 # client node | ||
install_packages: | ||
- ceph-common | ||
copy_admin_keyring: true # Copy admin keyring to node | ||
caps: # authorize client capabilities | ||
mon: "allow *" | ||
osd: "allow *" | ||
mds: "allow *" | ||
mgr: "allow *" | ||
|
||
- test: | ||
name: Enable logging to file | ||
module: rados_prep.py | ||
config: | ||
log_to_file: true | ||
desc: Change config options to enable logging to file | ||
- test: | ||
name: Reproducing the Ceph mgr crash bug | ||
module: test_node_drain_customer_bug.py | ||
polarion-id: CEPH-83595932 | ||
config: | ||
replicated_pool: | ||
create: true | ||
pool_name: mgr_test_pool | ||
delete_pool: mgr_test_pool | ||
desc: Reproducing the Ceph mgr crashed after a mgr failover | ||
- test: | ||
name: Upgrade cluster to latest 7.x ceph version | ||
desc: Upgrade cluster to latest version | ||
module: test_cephadm_upgrade.py | ||
polarion-id: CEPH-83573791,CEPH-83573790 | ||
config: | ||
command: start | ||
service: upgrade | ||
base_cmd_args: | ||
verbose: true | ||
verify_cluster_health: true | ||
destroy-cluster: false | ||
abort-on-fail: true | ||
- test: | ||
name: Verification of Ceph mgr crash bug | ||
module: test_node_drain_customer_bug.py | ||
polarion-id: CEPH-83595932 | ||
config: | ||
replicated_pool: | ||
create: true | ||
pool_name: mgr_test_pool | ||
delete_pool: mgr_test_pool | ||
desc: Ceph mgr crashed after a mgr failover with the message mgr operator |
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
Oops, something went wrong.