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

Afef Mdhaffar afef.mdhaffar at gmail.com
Mon Jul 14 21:57:35 UTC 2014


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/20140714/58834e5f/attachment.html>


More information about the OpenStack-dev mailing list