[openstack-dev] Devstack (icehouse) - XCP - enable live migration

Bob Ball bob.ball at citrix.com
Tue Jul 15 12:51:05 UTC 2014


Hi Afef,

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 http://lists.openstack.org/pipermail/openstack-dev/2013-September/014556.html).

Thanks,

Bob

From: Afef Mdhaffar [mailto:afef.mdhaffar at gmail.com]
Sent: 14 July 2014 22:58
To: openstack at lists.launchpad.net; openstack at lists.openstack.org; OpenStack Development Mailing List
Subject: [openstack-dev] Devstack (icehouse) - XCP - enable live migration

Hi all,

I have installed the latest release of openstack (icehouse) via devstack.
I use XCP and would like to activate the "live migration" functionality. Therefore, I tried to set up the pool with creating "host aggregate".
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.
2014-07-14 21:45:13.933 CRITICAL nova [req-c7965812-76cb-4479-8947-edd70644cd3d None None] AttributeError: 'Aggregate' object has no attribute 'metadetails'

2014-07-14 21:45:13.933 TRACE nova Traceback (most recent call last):
2014-07-14 21:45:13.933 TRACE nova   File "/usr/local/bin/nova-compute", line 10, in <module>
2014-07-14 21:45:13.933 TRACE nova     sys.exit(main())
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/cmd/compute.py", line 72, in main
2014-07-14 21:45:13.933 TRACE nova     db_allowed=CONF.conductor.use_local)
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/service.py", line 273, in create
2014-07-14 21:45:13.933 TRACE nova     db_allowed=db_allowed)
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/service.py", line 147, in __init__
2014-07-14 21:45:13.933 TRACE nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/compute/manager.py", line 597, in __init__
2014-07-14 21:45:13.933 TRACE nova     self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/virt/driver.py", line 1299, in load_compute_driver
2014-07-14 21:45:13.933 TRACE nova     virtapi)
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/openstack/common/importutils.py", line 50, in import_object_ns
2014-07-14 21:45:13.933 TRACE nova     return import_class(import_value)(*args, **kwargs)
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 156, in __init__
2014-07-14 21:45:13.933 TRACE nova     self._session = session.XenAPISession(url, username, password)
2014-07-14 21:45:13.933 TRACE nova   File "/opt/stack/nova/nova/virt/xenapi/client/session.py", line 87, in __init__
2014-07-14 21:45:13.933 TRACE nova     self.host_uuid = self._get_host_uuid()
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
2014-07-14 21:45:13.933 TRACE nova     return aggr.metadetails[CONF.host]
2014-07-14 21:45:13.933 TRACE nova AttributeError: 'Aggregate' object has no attribute 'metadetails'
2014-07-14 21:45:13.933 TRACE nova

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140715/56b7c8d4/attachment.html>


More information about the OpenStack-dev mailing list