On 14.07.2022 11:01, Steven Goodliff wrote:
If i get anywhere with
detecting the instance is the active manager handling that in Ansible
i will reply back here.
I use this
- command: ceph mgr stat
register: r
- debug: msg={{ (r.stdout | from_json).active_name.split(".")[0] }}
.
Cheers
Steven Goodliff
From: Robert Gallop
Sent: 13 July 2022 16:55
To: Adam King
Cc: Steven Goodliff; ceph-users@ceph.io
Subject: Re: [ceph-users] Re: cephadm host maintenance
This brings up a good follow on…. Rebooting in general for OS patching.
I have not
This brings up a good follow on…. Rebooting in general for OS patching.
I have not been leveraging the maintenance mode function, as I found it was
really no different than just setting noout and doing the reboot. I find
if the box is the active manager the failover happens quick, painless and
au
Hello Steven,
Arguably, it should, but right now nothing is implemented to do so and
you'd have to manually run the "ceph mgr fail
node2-cobj2-atdev1-nvan.ghxlvw" before it would allow you to put the host
in maintenance. It's non-trivial from a technical point of view to have it
automatically do t