]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Replace Python 2 package names with Python 3 equivalents 69356/head
authorEmmanuel Ameh <eameh@contractor.linuxfoundation.org>
Tue, 9 Jun 2026 12:19:27 +0000 (13:19 +0100)
committerEmmanuel Ameh <eameh@contractor.linuxfoundation.org>
Wed, 17 Jun 2026 13:16:31 +0000 (14:16 +0100)
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 <eameh@contractor.linuxfoundation.org>
doc/rados/api/librados-intro.rst
doc/rbd/rbd-openstack.rst

index 4365482c01cf4c98696ecd7c47683c99d2999642..42d2dd62dfe45bb4daca59ba499be47357ed108d 100644 (file)
@@ -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:
index 7d64b3548b99769204cb270ba64cfdfbe59d86eb..e9a62c2a988e72731e72bc4775ac554d748a35f1 100644 (file)
@@ -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::