Folks,
It's not the first time I think, but after a patch of ceph OSDs, in this case 20.2.4 => 20.2.5, we can issue a bulk restart OSDs with these options : "all nodes" (fine !), and "only outdated OSD versions" (perfect).
The first node achieves the restart of all its OSDs, then come the second... and stop with an error :
Can this task just wait for ceph to fix the degraded PGs before continuing ? All OSD restart can wait up to 10 minutes for a restarting OSD, but between hosts, health check appears to be issued immediately, and fails also immediately.
Regards.
It's not the first time I think, but after a patch of ceph OSDs, in this case 20.2.4 => 20.2.5, we can issue a bulk restart OSDs with these options : "all nodes" (fine !), and "only outdated OSD versions" (perfect).
The first node achieves the restart of all its OSDs, then come the second... and stop with an error :
Code:
Header
Proxmox
Virtual Environment 9.3.1
Node 'sbadm1'
No OSD selected
Logs
()
unexpected remainder after section - skip: rgw_frontends = beast endpoint=[fd00:6368:6c00:0017::1]:7480
planned cluster-wide rolling restart of outdated OSDs (per-node):
[1/3] sbarc2 (18 outdated OSDs)
[2/3] sbpin1 (18 outdated OSDs)
[3/3] sbpin2 (18 outdated OSDs)
[1/3] starting per-node OSD bulk-restart on sbarc2 (18 outdated OSDs)
[1/3] sub-task UPID: UPID:sbarc2:001912C6:08409A52:6B080C0C:srvrestart:sbarc2-osd:mp081083@KC:
[1/3] finished on sbarc2: rolling restart of 'osd' daemons on node 'sbarc2' finished
[2/3] waiting for recovery to allow restart on sbpin1 (probing osd.30, up to 600s)
[2/3] recovery quiesced: safe
[2/3] starting per-node OSD bulk-restart on sbpin1 (18 outdated OSDs)
[2/3] sub-task UPID: UPID:sbpin1:0014ADD3:047943CC:6B080E06:srvrestart:sbpin1-osd:mp081083@KC:
TASK ERROR: remote task UPID:sbpin1:0014ADD3:047943CC:6B080E06:srvrestart:sbpin1-osd:mp081083@KC: on sbpin1 ended with status 'stopped' exit 'Ceph cluster has blocking HEALTH_WARN issues, refusing rolling restart of 'osd' daemons (pass force=1 to override): - PG_DEGRADED: Degraded data redundancy: 2006/549363 objects degraded (0.365%), 168 pgs degraded'
Can this task just wait for ceph to fix the degraded PGs before continuing ? All OSD restart can wait up to 10 minutes for a restarting OSD, but between hosts, health check appears to be issued immediately, and fails also immediately.
Regards.