Skip to content

Commit 546d523

Browse files
author
Laura Flores
committed
doc/rados/operations: add kernel client procedure to read balancer documentation
As of now, the kernel client does not support `pg-upmap-primary`. I have added some troubleshooting steps to help users who are unable to mount images and filesystems with the kernel client while using `pg-upmap-primary`. Once the feature is supported by the kernel client, users will be able to perform mounts along with `pg-upmap-primary`. Fixes: https://tracker.ceph.com/issues/72897 Signed-off-by: Laura Flores <[email protected]>
1 parent 7b9d5c2 commit 546d523

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

doc/rados/operations/read-balancer.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,44 @@ If you need to clear **all** ``pg-upmap-primary`` mappings in your cluster, you
130130
.. prompt:: bash $
131131

132132
ceph osd rm-pg-upmap-primary-all
133+
134+
Unable to Use Kernel Client
135+
---------------------------
136+
137+
If you are unable to use the kernel client to map RBD images or mount a filesystem while
138+
``pg-upmap-primary`` mappings are in your cluster, this is because ``pg-upmap-primary``
139+
is not yet supported by the kernel client (as of 2025-09-08).
140+
141+
Follow these steps to confirm this scenario:
142+
143+
1. Confirm that your cluster contains ``pg-upmap-primary`` mappings:
144+
145+
.. prompt:: bash $
146+
147+
ceph osd dump | grep "pg_upmap_primary"
148+
149+
2. Check for this error message in the kernel log:
150+
151+
.. code-block:: console
152+
153+
$ dmesg | tail
154+
155+
[73393.901029] libceph: mon2 (1)10.64.24.186:6789 feature set mismatch, my 2f018fb87aa4aafe < server's 2f018fb8faa4aafe, missing 80000000
156+
[73393.901037] libceph: mon2 (1)10.64.24.186:6789 missing required protocol features
157+
158+
Those details confirm that the cluster is using features that the kernel client doesn't support.
159+
Until the kernel client supports ``pg-upmap-primary``, you must remove the mappings to successfully
160+
perform mounts. You may do so with the following commands:
161+
162+
1. If using the balancer module, change the mode back to one that does not use ``pg-upmap-primary``.
163+
This prevents additional mappings from being made:
164+
165+
.. prompt:: bash $
166+
167+
ceph balancer mode upmap
168+
169+
2. Remove all ``pg-upmap-primary`` mappings:
170+
171+
.. prompt:: bash $
172+
173+
ceph osd rm-pg-upmap-primary-all

0 commit comments

Comments
 (0)