<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>
Well,<div><br></div><div>In this moment, i have just one NIC on my dom0 and i can't create VLANs because of the current infrastructure. There is anyway to test this? I'm not using DevStack as i said in old replies.</div><div><br></div><div>Thank you all for your help.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: alex_tkd@live.com<br>To: john.garbutt@citrix.com; ewan.mellor@eu.citrix.com; openstack@lists.launchpad.net<br>Date: Wed, 28 Mar 2012 16:47:12 +0000<br>Subject: Re: [Openstack] [OpenStack] Xen Hypervisor<br><br>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
Sorry, here is my xe network-list:<div><br></div><div>[root@localhost ~]# xe network-list</div><div>uuid ( RO)                : c8f3cec4-66be-7c79-9276-b2537ee0df10</div><div>          name-label ( RW): Host internal management network</div><div>    name-description ( RW): Network on which guests will be assigned a private link-local IP address which can be used to talk XenAPI</div><div>              bridge ( RO): xenapi</div><div><br></div><div><br></div><div>uuid ( RO)                : c25c9878-7afd-f925-08f4-ffb6f9780b69</div><div>          name-label ( RW): Pool-wide network associated with eth0</div><div>    name-description ( RW):</div><div>              bridge ( RO): xenbr0</div><div> <br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: alex_tkd@live.com<br>To: john.garbutt@citrix.com; ewan.mellor@eu.citrix.com; openstack@lists.launchpad.net<br>Subject: RE: [Openstack] [OpenStack] Xen Hypervisor<br>Date: Wed, 28 Mar 2012 16:35:41 +0000<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
<div dir="ltr">
Hi,<div><br></div><div>Here is my nova.conf from Xen Nova-compute: 
<a href="http://pastebin.com/YSANE0pN" target="_blank">http://pastebin.com/YSANE0pN</a> </div><div><br></div><div>I have just one NIC on dom0, that's a problem?</div><div><br></div><div>My infrastructure is (All IPs start with 192.168.100):</div><div><br></div><div>gateway: .1</div><div>dhcp: .4</div><div>controller: .139</div><div>dom0: 251 (Xen)</div><div>domU: 214 (Xen PV)</div><div><br></div><div>Also, here is my ifconfig of Dom0:</div><div><br></div><div><div>[root@localhost ~]# ifconfig</div><div>eth0      Link encap:Ethernet  HWaddr 78:E7:D1:55:CD:8C</div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</div><div>          RX packets:12412221 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:6848360 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:1000</div><div>          RX bytes:31319971 (29.8 MiB)  TX bytes:2973878456 (2.7 GiB)</div><div>          Interrupt:254 Base address:0xc000</div><div><br></div><div>lo        Link encap:Local Loopback</div><div>          inet addr:127.0.0.1  Mask:255.0.0.0</div><div>          UP LOOPBACK RUNNING  MTU:16436  Metric:1</div><div>          RX packets:518304 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:518304 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:0</div><div>          RX bytes:2746623856 (2.5 GiB)  TX bytes:2746623856 (2.5 GiB)</div><div><br></div><div>vif27.0   Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF</div><div>          UP BROADCAST RUNNING NOARP PROMISC  MTU:1500  Metric:1</div><div>          RX packets:1002250 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:2337744 errors:0 dropped:169 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:32</div><div>          RX bytes:62195287 (59.3 MiB)  TX bytes:3463407822 (3.2 GiB)</div><div><br></div><div>xenbr0    Link encap:Ethernet  HWaddr 78:E7:D1:55:CD:8C</div><div>          inet addr:192.168.100.251  Bcast:192.168.100.255  Mask:255.255.255.0</div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</div><div>          RX packets:1156246 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:846339 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:0</div><div>          RX bytes:131983322 (125.8 MiB)  TX bytes:3111706166 (2.8 GiB)</div></div><div><br></div><div>and from DomU:</div><div><div>lis@nova-controller:~$ ifconfig</div><div>br100     Link encap:Ethernet  HWaddr 78:e7:d1:72:15:ad</div><div>          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0</div><div>          inet6 addr: fe80::f8e5:50ff:fe5e:39d4/64 Scope:Link</div><div>          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1</div><div>          RX packets:7384108 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:14343347 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:0</div><div>          RX bytes:1066281639 (1.0 GB)  TX bytes:20959840761 (20.9 GB)</div><div><br></div><div>eth0      Link encap:Ethernet  HWaddr 78:e7:d1:72:15:ad</div><div>          inet6 addr: fe80::7ae7:d1ff:fe72:15ad/64 Scope:Link</div><div>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1</div><div>          RX packets:7573873 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:14368549 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:1000</div><div>          RX bytes:1195539149 (1.1 GB)  TX bytes:20973125370 (20.9 GB)</div><div>          Interrupt:43 Base address:0x2000</div><div><br></div><div>lo        Link encap:Local Loopback</div><div>          inet addr:127.0.0.1  Mask:255.0.0.0</div><div>          inet6 addr: ::1/128 Scope:Host</div><div>          UP LOOPBACK RUNNING  MTU:16436  Metric:1</div><div>          RX packets:1089412 errors:0 dropped:0 overruns:0 frame:0</div><div>          TX packets:1089412 errors:0 dropped:0 overruns:0 carrier:0</div><div>          collisions:0 txqueuelen:0</div><div>          RX bytes:654259441 (654.2 MB)  TX bytes:654259441 (654.2 MB)</div></div><div><br><div><div id="ecxSkyDrivePlaceholder"></div><hr id="ecxstopSpelling">From: John.Garbutt@citrix.com<br>To: alex_tkd@live.com; Ewan.Mellor@eu.citrix.com; openstack@lists.launchpad.net<br>Date: Wed, 28 Mar 2012 16:50:45 +0100<br>Subject: RE: [Openstack] [OpenStack] Xen Hypervisor<br><br>

<style>
.ExternalClass .ecxshape
{;}
</style><style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxMsoAcetate, .ExternalClass li.ecxMsoAcetate, .ExternalClass div.ecxMsoAcetate
{margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass p.ecxMsoListParagraph, .ExternalClass li.ecxMsoListParagraph, .ExternalClass div.ecxMsoListParagraph
{margin-right:0cm;margin-bottom:0cm;margin-left:36.0pt;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxmsoacetate, .ExternalClass li.ecxecxmsoacetate, .ExternalClass div.ecxecxmsoacetate
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxballoontextchar
{;}
.ExternalClass span.ecxecxemailstyle20
{;}
.ExternalClass span.ecxecxemailstyle21
{;}
.ExternalClass span.ecxecxemailstyle22
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass p.ecxecxmsoacetate1, .ExternalClass li.ecxecxmsoacetate1, .ExternalClass div.ecxecxmsoacetate1
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxecxballoontextchar1
{font-family:"Tahoma","sans-serif";}
.ExternalClass span.ecxecxemailstyle201
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxemailstyle211
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxecxemailstyle221
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:"Times New Roman","serif";}
.ExternalClass span.ecxEmailStyle36
{font-family:"Calibri","sans-serif";color:#1F497D;}
.ExternalClass span.ecxBalloonTextChar
{font-family:"Tahoma","sans-serif";}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
.ExternalClass ol
{margin-bottom:0cm;}
.ExternalClass ul
{margin-bottom:0cm;}
</style><div class="ecxWordSection1"><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That looks a lot like you have some of the networking flags not quite correct for your setup.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have attempted to describe the flags on the wiki, which might help you:</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="http://wiki.openstack.org/XenServer/NetworkingFlags" target="_blank">http://wiki.openstack.org/XenServer/NetworkingFlags</a></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I am not 100% sure, but it looks like the following flag has the wrong value:</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">flat_network_bridge</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">On XenServer it should reference the bridge (or bridge name) on your XenServer that you want instance traffic to go through. It could by eth1 (if you want the traffic on your second nic to hold guest traffic) or on xapi1 (if you have setup a VLAN network bridge to carry the instance traffic).</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If you can tell us:</span></p><p class="ecxMsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Symbol;color:#1F497D"><span style="">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">What this returns: xe network-list</span></p><p class="ecxMsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Symbol;color:#1F497D"><span style="">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">What you want to use each of the above networks for</span></p><p class="ecxMsoListParagraph" style="text-indent:-18.0pt"><span style="font-size:11.0pt;font-family:Symbol;color:#1F497D"><span style="">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">And what is in your nova.conf</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I might be able to be more specific.</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hope that helps,</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">John</span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> openstack-bounces+john.garbutt=eu.citrix.com@lists.launchpad.net [mailto:openstack-bounces+john.garbutt=eu.citrix.com@lists.launchpad.net] <b>On Behalf Of </b>Alexandre Leites<br><b>Sent:</b> 28 March 2012 14:35<br><b>To:</b> Ewan Mellor; openstack@lists.launchpad.net<br><b>Subject:</b> Re: [Openstack] [OpenStack] Xen Hypervisor</span></p></div></div><p class="ecxMsoNormal"> </p><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Hi,</span></p><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I have edited the xenhost plugin to use "<span style="background:white">host_uuid=_run_command("xe host-list --minimal").strip()" instead of original command. Now, i'm with this logs on nova-compute... Also i dont know how to trace </span>xenapi_conn.call_plugin to find out why my host_uuid isn’t getting set, can you help me?</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p></div><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p></div><div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:21:21,074 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:21:21,074 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:21:21,130 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:21:21,130 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:21:21,264 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:21:21,265 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:21:26,360 INFO nova.compute.manager [-] Found 4 in the database and 3 on the hypervisor.</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:14,144 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:ba109dd2-5306-08e0-f0f8-669d7da69d39 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1058</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:15,429 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1073</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:15,477 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:ba109dd2-5306-08e0-f0f8-669d7da69d39 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1061</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:17,216 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 3, instance 83 from (pid=5062) log_disk_format /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:627</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:17,217 DEBUG nova.virt.xenapi.vm_utils [-] Fetching image 1 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:536</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:17,217 DEBUG nova.virt.xenapi.vm_utils [-] Image Type: kernel from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:537</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:17,344 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:4743568 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:551</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:18,450 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI OpaqueRef:d4d67de4-3e4f-cd8f-3e2e-132525d115e4 (Glance image 1, 4743568, False) on OpaqueRef:0637f688-bd33-1749-fa5e-f1dbe515d1b0. from (pid=5062) create_vdi /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:313</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:18,476 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI OpaqueRef:d4d67de4-3e4f-cd8f-3e2e-132525d115e4 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1038</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:18,505 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI OpaqueRef:d4d67de4-3e4f-cd8f-3e2e-132525d115e4 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1040</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:18,505 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:dda505c4-c994-9cfb-5cbd-76c40029b981 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1042</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:19,646 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:dda505c4-c994-9cfb-5cbd-76c40029b981 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1044</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:19,656 DEBUG nova.virt.xenapi.vm_utils [-] VBD OpaqueRef:dda505c4-c994-9cfb-5cbd-76c40029b981 plugged as xvdb from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1046</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:19,657 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /dev/xvdb from (pid=5062) execute /usr/lib/python2.7/dist-packages/nova/utils.py:168</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:21,352 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:d4d67de4-3e4f-cd8f-3e2e-132525d115e4 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1058</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:21,398 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug rejected: retrying... from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1078</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:22,404 DEBUG nova.virt.xenapi.vm_utils [-] Not sleeping anymore! from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1080</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:22,581 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful eventually. from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1083</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:22,621 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:d4d67de4-3e4f-cd8f-3e2e-132525d115e4 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1061</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:22,622 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI OpaqueRef:d4d67de4-3e4f-cd8f-3e2e-132525d115e4 to /boot/guest on dom0 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:576</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:26,361 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=5062) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:111</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:26,361 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=5062) fanout_cast /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:755</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:26,670 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:26,670 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:26,738 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:26,739 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:26,966 ERROR nova [-] in looping call</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE: Traceback (most recent call last):</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 491, in _inner</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     self.f(*self.args, **self.kw)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 408, in _poll_task</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     name = self._session.xenapi.task.get_name_label(task)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     return self.__send(self.__name, args)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     result = _parse_result(getattr(self, methodname)(*full_params))</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     return self.__send(self.__name, args)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     verbose=self.__verbose</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     return self.single_request(host, handler, request_body, verbose)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/xmlrpclib.py", line 1289, in single_request</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     self.send_request(h, handler, request_body)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/xmlrpclib.py", line 1391, in send_request</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     connection.putrequest("POST", handler, skip_accept_encoding=True)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:   File "/usr/lib/python2.7/httplib.py", line 853, in putrequest</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE:     raise CannotSendRequest()</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE: CannotSendRequest</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova): TRACE: </span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:27,156 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:27,157 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:22:28,474 INFO nova.compute.manager [-] Found 4 in the database and 3 on the hypervisor.</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:28,475 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=5062) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:111</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:28,476 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=5062) fanout_cast /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:755</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:28,641 INFO nova.compute.manager [-] Updating host status</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:28,641 DEBUG nova.virt.xenapi [-] Updating host stats from (pid=5062) update_status /usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py:488</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:28,951 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] OpaqueRef:c45bce0b-a83b-e2dd-7202-e0f7c9cf91fd status: success    <value>{&quot;host_name-description&quot;: &quot;XenServer 5.6&quot;, &quot;host_hostname&quot;: &quot;localhost&quot;, &quot;host_memory&quot;: {&quot;total&quot;: 4157792256, &quot;overhead&quot;: 127926272, &quot;free&quot;: 3445649408, &quot;free-computed&quot;: 3425886208}, &quot;enabled&quot;: &quot;true&quot;, &quot;host_other-config&quot;: {&quot;iscsi_iqn&quot;: &quot;iqn.2012-03.com.example:3ca16415&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_MIGRATED&quot;: &quot;&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_HALTED&quot;: &quot;&quot;, &quot;agent_start_time&quot;: &quot;1332863945.&quot;, &quot;boot_time&quot;: &quot;1332852695.&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_SUSPENDED&quot;: &quot;&quot;}, &quot;host_ip_address&quot;: &quot;192.168.100.251&quot;, &quot;host_cpu_info&quot;: {&quot;physical_features&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;modelname&quot;: &quot;Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz&quot;, &quot;vendor&quot;: &quot;GenuineIntel&quot;, &quot;features&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;family&quot;: 6, &quot;maskable&quot;: &quot;base&quot;, &quot;cpu_count&quot;: 2, &quot;flags&quot;: &quot;fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni vmx est ssse3 sse4_1 hypervisor tpr_shadow vnmi flexpriority&quot;, &quot;stepping&quot;: 10, &quot;model&quot;: 23, &quot;features_after_reboot&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;speed&quot;: &quot;2926.058&quot;}, &quot;host_uuid&quot;: &quot;bb308c1f-a55c-4c32-8089-cf6f2c089a52&quot;, &quot;host_name-label&quot;: &quot;XenServer 5.6&quot;}</value></span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:29,257 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:29,258 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:29,353 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:29,353 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:29,478 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:29,478 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:23:32,765 INFO nova.compute.manager [-] Found 4 in the database and 3 on the hypervisor.</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:32,767 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=5062) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:111</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:32,784 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=5062) fanout_cast /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:755</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:33,985 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:33,986 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:34,761 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:34,761 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:34,961 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:34,961 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:24:36,275 INFO nova.compute.manager [-] Found 4 in the database and 3 on the hypervisor.</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:36,356 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=5062) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:111</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:36,357 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=5062) fanout_cast /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:755</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:36,466 INFO nova.compute.manager [-] Updating host status</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:36,467 DEBUG nova.virt.xenapi [-] Updating host stats from (pid=5062) update_status /usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py:488</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:37,019 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] OpaqueRef:aa843929-9afc-b5c1-9918-29d24965b7ab status: success    <value>{&quot;host_name-description&quot;: &quot;XenServer 5.6&quot;, &quot;host_hostname&quot;: &quot;localhost&quot;, &quot;host_memory&quot;: {&quot;total&quot;: 4157792256, &quot;overhead&quot;: 127926272, &quot;free&quot;: 3445649408, &quot;free-computed&quot;: 3425886208}, &quot;enabled&quot;: &quot;true&quot;, &quot;host_other-config&quot;: {&quot;iscsi_iqn&quot;: &quot;iqn.2012-03.com.example:3ca16415&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_MIGRATED&quot;: &quot;&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_HALTED&quot;: &quot;&quot;, &quot;agent_start_time&quot;: &quot;1332863945.&quot;, &quot;boot_time&quot;: &quot;1332852695.&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_SUSPENDED&quot;: &quot;&quot;}, &quot;host_ip_address&quot;: &quot;192.168.100.251&quot;, &quot;host_cpu_info&quot;: {&quot;physical_features&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;modelname&quot;: &quot;Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz&quot;, &quot;vendor&quot;: &quot;GenuineIntel&quot;, &quot;features&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;family&quot;: 6, &quot;maskable&quot;: &quot;base&quot;, &quot;cpu_count&quot;: 2, &quot;flags&quot;: &quot;fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni vmx est ssse3 sse4_1 hypervisor tpr_shadow vnmi flexpriority&quot;, &quot;stepping&quot;: 10, &quot;model&quot;: 23, &quot;features_after_reboot&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;speed&quot;: &quot;2926.058&quot;}, &quot;host_uuid&quot;: &quot;bb308c1f-a55c-4c32-8089-cf6f2c089a52&quot;, &quot;host_name-label&quot;: &quot;XenServer 5.6&quot;}</value></span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:37,398 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:37,399 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:37,481 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:37,481 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:37,687 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:37,687 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:25:40,555 INFO nova.compute.manager [-] Found 4 in the database and 3 on the hypervisor.</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:40,595 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=5062) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:111</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:40,596 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=5062) fanout_cast /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:755</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:40,832 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:40,832 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:40,888 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:40,888 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:41,095 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:41,095 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:26:42,818 INFO nova.compute.manager [-] Found 4 in the database and 3 on the hypervisor.</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:42,819 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=5062) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:111</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:42,834 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=5062) fanout_cast /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:755</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:42,934 INFO nova.compute.manager [-] Updating host status</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:42,935 DEBUG nova.virt.xenapi [-] Updating host stats from (pid=5062) update_status /usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py:488</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:43,224 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] OpaqueRef:399453cd-d1b0-41b5-d651-028f04e85d46 status: success    <value>{&quot;host_name-description&quot;: &quot;XenServer 5.6&quot;, &quot;host_hostname&quot;: &quot;localhost&quot;, &quot;host_memory&quot;: {&quot;total&quot;: 4157792256, &quot;overhead&quot;: 127926272, &quot;free&quot;: 3445649408, &quot;free-computed&quot;: 3425886208}, &quot;enabled&quot;: &quot;true&quot;, &quot;host_other-config&quot;: {&quot;iscsi_iqn&quot;: &quot;iqn.2012-03.com.example:3ca16415&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_MIGRATED&quot;: &quot;&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_HALTED&quot;: &quot;&quot;, &quot;agent_start_time&quot;: &quot;1332863945.&quot;, &quot;boot_time&quot;: &quot;1332852695.&quot;, &quot;MAINTENANCE_MODE_EVACUATED_VMS_SUSPENDED&quot;: &quot;&quot;}, &quot;host_ip_address&quot;: &quot;192.168.100.251&quot;, &quot;host_cpu_info&quot;: {&quot;physical_features&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;modelname&quot;: &quot;Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz&quot;, &quot;vendor&quot;: &quot;GenuineIntel&quot;, &quot;features&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;family&quot;: 6, &quot;maskable&quot;: &quot;base&quot;, &quot;cpu_count&quot;: 2, &quot;flags&quot;: &quot;fpu de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc aperfmperf pni vmx est ssse3 sse4_1 hypervisor tpr_shadow vnmi flexpriority&quot;, &quot;stepping&quot;: 10, &quot;model&quot;: 23, &quot;features_after_reboot&quot;: &quot;0408e3bd-bfebfbff-00000001-20100800&quot;, &quot;speed&quot;: &quot;2926.058&quot;}, &quot;host_uuid&quot;: &quot;bb308c1f-a55c-4c32-8089-cf6f2c089a52&quot;, &quot;host_name-label&quot;: &quot;XenServer 5.6&quot;}</value></span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:43,426 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Running|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:43,427 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |1|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:43,521 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:43,521 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:43,692 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenserver vm state -> |Halted|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:43,692 INFO nova.virt.xenapi.vm_utils [-] (VM_UTILS) xenapi power_state -> |4|</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:27:44,909 INFO nova.compute.manager [-] Found 4 in the database and 3 on the hypervisor.</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:31,267 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:47620540-ea11-38bf-a681-7b60ce109aab ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1058</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:32,684 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful first time. from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1073</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:32,707 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:47620540-ea11-38bf-a681-7b60ce109aab done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1061</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:32,796 DEBUG nova.virt.xenapi.vm_utils [-] Detected DISK format for image 3, instance 85 from (pid=5062) log_disk_format /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:627</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:32,797 DEBUG nova.virt.xenapi.vm_utils [-] Fetching image 1 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:536</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:32,797 DEBUG nova.virt.xenapi.vm_utils [-] Image Type: kernel from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:537</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:32,875 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 1:4743568 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:551</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:33,741 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI OpaqueRef:f745ed28-ed42-4027-dbbd-98cb29b0525e (Glance image 1, 4743568, False) on OpaqueRef:0637f688-bd33-1749-fa5e-f1dbe515d1b0. from (pid=5062) create_vdi /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:313</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:33,782 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI OpaqueRef:f745ed28-ed42-4027-dbbd-98cb29b0525e ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1038</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:33,837 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI OpaqueRef:f745ed28-ed42-4027-dbbd-98cb29b0525e done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1040</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:33,838 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:4fdeeabd-e305-229b-009b-2c7b1a33d4b8 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1042</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:35,095 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:4fdeeabd-e305-229b-009b-2c7b1a33d4b8 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1044</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:35,122 DEBUG nova.virt.xenapi.vm_utils [-] VBD OpaqueRef:4fdeeabd-e305-229b-009b-2c7b1a33d4b8 plugged as xvdb from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1046</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:35,122 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /dev/xvdb from (pid=5062) execute /usr/lib/python2.7/dist-packages/nova/utils.py:168</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:36,635 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:f745ed28-ed42-4027-dbbd-98cb29b0525e ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1058</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:36,682 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug rejected: retrying... from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1078</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:37,730 DEBUG nova.virt.xenapi.vm_utils [-] Not sleeping anymore! from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1080</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:37,965 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful eventually. from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1083</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:38,013 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:f745ed28-ed42-4027-dbbd-98cb29b0525e done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1061</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:38,013 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI OpaqueRef:f745ed28-ed42-4027-dbbd-98cb29b0525e to /boot/guest on dom0 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:576</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:42,732 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] OpaqueRef:36d59d77-6f0e-900a-9dc8-4dfc4503b125 status: success    <value>/boot/guest/0225cdb5-7d98-4e01-99ee-72271a1d738e</value></span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:43,492 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI OpaqueRef:f745ed28-ed42-4027-dbbd-98cb29b0525e destroyed from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:586</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:43,493 DEBUG nova.virt.xenapi.vm_utils [-] Fetching image 2 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:536</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:43,493 DEBUG nova.virt.xenapi.vm_utils [-] Image Type: ramdisk from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:537</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:43,603 DEBUG nova.virt.xenapi.vm_utils [-] Size for image 2:13639543 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:551</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:44,910 DEBUG nova.manager [-] Notifying Schedulers of capabilities ... from (pid=5062) periodic_tasks /usr/lib/python2.7/dist-packages/nova/manager.py:111</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:44,910 DEBUG nova.rpc [-] Making asynchronous fanout cast... from (pid=5062) fanout_cast /usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py:755</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:44,969 WARNING nova.compute.manager [-] Error during power_state sync: </span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:45,021 DEBUG nova.virt.xenapi.vm_utils [-] Created VDI OpaqueRef:5ed933e3-7d17-05e6-5326-e84249b0df73 (Glance image 2, 13639543, False) on OpaqueRef:0637f688-bd33-1749-fa5e-f1dbe515d1b0. from (pid=5062) create_vdi /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:313</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:45,060 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI OpaqueRef:5ed933e3-7d17-05e6-5326-e84249b0df73 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1038</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:45,090 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VDI OpaqueRef:5ed933e3-7d17-05e6-5326-e84249b0df73 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1040</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:45,091 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:52ab6c7d-b1c6-6ec7-c5a6-faa6d2562283 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1042</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:46,980 DEBUG nova.virt.xenapi.vm_utils [-] Plugging VBD OpaqueRef:52ab6c7d-b1c6-6ec7-c5a6-faa6d2562283 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1044</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:46,987 DEBUG nova.virt.xenapi.vm_utils [-] VBD OpaqueRef:52ab6c7d-b1c6-6ec7-c5a6-faa6d2562283 plugged as xvdb from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1046</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:46,988 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /dev/xvdb from (pid=5062) execute /usr/lib/python2.7/dist-packages/nova/utils.py:168</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:51,255 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:5ed933e3-7d17-05e6-5326-e84249b0df73 ...  from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1058</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:51,299 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug rejected: retrying... from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1078</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:52,300 DEBUG nova.virt.xenapi.vm_utils [-] Not sleeping anymore! from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1080</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:52,449 DEBUG nova.virt.xenapi.vm_utils [-] VBD.unplug successful eventually. from (pid=5062) vbd_unplug_with_retry /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1083</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:52,499 DEBUG nova.virt.xenapi.vm_utils [-] Destroying VBD for VDI OpaqueRef:5ed933e3-7d17-05e6-5326-e84249b0df73 done. from (pid=5062) with_vdi_attached_here /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:1061</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:52,500 DEBUG nova.virt.xenapi.vm_utils [-] Copying VDI OpaqueRef:5ed933e3-7d17-05e6-5326-e84249b0df73 to /boot/guest on dom0 from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:576</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:56,740 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] OpaqueRef:42cc2b18-2517-c969-e336-7bea6b77258a status: success    <value>/boot/guest/a74ec540-0ba4-4c2e-806c-195eb4ba38bc</value></span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:57,628 DEBUG nova.virt.xenapi.vm_utils [-] Kernel/Ramdisk VDI OpaqueRef:5ed933e3-7d17-05e6-5326-e84249b0df73 destroyed from (pid=5062) _fetch_image_glance_disk /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:586</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:57,637 DEBUG nova.virt.xenapi.vm_utils [-] Looking up vdi OpaqueRef:47620540-ea11-38bf-a681-7b60ce109aab for PV kernel from (pid=5062) determine_is_pv /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:675</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:58,874 DEBUG nova.virt.xenapi.vm_utils [-] Created VM instance-00000055... from (pid=5062) create_vm /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:188</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:58,941 DEBUG nova.virt.xenapi.vm_utils [-] Created VM instance-00000055 as OpaqueRef:7b7dc881-b5f2-00e2-a278-13fa82db982b. from (pid=5062) create_vm /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:191</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:58,941 DEBUG nova.virt.xenapi.vm_utils [-] Creating VBD for VM OpaqueRef:7b7dc881-b5f2-00e2-a278-13fa82db982b, VDI OpaqueRef:47620540-ea11-38bf-a681-7b60ce109aab ...  from (pid=5062) create_vbd /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:223</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:58,968 DEBUG nova.virt.xenapi.vm_utils [-] Created VBD OpaqueRef:40354759-6ebb-f0e5-1362-74363c3e34a9 for VM OpaqueRef:7b7dc881-b5f2-00e2-a278-13fa82db982b, VDI OpaqueRef:47620540-ea11-38bf-a681-7b60ce109aab. from (pid=5062) create_vbd /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vm_utils.py:226</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:58,969 DEBUG nova [-] creating vif(s) for vm: |OpaqueRef:7b7dc881-b5f2-00e2-a278-13fa82db982b| from (pid=5062) create_vifs /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py:1128</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">2012-03-28 13:28:59,037 ERROR nova.compute.manager [-] Instance '85' failed to spawn. Is virtualization enabled in the BIOS? Details: Found no network for bridge br100</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE: Traceback (most recent call last):</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 424, in _run_instance</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:     network_info, block_device_info)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py", line 190, in spawn</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:     self._vmops.spawn(context, instance, network_info)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 149, in spawn</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:     vm_ref = self._create_vm(context, instance, vdis, network_info)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 254, in _create_vm</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:     self.create_vifs(vm_ref, instance, network_info)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py", line 1135, in create_vifs</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:     vm_ref, instance, device, network, info)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/vif.py", line 43, in plug</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:     xenapi_session, network['bridge'])</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/network_utils.py", line 58, in find_network_with_bridge</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE:     raise Exception(_('Found no network for bridge %s') % bridge)</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE: Exception: Found no network for bridge br100</span></p></div><div><p class="ecxMsoNormal" style="line-height:12.75pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#2A2A2A;background:white">(nova.compute.manager): TRACE: </span></p></div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><div><div class="ecxMsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><hr size="2" width="100%" align="center" id="ecxstopSpelling"></span></div><p class="ecxMsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From: Ewan.Mellor@eu.citrix.com<br>To: John.Garbutt@citrix.com; alex_tkd@live.com; openstack@lists.launchpad.net<br>Date: Wed, 28 Mar 2012 03:36:55 +0100<br>Subject: RE: [Openstack] [OpenStack] Xen Hypervisor</span></p><div><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Yes, I’d missed the code change in xenapi_conn.  Alexandre, are you sure you have a matched pair of nova-compute and the nova plugins?  If so, then please trace through xenapi_conn.call_plugin to find out why your host_uuid isn’t getting set.  It looks like it should to me, even on XCP.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ewan.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> John Garbutt <br><b>Sent:</b> 26 March 2012 01:36<br><b>To:</b> Ewan Mellor; Alexandre Leites; openstack@lists.launchpad.net<br><b>Subject:</b> RE: [Openstack] [OpenStack] Xen Hypervisor</span></p></div></div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I certainly changed the plugin so it always required the host_uuid, but I also changed the “call_plugin” code in xenapi_conn to ensure we always pass the host_uuid.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Indeed it looks like in the code path below, that you should get the host_uuid passed all the way though.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have not tested with XCP myself, only with XenServer 6. I am afraid I will not get chance to try this out till Wednesday (currently on holiday). One other useful log will be from XCP where it logs the parameters passed into the plugin (on XenSever it is /var/log/xensource.log, it could be /var/log/xcp.log? or xapi.log, can’t remember I am afraid) You should be able to track the host_uuid to ensure it gets from nova->xapi client->xapi server->plugin</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If you want to move on with your deployment a work around is to add this into the xenhost plugin:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Change:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal" style="text-indent:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">host_uuid=arg_dict[‘host_uuid’]</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Into:</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">                host_uuid=_run_command(“xe host-list | grep uuid”).split(“:”)[-1].strip()</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The above does not work in all cases, but it should work for your particular case (no pools).</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If you could raise a nova bug for this, mentioning the version of XCP you are using, that would be great.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I hope that helps,</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">John</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Ewan Mellor <br><b>Sent:</b> 25 March 2012 19:56<br><b>To:</b> Alexandre Leites; openstack@lists.launchpad.net<br><b>Cc:</b> John Garbutt<br><b>Subject:</b> RE: [Openstack] [OpenStack] Xen Hypervisor</span></p></div></div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It looks like you’re hitting a recently introduced bug (maybe).  I haven’t run the code, but from reading through, it looks like the xenhost.host_data plugin command is going to barf if it is not passed a host_uuid parameter.  It used to gracefully handle that case, but since 37a392dc it’s not doing so any more.  The plugin is being called with no arguments from nova.virt.xenapi.host.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Cc’d John Garbutt, who wrote that bit of code.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ewan.</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><p class="ecxMsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="ecxMsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> openstack-bounces+ewan.mellor=citrix.com@lists.launchpad.net [mailto:openstack-bounces+ewan.mellor=citrix.com@lists.launchpad.net] <b>On Behalf Of </b>Alexandre Leites<br><b>Sent:</b> 23 March 2012 10:46<br><b>To:</b> openstack@lists.launchpad.net<br><b>Subject:</b> Re: [Openstack] [OpenStack] Xen Hypervisor</span></p></div></div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> </span></p><div><p class="ecxMsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Hi folks,<br><br>Sorry for late reply, i was trying to install this without following any ready-to-use scripts ( but i used one :( ) to understand how things are made. So i installed XCP 1.4.90 from DVD and configured it from installation screen.<br><br>Execute the following commands on dom0<br>------- Dom 0 Extra Config --------<br>cd /etc/xapi.d/plugins/<br>wget -q <a href="https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost" target="_blank">https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost</a><br>wget -q <a href="https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py" target="_blank">https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py</a><br>wget -q <a href="https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py" target="_blank">https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py</a><br>wget -q <a href="https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration" target="_blank">https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/migration</a><br>wget -q <a href="https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance" target="_blank">https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/glance</a><br>wget -q <a href="https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent" target="_blank">https://raw.github.com/openstack/nova/master/plugins/xenserver/xenapi/etc/xapi.d/plugins/agent</a><br>chmod 777 *<br>service xapi restart<br>-----------------------------------<br><br>After that i downloaded XenCenter and created a VM from Ubuntu Server 11.10 CD... (all from below is on guest)<br><br>After this, i did updated all the system with command apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y and rebooted the machine. When you do this, you'll boot on newer kernel (3.0.0-16-server, check with uname -a command)... and unsinstall the old kernel (apt-get purge linux-image-3.0.0-12-server).<br><br>After this, i did installed the virtual kernel (3.0.0-16-virtual) and rebooted the machine. Check if you rebooted in this kernel via uname -a and unsinstall the old kernel.<br><br>After this, execute on dom0 again:<br>------- Dom 0 Extra Config --------<br>cd ~<br>wget <a href="http://94.212.78.134/res/xenserver/makepv.sh" target="_blank">http://94.212.78.134/res/xenserver/makepv.sh</a><br>chmod +x makepv.sh<br>./makepv.sh YOUR-XEN-GUEST-NAME<br>-----------------------------------<br><br>After this, you can do<br>apt-get install -y cracklib-runtime curl wget ssh openssh-server tcpdump ethtool python-pip git vim-nox sudo<br>and<br>pip install xenapi<br>wget <a href="http://images.ansolabs.com/xen/xe-guest-utilities_5.6.100-651_amd64.deb" target="_blank">http://images.ansolabs.com/xen/xe-guest-utilities_5.6.100-651_amd64.deb</a> -O xe-guest-utilities_5.6.100-651_amd64.deb<br>dpkg -i xe-guest-utilities_5.6.100-651_amd64.deb<br>update-rc.d -f xe-linux-distribution remove<br>update-rc.d xe-linux-distribution defaults<br><br>mkdir -p /usr/share/cracklib<br>echo a | cracklib-packer<br>pwconv<br><br>echo root:password | chpasswd<br><br>rm -f /etc/localtime<br>groupadd libvirtd<br>useradd stack -s /bin/bash -d /opt/stack -G libvirtd<br>echo stack:password | chpasswd<br>echo "stack ALL=(ALL) NOPASSWD: ALL" >> etc/sudoers<br>mkdir -p /opt/stack<br>chown -R stack /opt/stack<br><br>After all this, you can install nova-compute , copy nova.conf from your controller and configure the following vars:<br>--connection_type=xenapi<br>--xenapi_connection_username=root<br>--xenapi_connection_password=password<br>--xenapi_connection_url=http://<<XENDOM0IP>><br><br>and restart your nova-compute service.<br><br>You can test your XenAPI configuration using sudo nova-manage shell python and after pasting this<br>import XenAPI<br>import nova.virt.xenapi_conn<br>nova.virt.xenapi_conn.XenAPI = XenAPI<br>x = nova.virt.xenapi_conn.XenAPIConnection("<a target="_blank">http://<<XENDOM0IP>></a>","root","password")<br>x.list_instances()<br><br>------<br><br>After all this things, i got Xen working, but i have a error with bridge now, as trace below:<br><br>2012-03-23 16:30:00,116 DEBUG nova.virt.xenapi [-] Updating host stats from (pid=23556) update_status /usr/lib/python2.7/dist-packages/nova/virt/xenapi_conn.py:488<br>2012-03-23 16:30:00,988 WARNING nova.virt.xenapi [-] Task [Async.host.call_plugin] OpaqueRef:d7a9f0df-0c7c-a760-6b76-3e985c747b1d status: failure    ['XENAPI_PLUGIN_FAILURE', 'host_data', 'KeyError', "'host_uuid'"]<br>2012-03-23 16:30:00,992 WARNING nova.compute.manager [-] Error during report_driver_status(): ['XENAPI_PLUGIN_FAILURE', 'host_data', 'KeyError', "'host_uuid'"]<br>2<br><br>And yes, my permissions are 777 to all plugins.</span></p><div><p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">> From: todd.deshane@xen.org<br>> Date: Wed, 21 Mar 2012 11:04:19 -0400<br>> To: openstack@lists.launchpad.net<br>> Subject: Re: [Openstack] [OpenStack] Xen Hypervisor<br>> <br>> Just realized my reply was accidentally not sent to the list.<br>> <br>> On Tue, Mar 20, 2012 at 2:03 PM, Todd Deshane <<a href="mailto:todd.deshane@xen.org">todd.deshane@xen.org</a>> wrote:<br>> > Please post specific error messages.<br>> ><br>> > Some general suggestions inline.<br>> ><br>> > On Tue, Mar 20, 2012 at 12:56 PM, Alexandre Leites <<a href="mailto:alex_tkd@live.com">alex_tkd@live.com</a>> wrote:<br>> >> Hi folks,<br>> >><br>> >> First let me say that i'm trying to install xen hypervisor and integrate it<br>> >> with OpenStack for more than one week. I'm studying OpenStack for a company<br>> >> and this company doesn't allow us to use ready scripts (Why? they want to be<br>> >> different from the whole world).<br>> >><br>> >> I have used some links for references:<br>> >> <a href="https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md" target="_blank">https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md</a><br>> >> <a href="http://wiki.openstack.org/XenAPI" target="_blank">http://wiki.openstack.org/XenAPI</a><br>> >> <a href="http://wiki.openstack.org/XenServer/DevStack" target="_blank">http://wiki.openstack.org/XenServer/DevStack</a><br>> >> <a href="http://wiki.openstack.org/XenServer/Install" target="_blank">http://wiki.openstack.org/XenServer/Install</a><br>> >> <a href="http://wiki.openstack.org/XenServerDevelopment" target="_blank">http://wiki.openstack.org/XenServerDevelopment</a><br>> >> <a href="http://wiki.openstack.org/XenXCPAndXenServer" target="_blank">http://wiki.openstack.org/XenXCPAndXenServer</a><br>> >> <a href="http://wiki.xen.org/wiki/XAPI_on_Ubuntu" target="_blank">http://wiki.xen.org/wiki/XAPI_on_Ubuntu</a><br>> >> <a href="http://wiki.xen.org/xenwiki/XAPI_on_debian" target="_blank">http://wiki.xen.org/xenwiki/XAPI_on_debian</a><br>> >> <a href="https://github.com/openstack/openstack-chef/tree/master/cookbooks/xenserver" target="_blank">https://github.com/openstack/openstack-chef/tree/master/cookbooks/xenserver</a><br>> >> <a href="https://review.openstack.org/#change%2c5419" target="_blank">https://review.openstack.org/#change,5419</a><br>> >><br>> >> Me and my coworker are trying to install this and integrate on a running and<br>> >> tested OpenStack infrastructure, so this machines will have just<br>> >> nova-compute service. He is trying with XCP and I with XenServer, so let me<br>> >> introduces our tries:<br>> >><br>> >> 1. XCP On Ubuntu (Kronos)<br>> >> * Install fine<br>> >> * Doesn't work<br>> >><br>> ><br>> > There are devstack scripts that create the VMs for you on this<br>> > xcp-toolstack branch.<br>> > <a href="https://github.com/mcclurmc/devstack/tree/xcp-toolstack" target="_blank">https://github.com/mcclurmc/devstack/tree/xcp-toolstack</a><br>> ><br>> > Kronos hasn't officially been released to anything stable yet, but<br>> > Ubuntu 12.04 and Debian Wheezy should have decently stable support.<br>> ><br>> >> 2. XCP On CentOS<br>> >> * Install fine<br>> >> * We can run a instance of Ubuntu using XenCenter<br>> >> * Installed nova-compute and configured it.<br>> >> * No Errors, but when we try to run a instance on it, appears on an error<br>> >> about XAPI.<br>> >> * We read something about privileged guest, how to set it?<br>> >><br>> ><br>> > It sounds like you need to convert your VM to a PV guest and not a HVM guest.<br>> ><br>> > see:<br>> > <a href="https://lists.launchpad.net/openstack/msg06522.html" target="_blank">https://lists.launchpad.net/openstack/msg06522.html</a><br>> ><br>> >> 3. DevStack (We can't use this, but also tried to)<br>> >> * Install XenServer (or XCP, we tested on both)<br>> >> * Following<br>> >> <a href="https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md" target="_blank">https://github.com/openstack-dev/devstack/blob/master/tools/xen/README.md</a><br>> >> guide<br>> >> * On Step 4, it wont create ALLINONE.xva and give some errors about<br>> >> directories on console (running script with root user on XenServer)<br>> >><br>> > post the specific errors and we can help you work through it.<br>> ><br>> >> I hope that someone can help me solve this problems, and maybe help someone<br>> >> else to install Xen and integrate with OpenStack.<br>> >><br>> >> @OffTopic<br>> >> Why this is so difficult?<br>> ><br>> > We are working on making everything work together smoothly. Sorry that<br>> > you have ran into so much trouble so far.<br>> ><br>> > Cheers,<br>> > Todd<br>> ><br>> > --<br>> > Todd Deshane<br>> > <a href="http://www.linkedin.com/in/deshantm" target="_blank">http://www.linkedin.com/in/deshantm</a><br>> > <a href="http://blog.xen.org/" target="_blank">http://blog.xen.org/</a><br>> > <a href="http://wiki.xen.org/" target="_blank">http://wiki.xen.org/</a><br>> <br>> <br>> <br>> -- <br>> Todd Deshane<br>> <a href="http://www.linkedin.com/in/deshantm" target="_blank">http://www.linkedin.com/in/deshantm</a><br>> <a href="http://blog.xen.org/" target="_blank">http://blog.xen.org/</a><br>> <a href="http://wiki.xen.org/" target="_blank">http://wiki.xen.org/</a><br>> <br>> _______________________________________________<br>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>> Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>> More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div>                                          </div></div></div>                                    </div>
<br>_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp</div></div>                                         </div></body>
</html>