<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Afef,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There was a regression in Icehouse that broke XenAPI aggregates. This has been fixed in Juno, however we would recommend you use live migrate with block migration
(using XCP 1.6 or XenServer 6.2 – which is Free as well now, see <a href="http://lists.openstack.org/pipermail/openstack-dev/2013-September/014556.html">
http://lists.openstack.org/pipermail/openstack-dev/2013-September/014556.html</a>).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Bob<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div 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="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Afef Mdhaffar [mailto:afef.mdhaffar@gmail.com]
<br>
<b>Sent:</b> 14 July 2014 22:58<br>
<b>To:</b> openstack@lists.launchpad.net; openstack@lists.openstack.org; OpenStack Development Mailing List<br>
<b>Subject:</b> [openstack-dev] Devstack (icehouse) - XCP - enable live migration<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi all, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I have installed the latest release of openstack (icehouse) via devstack.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I use XCP and would like to activate the "live migration" functionality. Therefore, I tried to set up the pool with creating "host aggregate".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">After adding the slave compute, nova-compute does not want to start any more and shows the following error. Could you please help me to fix this issue.<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 CRITICAL nova [req-c7965812-76cb-4479-8947-edd70644cd3d None None] AttributeError: 'Aggregate' object has no attribute 'metadetails'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova Traceback (most recent call last):<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/usr/local/bin/nova-compute", line 10, in <module><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova sys.exit(main())<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/cmd/compute.py", line 72, in main<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova db_allowed=CONF.conductor.use_local)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/service.py", line 273, in create<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova db_allowed=db_allowed)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/service.py", line 147, in __init__<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova self.manager = manager_class(host=self.host, *args, **kwargs)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/compute/manager.py", line 597, in __init__<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova self.driver = driver.load_compute_driver(self.virtapi, compute_driver)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/virt/driver.py", line 1299, in load_compute_driver<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova virtapi)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/openstack/common/importutils.py", line 50, in import_object_ns<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova return import_class(import_value)(*args, **kwargs)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 156, in __init__<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova self._session = session.XenAPISession(url, username, password)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/virt/xenapi/client/session.py", line 87, in __init__<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova self.host_uuid = self._get_host_uuid()<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova File "/opt/stack/nova/nova/virt/xenapi/client/session.py", line 140, in _get_host_uuid<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova return aggr.metadetails[CONF.host]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova AttributeError: 'Aggregate' object has no attribute 'metadetails'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2014-07-14 21:45:13.933 TRACE nova <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>