<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Check status of nova-compute at,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"># openstack compute service list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">If the compute node is UP, check for nova-compute logs at compute node for exact error.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hope this helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">/
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Trinath Somanchi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> NXP SDN/NFV Team.<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> huanglingyan (A) [mailto:huanglingyan2@huawei.com]
<br>
<b>Sent:</b> Tuesday, December 19, 2017 2:18 PM<br>
<b>To:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> [Openstack] devstack</span><span style="font-size:11.0pt;font-family:"MS Gothic"">:</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">update libvirt to 3.4.0<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">hi all,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">hoping someone could shed some light on this issue I’ve worked on several days.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">I have installed openstack through devstack and it works well when I create an instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">stack@ubuntu:/var/run$ openstack server list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+--------------------------------------+-------+--------+--------------------------------+--------------------------+---------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">| ID | Name | Status | Networks | Image | Flavor |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+--------------------------------------+-------+--------+--------------------------------+--------------------------+---------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">| 6d6ac274-0f0b-4576-8f54-07e006214c9b | ins_1 | ACTIVE | public=172.24.4.4, 2001:db8::3 | cirros-0.3.5-x86_64-disk | m1.tiny |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+--------------------------------------+-------+--------+--------------------------------+--------------------------+---------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The default version of libvirt is 2.5.0 while I want to use libvirt 3.4.0. What I have done is to install libvirt 3.4.0 manully since no apt repo has such version of libvirt.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">To check libvirt version,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">virsh # version<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Compiled against library: libvirt 3.4.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Using library: libvirt 3.4.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Using API: QEMU 3.4.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Running hypervisor: QEMU 2.9.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">However, my openstack seems to lose connetion with the new version of libvirt. It shows error when I create a new instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">stack@ubuntu:/var/run$ openstack server list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+--------------------------------------+-------+--------+--------------------------------+--------------------------+---------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">| ID | Name | Status | Networks | Image | Flavor |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+--------------------------------------+-------+--------+--------------------------------+--------------------------+---------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">| 59369bec-7015-449b-bd4e-85f3237a3228 | ins_2 | ERROR | | cirros-0.3.5-x86_64-disk | m1.tiny |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">| 6d6ac274-0f0b-4576-8f54-07e006214c9b | ins_1 | ACTIVE | public=172.24.4.4, 2001:db8::3 | cirros-0.3.5-x86_64-disk | m1.tiny |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">+--------------------------------------+-------+--------+--------------------------------+--------------------------+---------+</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">The log shows<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Failed to schedule instances:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 232, in inner<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> return func(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/home/stack/nova/nova/scheduler/manager.py", line 149, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> alloc_reqs_by_rp_uuid, provider_summaries)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> File "/home/stack/nova/nova/scheduler/filter_scheduler.py", line 110, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> raise exception.NoValidHost(reason=reason)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">NoValidHost: No valid host was found. There are not enough hosts available.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/home/stack/nova/nova/conductor/manager.py", line 1034, in schedule_and_build_ins<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager instance_uuids)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/home/stack/nova/nova/conductor/manager.py", line 626, in _schedule_instances<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager request_spec, instance_uuids)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/home/stack/nova/nova/scheduler/utils.py", line 586, in wrapped<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager return func(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/home/stack/nova/nova/scheduler/client/__init__.py", line 52, in select_destinati<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager instance_uuids)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/home/stack/nova/nova/scheduler/client/__init__.py", line 37, in __run_method<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager return getattr(self.instance, __name)(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/home/stack/nova/nova/scheduler/client/query.py", line 33, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager instance_uuids)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/home/stack/nova/nova/scheduler/rpcapi.py", line 137, in select_destinations<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager return cctxt.call(ctxt, 'select_destinations', **msg_args)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, i<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager retry=self.retry)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 123, in<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager timeout=timeout, retry=retry)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", li<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager retry=retry)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", li<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager raise result<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">ERROR nova.conductor.manager NoValidHost_Remote: No valid host was found. There are not enough hosts available.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">What can I do to let openstack connect to the new libvirt?<o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">thanks!!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D">--huanglingyan</span><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>