[Openstack-operators] OpenStack Havana+ XenServer6.2 Seek help

Bob Ball bob.ball at citrix.com
Mon Jun 9 08:35:03 UTC 2014


Hi Yungho,

The use of aggregates with XenServer pools in this fashion is not very well tested – unless you absolutely need shared storage (i.e. live storage migration is not sufficient) then we’d advise you don’t use aggregates with pools like this.

This was a known regression at release time and it is fixed now.

Bob

From: yungho [mailto:yungho5054 at gmail.com]
Sent: 09 June 2014 04:57
To: openstack-operators at lists.openstack.org
Subject: [Openstack-operators] OpenStack Havana+ XenServer6.2 Seek help

Nova-compute the first successful connection MASTER XENSERVER

I discover, that I can't set up nova-compute on "second host" in XenServer pool
which is created by XenServer (without OpenStack aggregate), error is same. To
master host nova-compute connects successfully. I tested this in two different
XenServer 6.2 pools.
Is there some solution how can start to work "second host's" nova-computes?

The second nova-compute connected SLAVE XENSERVER following error LOG

Add Aggregate reference https://wiki.openstack.org/wiki/XenServer/LiveMigration

2014-06-09 01:57:56.664 2640 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-06-09 01:57:56.679 2640 DEBUG stevedore.extension [-] found extension EntryPoint.parse('file = nova.image.download.file') _load_plugins /usr/lib/python2.7/dist-packages/stevedore/extension.py:84
2014-06-09 01:57:56.713 2640 INFO nova.virt.driver [-] Loading compute driver 'xenapi.XenAPIDriver'
2014-06-09 01:57:57.302 2640 CRITICAL nova [-] 'XenAPISession' object has no attribute '_virtapi'
2014-06-09 01:57:57.302 2640 TRACE nova Traceback (most recent call last):
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/bin/nova-compute", line 10, in <module>
2014-06-09 01:57:57.302 2640 TRACE nova     sys.exit(main())
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/compute.py", line 68, in main
2014-06-09 01:57:57.302 2640 TRACE nova     db_allowed=False)
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 257, in create
2014-06-09 01:57:57.302 2640 TRACE nova     db_allowed=db_allowed)
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 139, in __init__
2014-06-09 01:57:57.302 2640 TRACE nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 456, in __init__
2014-06-09 01:57:57.302 2640 TRACE nova     self.driver = driver.load_compute_driver(self.virtapi, compute_driver)
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1127, in load_compute_driver
2014-06-09 01:57:57.302 2640 TRACE nova     virtapi)
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 52, in import_object_ns
2014-06-09 01:57:57.302 2640 TRACE nova     return import_class(import_value)(*args, **kwargs)
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 144, in __init__
2014-06-09 01:57:57.302 2640 TRACE nova     self._session = XenAPISession(url, username, password, self.virtapi)
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 675, in __init__
2014-06-09 01:57:57.302 2640 TRACE nova     self.host_uuid = self._get_host_uuid()
2014-06-09 01:57:57.302 2640 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/virt/xenapi/driver.py", line 725, in _get_host_uuid
2014-06-09 01:57:57.302 2640 TRACE nova     aggr = self._virtapi.aggregate_get_by_host(
2014-06-09 01:57:57.302 2640 TRACE nova AttributeError: 'XenAPISession' object has no attribute '_virtapi'
2014-06-09 01:57:57.302 2640 TRACE nova

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140609/db78bbc8/attachment.html>


More information about the OpenStack-operators mailing list