For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error While Applying Cinder Role to Rocky Linux Hosts

Problem

While applying cinder role to the Rocky Linux based hosts, seeing below erorrs in cinder logs:

2024-02-09 09:17:08.812 INFO cinder.volume.manager [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Starting volume driver RBDDriver (1.2.0)
2024-02-09 09:17:08.812 ERROR cinder.volume.manager [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Failed to initialize driver.: cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: rados and rbd python libraries not found
2024-02-09 09:17:08.812 TRACE cinder.volume.manager Traceback (most recent call last):
2024-02-09 09:17:08.812 TRACE cinder.volume.manager   File "/opt/pf9/pf9-cindervolume-base/lib/python3.9/site-packages/cinder/volume/manager.py", line 469, in _init_host
2024-02-09 09:17:08.812 TRACE cinder.volume.manager     self.driver.check_for_setup_error()
2024-02-09 09:17:08.812 TRACE cinder.volume.manager   File "/opt/pf9/pf9-cindervolume-base/lib/python3.9/site-packages/cinder/volume/drivers/rbd.py", line 342, in check_for_setup_error
2024-02-09 09:17:08.812 TRACE cinder.volume.manager     raise exception.VolumeBackendAPIException(data=msg)
2024-02-09 09:17:08.812 TRACE cinder.volume.manager cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: rados and rbd python libraries not found
2024-02-09 09:17:08.812 TRACE cinder.volume.manager
2024-02-09 09:17:09.816 INFO cinder.volume.manager [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Starting volume driver RBDDriver (1.2.0)
2024-02-09 09:17:09.817 ERROR cinder.volume.manager [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Failed to initialize driver.: cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: rados and rbd python libraries not found
2024-02-09 09:17:09.817 TRACE cinder.volume.manager Traceback (most recent call last):
2024-02-09 09:17:09.817 TRACE cinder.volume.manager   File "/opt/pf9/pf9-cindervolume-base/lib/python3.9/site-packages/cinder/volume/manager.py", line 469, in _init_host
2024-02-09 09:17:09.817 TRACE cinder.volume.manager     self.driver.check_for_setup_error()
2024-02-09 09:17:09.817 TRACE cinder.volume.manager   File "/opt/pf9/pf9-cindervolume-base/lib/python3.9/site-packages/cinder/volume/drivers/rbd.py", line 342, in check_for_setup_error
2024-02-09 09:17:09.817 TRACE cinder.volume.manager     raise exception.VolumeBackendAPIException(data=msg)
2024-02-09 09:17:09.817 TRACE cinder.volume.manager cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: rados and rbd python libraries not found
...
2024-02-09 09:17:11.821 TRACE cinder.volume.manager
2024-02-09 09:17:15.825 INFO cinder.volume.manager [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Starting volume driver RBDDriver (1.2.0)
2024-02-09 09:17:15.826 ERROR cinder.volume.manager [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Failed to initialize driver.: cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: rados and rbd python libraries not found
2024-02-09 09:17:15.826 TRACE cinder.volume.manager Traceback (most recent call last):
2024-02-09 09:17:15.826 TRACE cinder.volume.manager   File "/opt/pf9/pf9-cindervolume-base/lib/python3.9/site-packages/cinder/volume/manager.py", line 469, in _init_host
2024-02-09 09:17:15.826 TRACE cinder.volume.manager     self.driver.check_for_setup_error()
2024-02-09 09:17:15.826 TRACE cinder.volume.manager   File "/opt/pf9/pf9-cindervolume-base/lib/python3.9/site-packages/cinder/volume/drivers/rbd.py", line 342, in check_for_setup_error
2024-02-09 09:17:15.826 TRACE cinder.volume.manager     raise exception.VolumeBackendAPIException(data=msg)
2024-02-09 09:17:15.826 TRACE cinder.volume.manager cinder.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: rados and rbd python libraries not found
2024-02-09 09:17:15.826 TRACE cinder.volume.manager
2024-02-09 09:17:18.373 INFO cinder.volume.manager [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Initializing RPC dependent components of volume driver RBDDriver (1.2.0)
2024-02-09 09:17:18.374 ERROR cinder.utils [req-34270f99-fbeb-4e11-9fd4-0e49162c578b None None] Volume driver RBDDriver not initialized

Environment

  • Platform9 Managed OpenStack - v5.8 and Higher.

Answer

The RockyLinux-9.4 is having the supported libraries rados and rbd python libraries.

Additional Information

Impact on RockyLinux-9.1,9.2, 9.3.

Last updated