instance goes in error state with python error "RuntimeError(_(\'rbd python libraries not found\)"

Solution Verified - Updated -

Issue

  • Instance is goes error state which below error
| fault                                | {u'message': u'rbd python libraries not found', u'code': 500, u'details': u'  File "/usr/lib/python2.7/site-                  |
|                                      | packages/nova/compute/manager.py", line 204, in decorated_function\n    return function(self, context, *args, **kwargs)\n     |
|                                      | File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2992, in reboot_instance\n                              |
|                                      | self._set_instance_obj_error_state(context, instance)\n  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line |
|                                      | 220, in __exit__\n    self.force_reraise()\n  File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in    |
|                                      | force_reraise\n    six.reraise(self.type_, self.value, self.tb)\n  File "/usr/lib/python2.7/site-                             |
|                                      | packages/nova/compute/manager.py", line 2973, in reboot_instance\n    bad_volumes_callback=bad_volumes_callback)\n  File      |
|                                      | "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2322, in reboot\n    block_device_info)\n  File          |
|                                      | "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2409, in _hard_reboot\n                                  |
|                                      | block_device_info=block_device_info)\n  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4863, in    |
|                                      | _get_guest_xml\n    context)\n  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4690, in            |
|                                      | _get_guest_config\n    flavor, guest.os_type)\n  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line    |
|                                      | 3647, in _get_guest_storage_config\n    inst_type)\n  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py",    |
|                                      | line 3547, in _get_guest_disk_config\n    image_type)\n  File "/usr/lib/python2.7/site-                                       |
|                                      | packages/nova/virt/libvirt/imagebackend.py", line 1126, in image\n    return backend(instance=instance,                       |
|                                      | disk_name=disk_name)\n  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py", line 801, in __init__\n    |
|                                      | rbd_user=self.rbd_user)\n  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/storage/rbd_utils.py", line 130, in       |
|                                      | __init__\n    raise RuntimeError(_(\'rbd python libraries not found\'))\n', u'created': u'2019-11-11T13:59:11Z'}              |

Environment

  • Red Hat OpenStack Platform 10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In