From b9b725cab162c093109212b50a35b675a3c867a1 Mon Sep 17 00:00:00 2001 From: Emmanuel Ameh Date: Tue, 9 Jun 2026 13:19:27 +0100 Subject: [PATCH] doc: Replace Python 2 package names with Python 3 equivalents librados-intro.rst referenced ``python-rados`` for CentOS/RHEL. rbd-openstack.rst referenced ``python-rbd`` for both apt and yum. Python 2 reached end-of-life in January 2020; these package names install the Python 2 bindings (or fail entirely) on current distros. Replace with the correct Python 3 package names: python3-rados and python3-rbd. Fixes: https://tracker.ceph.com/issues/77200 Signed-off-by: Emmanuel Ameh --- doc/rados/api/librados-intro.rst | 5 ++--- doc/rbd/rbd-openstack.rst | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/rados/api/librados-intro.rst b/doc/rados/api/librados-intro.rst index 4365482c01c..42d2dd62dfe 100644 --- a/doc/rados/api/librados-intro.rst +++ b/doc/rados/api/librados-intro.rst @@ -70,8 +70,7 @@ Getting librados for Python --------------------------- The ``rados`` module provides ``librados`` support to Python -applications. You may install ``python3-rados`` for Debian, Ubuntu, SLE or -openSUSE or the ``python-rados`` package for CentOS/RHEL. +applications. You may install the ``python3-rados`` package. To install ``librados`` development support files for Python on Debian/Ubuntu distributions, execute the following: @@ -85,7 +84,7 @@ distributions, execute the following: .. prompt:: bash $ - sudo yum install python-rados + sudo yum install python3-rados To install ``librados`` development support files for Python on SLE/openSUSE distributions, execute the following: diff --git a/doc/rbd/rbd-openstack.rst b/doc/rbd/rbd-openstack.rst index 7d64b3548b9..e9a62c2a988 100644 --- a/doc/rbd/rbd-openstack.rst +++ b/doc/rbd/rbd-openstack.rst @@ -117,8 +117,8 @@ Install Ceph client packages On the ``glance-api`` node, you will need the Python bindings for ``librbd``:: - sudo apt-get install python-rbd - sudo yum install python-rbd + sudo apt-get install python3-rbd + sudo yum install python3-rbd On the ``nova-compute``, ``cinder-backup`` and on the ``cinder-volume`` node, use both the Python bindings and the client command line tools:: -- 2.47.3