Bug #17023
closedOSD failed to subscribe skipped osdmaps after "ceph osd pause"
0%
Description
per Wido's comment in #16982-7,
I tried adding new OSDs to the cluster and they also have to catch up, which never happens until I restart them over and over.
osd.136 in this case is a fresh OSD. You can see it jumps with 1.000 maps (osd_map_message_max), but then just waits.
I restart the osd, it goes 1k maps forward and waits. I restart, etc, etc.
and the root cause is analyzed at #16982-11.
in short, the problem here, due to "ceph osd pause", the subscription sent by objecter always gets in the way of OSD, so the latter cannot subscribe for the older osdmap to catch up with the cluster.
so a workaround is to not "ceph osd pause".
Files
Updated by Kefu Chai over 7 years ago
- Copied from Bug #16982: OSD crash after upgrade to Jewel: give useful error when trying to commit 4000 maps to a 100MB journal added
Updated by Wido den Hollander over 7 years ago
To clarify why we did the 'osd pause'.
The upgrade from Hammer -> Jewel didn't go very well. We had machines go OOM, CPU 100% busy and even a disk failing under the pressure.
We want to be back up and running asap, but data integrity was even more important. I set the pause flag to prevent any changes to the data so that the cluster could make all PGs active again before I thought it was safe to continue.
Updated by Kefu Chai over 7 years ago
- Status changed from New to Fix Under Review
Updated by Kefu Chai over 7 years ago
- Status changed from Fix Under Review to Resolved
Updated by Kefu Chai over 7 years ago
- Status changed from Resolved to Pending Backport
Updated by Loïc Dachary over 7 years ago
- Tags deleted (
jewel) - Backport set to jewel
Updated by Loïc Dachary over 7 years ago
- Copied to Backport #17089: jewel: OSD failed to subscribe skipped osdmaps after "ceph osd pause" added
Updated by Loïc Dachary over 7 years ago
- Copied from deleted (Bug #16982: OSD crash after upgrade to Jewel: give useful error when trying to commit 4000 maps to a 100MB journal)
Updated by Loïc Dachary over 7 years ago
- Related to Bug #16982: OSD crash after upgrade to Jewel: give useful error when trying to commit 4000 maps to a 100MB journal added
Updated by Loïc Dachary over 7 years ago
- Status changed from Pending Backport to Resolved