Commit 821b4e64 authored by Christian Mohrbacher's avatar Christian Mohrbacher

Merge branch 'mgmtd-safe-restart-test-v6' into 'v6'

Mgmtd safe restart test v6

See merge request !154
parents 4ff6bb00 0fc597f0
on node do
shell "xargs sudo kill < #{node.properties["mgmtd"]["config"]["pidFile"]}"
sleep 10
# Both the primary storage and metadata target should have ID 1
shell 'grep "\[Target ID: 1\].\+Probably-offline" /proc/fs/beegfs/*/meta_target_state'
shell 'grep "\[Target ID: 1\].\+Probably-offline" /proc/fs/beegfs/*/storage_target_state'
end
# vim:ft=ruby
desc:
"Checks that all nodes are set to POffline before the mgmtd shuts down
when mirror groups exist."
hosts:
node:
- mgmtd
- meta:
id: 1
- meta:
id: 2
- storage:
target_ids: [1, 2]
- helperd
- client
mirroring:
meta_groups:
- id: 1
primary: 1
secondary: 2
storage_groups:
- id: 1
primary: 1
secondary: 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment