<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Chris,</p>
<p>That bug suggests there has been a fix in 12.0.8. Hopefully
12.0.16 should have that fixed still with a bit of luck , unless
the fix hasn't been carried over.</p>
<p>I can see that the bug report says there is also a fix 12.0.9 and
12.0.11. <br>
</p>
<p>Do you know if there is a workaround we can try for this? As
ideally I don't want to be downgrading the openstack_ansible
version.</p>
<p>Regards,<br>
</p>
<br>
<div class="moz-cite-prefix">On 21/10/16 14:09, Chris Sarginson
wrote:<br>
</div>
<blockquote
cite="mid:CAC5gUHmtHGvAsOQrVNUTbhctg=Sy5OE=r9ew0KeohArcC5wUTg@mail.gmail.com"
type="cite">
<div dir="ltr">It seems like it may be an occurrence of this bug,
as you look to be using python venvs:
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://bugs.launchpad.net/openstack-ansible/+bug/1509837">https://bugs.launchpad.net/openstack-ansible/+bug/1509837</a></div>
<div><br>
</div>
<div><span
style="color:rgb(33,33,33);font-family:"helvetica
neue",helvetica,arial,sans-serif">2016-10-21
12:08:06.242 70661 ERROR nova.compute.manager [instance:
5633d98e-5f79-4c13-8d45-</span><span
style="color:rgb(33,33,33);font-family:"helvetica
neue",helvetica,arial,sans-serif">7544069f0e6f] File
"<b>/openstack/venvs/</b>nova-12.0.</span><span
style="color:rgb(33,33,33);font-family:"helvetica
neue",helvetica,arial,sans-serif">16/lib/python2.7/site-</span><span
style="color:rgb(33,33,33);font-family:"helvetica
neue",helvetica,arial,sans-serif">packages/nova/virt/libvirt/</span><span
style="color:rgb(33,33,33);font-family:"helvetica
neue",helvetica,arial,sans-serif">storage/rbd_utils.py",
line 117, in __init__</span> </div>
<div><br>
</div>
<div>Chris <br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, 21 Oct 2016 at 13:19 Grant Morley <<a
moz-do-not-send="true" href="mailto:grant@absolutedevops.io">grant@absolutedevops.io</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF" class="gmail_msg">
<p class="gmail_msg">Hi all,</p>
<p class="gmail_msg">We have a openstack-ansible setup and
have ceph installed for the backend. However whenever we
try and launch a new instance it fails to launch and we
get the following error:</p>
<p class="gmail_msg">2016-10-21 12:08:06.241 70661 INFO
nova.virt.libvirt.driver
[req-79811c40-8394-4e33-b16d-ff5fa7341b6a
41c60f65ae914681b6a6ca27a42ff780
324844c815084205995aff10b03a85e1 - - -] [instance:
5633d98e-5f79-4c13-8d45-7544069f0e6f] Creating image<br
class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[req-79811c40-8394-4e33-b16d-ff5fa7341b6a
41c60f65ae914681b6a6ca27a42ff780
324844c815084205995aff10b03a85e1 - - -] [instance:
5633d98e-5f79-4c13-8d45-7544069f0e6f] Instance failed to
spawn<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] Traceback
(most recent call last):<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/compute/manager.py",
line 2156, in _build_resources<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] yield
resources<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/compute/manager.py",
line 2009, in _build_and_run_instance<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f]
block_device_info=block_device_info)<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/virt/libvirt/driver.py",
line 2527, in spawn<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f]
admin_pass=admin_password)<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/virt/libvirt/driver.py",
line 2939, in _create_image<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f]
backend = image('disk')<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/virt/libvirt/driver.py",
line 2884, in image<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] fname
+ suffix, image_type)<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py",
line 967, in image<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f]
return backend(instance=instance, disk_name=disk_name)<br
class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/virt/libvirt/imagebackend.py",
line 748, in __init__<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f]
rbd_user=self.rbd_user)<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] File
"/openstack/venvs/nova-12.0.16/lib/python2.7/site-packages/nova/virt/libvirt/storage/rbd_utils.py",
line 117, in __init__<br class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f] raise
RuntimeError(_('rbd python libraries not found'))<br
class="gmail_msg">
2016-10-21 12:08:06.242 70661 ERROR nova.compute.manager
[instance: 5633d98e-5f79-4c13-8d45-7544069f0e6f]
RuntimeError: rbd python libraries not found<br
class="gmail_msg">
<br class="gmail_msg">
</p>
<p class="gmail_msg">It moans about the rbd python libraries
not being found, however all of the rbd libraries appear
to be installed fine via apt. ( We are running Ubuntu)</p>
<p class="gmail_msg">Compute host packages:<br
class="gmail_msg">
</p>
<p class="gmail_msg">dpkg -l | grep ceph<br
class="gmail_msg">
ii ceph-common
10.2.3-1trusty amd64 common
utilities to mount and interact with a ceph storage
cluster<br class="gmail_msg">
ii libcephfs1
10.2.3-1trusty amd64 Ceph
distributed file system client library<br
class="gmail_msg">
ii python-ceph
10.2.3-1trusty amd64
Meta-package for python libraries for the Ceph libraries<br
class="gmail_msg">
ii python-cephfs
10.2.3-1trusty amd64 Python
libraries for the Ceph libcephfs library</p>
<p class="gmail_msg"> dpkg -l | grep rbd<br
class="gmail_msg">
ii librbd1
10.2.3-1trusty amd64 RADOS
block device client library<br class="gmail_msg">
ii python-rbd
10.2.3-1trusty amd64 Python
libraries for the Ceph librbd library<br class="gmail_msg">
</p>
<p class="gmail_msg">Has anyone come across this before?
Ceph is working fine for Glance, it just seems to be with
the nova compute hosts.</p>
<p class="gmail_msg">Many thanks,<br class="gmail_msg">
</p>
<br class="gmail_msg">
<div class="m_-540471717585987071moz-signature gmail_msg">--
<br class="gmail_msg">
<div style="height:13px" class="gmail_msg"> </div>
<div class="gmail_msg"> <font class="gmail_msg"
face="Lucida Grande, Verdana, Arial, sans-serif"
color="#A8D8FF"> <span
style="font-size:11px;line-height:15px;float:left;margin-right:10px"
class="gmail_msg"> <img moz-do-not-send="true"
src="cid:part1.9296627C.98B6FDF0@absolutedevops.io"
style="color:#a8d8ff;font-family:'Lucida
Grande',Verdana,Arial,sans-serif;font-size:11px;line-height:15px;float:left;margin-top:0px;margin-right:10px"
class="gmail_msg"> </span> </font>
<div
style="margin-left:80px;line-height:15px;color:rgb(109,190,255);margin-bottom:5px"
class="gmail_msg"> <span
style="font-family:Hind,'Lucida
Grande',Verdana,Arial,sans-serif;font-size:18px;font-weight:200;color:rgb(35,157,255)"
class="gmail_msg">Grant Morley</span> <span
style="color:rgb(35,157,255);font-size:15px"
class="gmail_msg"> </span> <font class="gmail_msg"
face="Hind, Lucida Grande, Verdana, Arial,
sans-serif"> <span style="font-size:15px"
class="gmail_msg"> </span> </font> </div>
<div
style="margin-left:80px;line-height:15px;color:rgb(109,190,255);margin-bottom:10px"
class="gmail_msg"> <font class="gmail_msg"
face="Hind, Lucida Grande, Verdana, Arial,
sans-serif"> <span style="font-size:15px"
class="gmail_msg">Cloud Lead</span> </font> </div>
<div style="font-family:Hind,'Lucida
Grande',Verdana,Arial,sans-serif;font-size:13px;margin-left:80px;line-height:15px;color:rgb(153,153,153)"
class="gmail_msg"> <span style="color:#616161"
class="gmail_msg">Absolute</span> <span
style="color:#98a5b0" class="gmail_msg">DevOps Ltd</span>
<br class="gmail_msg">
Units H, J & K, Gateway 1000, Whittle Way,
Stevenage, Herts, SG1 2FP </div>
<div
style="font-family:Hind,helvetica,arial;font-size:13px;margin-left:80px"
class="gmail_msg"> <a moz-do-not-send="true"
href="http://www.absolutedevops.io/"
style="color:#239dff;font-family:Hind,'Lucida
Grande',Verdana,Arial,sans-serif;line-height:15px;margin-right:6px;text-decoration:none"
class="gmail_msg" target="_blank">www.absolutedevops.io</a>
<a moz-do-not-send="true"
href="mailto:grant@absolutedevops.i"
style="color:#239dff;font-family:Hind,'Lucida
Grande',Verdana,Arial,sans-serif;line-height:15px;margin-right:6px;text-decoration:none"
class="gmail_msg" target="_blank">grant@absolutedevops.io</a>
<a moz-do-not-send="true"
style="color:#239dff;font-family:Hind,'Lucida
Grande',Verdana,Arial,sans-serif;line-height:15px;margin-right:6px"
class="gmail_msg">0845 874 0580</a> </div>
</div>
</div>
</div>
_______________________________________________<br
class="gmail_msg">
OpenStack-operators mailing list<br class="gmail_msg">
<a moz-do-not-send="true"
href="mailto:OpenStack-operators@lists.openstack.org"
class="gmail_msg" target="_blank">OpenStack-operators@lists.openstack.org</a><br
class="gmail_msg">
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators"
rel="noreferrer" class="gmail_msg" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br
class="gmail_msg">
</blockquote>
</div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->
<title></title>
<div style="height:13px"> </div>
<div> <font face="Lucida Grande, Verdana, Arial, sans-serif"
color="#A8D8FF"> <span style="font-size: 11px; line-height:
15px; float: left; margin-right: 10px;"> <img
src="cid:part9.218813D9.CDD58135@absolutedevops.io"
style="color: #a8d8ff; font-family: 'Lucida Grande',
Verdana, Arial, sans-serif; font-size: 11px; line-height:
15px; float: left; margin-top: 0px; margin-right: 10px"> </span>
</font>
<div style="margin-left: 80px; line-height: 15px; color:
rgb(109, 190, 255); margin-bottom: 5px;"> <span
style="font-family: Hind, 'Lucida Grande', Verdana, Arial,
sans-serif; font-size: 18px; font-weight: 200; color:
rgb(35, 157, 255);">Grant Morley</span> <span style="color:
rgb(35, 157, 255); font-size: 15px;"> </span> <font
face="Hind, Lucida Grande, Verdana, Arial, sans-serif"> <span
style="font-size: 15px;"> </span> </font> </div>
<div style="margin-left: 80px; line-height: 15px; color:
rgb(109, 190, 255); margin-bottom: 10px;"> <font face="Hind,
Lucida Grande, Verdana, Arial, sans-serif"> <span
style="font-size: 15px;">Cloud Lead</span> </font> </div>
<div style="font-family: Hind, 'Lucida Grande', Verdana, Arial,
sans-serif; font-size: 13px; margin-left: 80px; line-height:
15px; color: rgb(153, 153, 153);"> <span style="color:
#616161">Absolute</span> <span style="color: #98a5b0">DevOps
Ltd</span> <br>
Units H, J & K, Gateway 1000, Whittle Way, Stevenage,
Herts, SG1 2FP
</div>
<div style="font-family: Hind, helvetica, arial; font-size:
13px; margin-left: 80px;"> <a
href="http://www.absolutedevops.io/" style="color: #239dff;
font-family: Hind, 'Lucida Grande', Verdana, Arial,
sans-serif;line-height: 15px; margin-right: 6px;
text-decoration: none;">www.absolutedevops.io</a> <a
href="mailto:grant@absolutedevops.i" style="color: #239dff;
font-family: Hind, 'Lucida Grande', Verdana, Arial,
sans-serif;line-height: 15px; margin-right: 6px;
text-decoration: none;">grant@absolutedevops.io</a> <a
style="color: #239dff; font-family: Hind, 'Lucida Grande',
Verdana, Arial, sans-serif;line-height: 15px; margin-right:
6px;">0845 874 0580</a> </div>
</div>
</div>
</body>
</html>