openstack-ansible rbd python libraries not found

asked 2017-01-09 01:25:21 -0500

seitan gravatar image

Hello, I'm deploying openstack via openstack-ansible. Install went okay, - I've got a working openstack cluster. After that i've decided to make some changes - after rerunning playbooks, I'm getting errors in nova compute nodes:

2017-01-09 09:15:37.668 23007 ERROR nova.compute.manager [req-4dbdf38f-2786-48cd-a866-18e7f85ac88b - - - - -] No compute node record for host ostack-ibm2
2017-01-09 09:15:37.671 23007 INFO nova.compute.resource_tracker [req-4dbdf38f-2786-48cd-a866-18e7f85ac88b - - - - -] Auditing locally available compute resources for node ostack-ibm2.mgmt.domain.com
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager [req-4dbdf38f-2786-48cd-a866-18e7f85ac88b - - - - -] Error updating resources for node ostack-ibm2.mgmt.domain.com.
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager Traceback (most recent call last):
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager   File "/openstack/venvs/nova-14.0.3/lib/python2.7/site-packages/nova/compute/manager.py", line 6415, in update_available_resource_for_node
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager     rt.update_available_resource(context)
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager   File "/openstack/venvs/nova-14.0.3/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 511, in update_available_resource
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager     resources = self.driver.get_available_resource(self.nodename)
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager   File "/openstack/venvs/nova-14.0.3/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 5280, in get_available_resource
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager     disk_info_dict = self._get_local_gb_info()
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager   File "/openstack/venvs/nova-14.0.3/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4916, in _get_local_gb_info
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager     info = LibvirtDriver._get_rbd_driver().get_pool_info()
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager   File "/openstack/venvs/nova-14.0.3/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 994, in _get_rbd_driver
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager     rbd_user=CONF.libvirt.rbd_user)
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager   File "/openstack/venvs/nova-14.0.3/lib/python2.7/site-packages/nova/virt/libvirt/storage/rbd_utils.py", line 130, in __init__
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager     raise RuntimeError(_('rbd python libraries not found'))
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager RuntimeError: rbd python libraries not found
2017-01-09 09:15:37.672 23007 ERROR nova.compute.manager

I'm using openstack-ansible 14.0.3. Has anyone had the same problem? Thank you.

edit retag flag offensive close merge delete

Comments

I've updated system via openstack-ansible 14.0.5, yet problem persists, all nova-compute nodes spam logs with 'rbd python libraries not found' error.

seitan gravatar imageseitan ( 2017-01-12 04:11:22 -0500 )edit