Fw: nova compute rbd backend error

Nazan CENGİZ nazancengiz at havelsan.com.tr
Mon Jun 15 13:33:35 UTC 2020


Hi all,


 I've wanted to use ceph storage as a backend for nova, glance and cinder. I've succeded to use ceph for cinder and glance but I couldn't at nova.
I have saw this bug for "Stein" version --->  https://bugs.launchpad.net/nova/stein/+bug/1860990
After that, I've entered the nova-compute pod and I've run below commands;
apt install python-rbd
apt install python3-rbd
But it didn't work. I've gotten same error.
A solution must be on the K8s side. Do you have any of ideas about that?




Nova compute image;

[cid:3132c647-854a-4414-b04c-d40d6637cfc3]


error on below;
2020-06-15 12:32:23.008 21543 ERROR nova.compute.manager
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager [req-eb6c1020-ad0d-43a5-981f-24e55e9179aa - - - - -] Error updating resources for node telco1-srv-16.local.: RuntimeError: rbd python libraries not found
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager Traceback (most recent call last):
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/compute/manager.py", line 8256, in _update_available_resource_for_node
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager     startup=startup)
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/compute/resource_tracker.py", line 732, in update_available_resource
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager     resources = self.driver.get_available_resource(nodename)
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7084, in get_available_resource
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager     disk_info_dict = self._get_local_gb_info()
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 5787, in _get_local_gb_info
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager     info = LibvirtDriver._get_rbd_driver().get_pool_info()
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1216, in _get_rbd_driver
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager     rbd_user=CONF.libvirt.rbd_user)
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/storage/rbd_utils.py", line 128, in __init__
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager     raise RuntimeError(_('rbd python libraries not found'))
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager RuntimeError: rbd python libraries not found
2020-06-15 12:33:22.613 21543 ERROR nova.compute.manager
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager [req-eb6c1020-ad0d-43a5-981f-24e55e9179aa - - - - -] Error updating resources for node telco1-srv-16.local.: RuntimeError: rbd python libraries not found
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager Traceback (most recent call last):
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/compute/manager.py", line 8256, in _update_available_resource_for_node
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager     startup=startup)
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/compute/resource_tracker.py", line 732, in update_available_resource
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager     resources = self.driver.get_available_resource(nodename)
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7084, in get_available_resource
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager     disk_info_dict = self._get_local_gb_info()
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 5787, in _get_local_gb_info
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager     info = LibvirtDriver._get_rbd_driver().get_pool_info()
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1216, in _get_rbd_driver
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager     rbd_user=CONF.libvirt.rbd_user)
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager   File "/var/lib/openstack/lib/python3.6/site-packages/nova/virt/libvirt/storage/rbd_utils.py", line 128, in __init__
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager     raise RuntimeError(_('rbd python libraries not found'))
2020-06-15 12:34:23.617 21543 ERROR nova.compute.manager RuntimeError: rbd python libraries not found



Best Regards,

Nazan







[cid:image4763ee.PNG at d240faa6.4b9655fd]<http://www.havelsan.com.tr>     [cid:image45b538.JPG at 2072701f.4b8339d1]
Nazan CENGİZ
AR-GE MÜHENDİSİ
Mustafa Kemal Mahallesi 2120 Cad. No:39 06510 Çankaya Ankara TÜRKİYE
[cid:image017c27.PNG at 7ce32167.47807fdd] +90 312 219 57 87       [cid:imageaa7743.PNG at b943cc09.408efb9f]         +90 312 219 57 97


[cid:image93ea67.JPG at ef2fa35c.47b1497f]
YASAL UYARI: Bu elektronik posta işbu linki kullanarak ulaşabileceğiniz Koşul ve Şartlar dokümanına tabidir. <https://havelsan.com.tr/sabit-sayfalar/eposta-yasal-uyari>
LEGAL NOTICE: This e-mail is subject to the Terms and Conditions document which can be accessed with this link. <https://havelsan.com.tr/sabit-sayfalar/eposta-yasal-uyari>

Lütfen gerekmedikçe bu sayfa ve eklerini yazdırmayınız / Please consider the environment before printing this email


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200615/fd2a9735/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 30332 bytes
Desc: pastedImage.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200615/fd2a9735/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image4763ee.PNG
Type: image/png
Size: 4676 bytes
Desc: image4763ee.PNG
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200615/fd2a9735/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image45b538.JPG
Type: image/jpeg
Size: 305 bytes
Desc: image45b538.JPG
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200615/fd2a9735/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image017c27.PNG
Type: image/png
Size: 360 bytes
Desc: image017c27.PNG
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200615/fd2a9735/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageaa7743.PNG
Type: image/png
Size: 313 bytes
Desc: imageaa7743.PNG
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200615/fd2a9735/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image93ea67.JPG
Type: image/jpeg
Size: 28166 bytes
Desc: image93ea67.JPG
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200615/fd2a9735/attachment-0003.jpe>


More information about the openstack-discuss mailing list