<div dir="ltr"><div><span class="">Nova-compute</span> <span class="">the first</span> <span class="">successful</span> <span class="">connection</span> <span class="">MASTER XENSERVER</span></div><div><span class=""><br></span></div>
<span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">I discover, that I can't set up nova-compute on "second host" in XenServer pool</span><br style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">
<span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">which is created by XenServer (without OpenStack aggregate), error is same. To</span><br style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">
<span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">master host nova-compute connects successfully. I tested this in two different</span><br style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">
<span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">XenServer 6.2 pools.
Is there some solution how can start to work "second host's" nova-computes?</span><br><div><br></div><div><div id="gt-src-c" class=""><div id="gt-src-p"><div class="" id="gt-src-wrap"><div id="gt-src-tools">
<div id="gt-src-tools-r"></div></div></div> <div id="gt-src-ex"></div></div> </div> <div id="gt-res-c" class=""><div id="gt-res-p"><div id="gt-res-data"><div id="gt-res-wrap"><div id="gt-res-content" class=""><div dir="ltr" style="zoom:1">
<div id="tts_button" class=""></div><span id="result_box" class="" lang="en"><span class="">The second</span> <span class="">nova-compute</span> <span class="">connected</span> <span class="">SLAVE XENSERVER</span> <span class="">following</span> <span class="">error</span> <span class="">LOG</span></span></div>
</div></div></div></div></div></div><div><span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">Add Aggregate reference </span><font color="#000000" face="Arial, Helvetica, Luxi Sans, sans-serif"><span style="font-size:14px;white-space:pre"><a href="https://wiki.openstack.org/wiki/XenServer/LiveMigration">https://wiki.openstack.org/wiki/XenServer/LiveMigration</a></span></font></div>
<div><span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre"><br></span></div><div><font color="#000000" face="Arial, Helvetica, Luxi Sans, sans-serif"><span style="font-size:14px;white-space:pre">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 </span></font><span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre">
</span></div><div><span style="color:rgb(0,0,0);font-family:Arial,Helvetica,'Luxi Sans',sans-serif;font-size:14px;white-space:pre"><br></span></div></div>