Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CephOSDDiskUnavailable runbook #57

Merged
merged 1 commit into from
May 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion docs/modules/ROOT/pages/runbooks/CephOSDDiskUnavailable.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,30 @@ This alert fires if an OSD has been removed from the cluster with `ceph osd out`

== icon:bug[] Steps for debugging

// Add detailed steps to debug and resolve the issue
https://rook.github.io/docs/rook/v1.7/ceph-osd-mgmt.html#remove-an-osd[Official documentation]

Check if the osd is still shown in `osd tree`.
----
$ ceph osd tree
ID CLASS WEIGHT TYPE NAME STATUS REWEIGHT PRI-AFF
-1 1.95319 root default
-5 0 host cluster-data-0zqs7m
-7 0.48830 host cluster-data-18cmn4
1 hdd 0.48830 osd.1 up 1.00000 1.00000
-3 0.48830 host cluster-data-2twz6w
2 hdd 0.48830 osd.2 up 1.00000 1.00000
-9 0.48830 host cluster-data-3wxznf
3 hdd 0.48830 osd.3 up 1.00000 1.00000
-11 0.48830 host cluster-data-4z5nv6
4 hdd 0.48830 osd.4 up 1.00000 1.00000
----

In the output above `cluster-data-0zqs7m` is still shown.

You can check the crush map and find that `cluster-data-0zqs7m` is also reported.

Delete it from the crush map.
----
$ ceph osd crush remove cluster-data-0zqs7m
----