[Openstack] Openstack VMware integration issue
Satish Patel
satish.txt at gmail.com
Tue May 12 15:28:53 UTC 2015
We have successfully integrate Openstack (2014.1.2.1) with VMware (6.x).
I can see VMware hypervisour on Openstack GUI but when i go and launch VM i
am seeing following error in scheduler.log
Seems BUG in VCDriver, any suggestion?
2015-05-10 22:08:13.931 15964 INFO nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Attempting to build 1 instance(s) uuids:
[u'35e1ac5c-013d-458d-ad2e-af20987cca17']
2015-05-10 22:08:13.933 15964 ERROR nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
35e1ac5c-013d-458d-ad2e-af20987cca17] Error from last host: lnx1iico08x
(node domain-c18(ICO-VM)): [u'Traceback (most recent call last):\n', u'
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1340, in _build_instance\n set_access_ip=set_access_ip)\n', u' File
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 401, in
decorated_function\n return function(self, context, *args, **kwargs)\n',
u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1779, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'),
instance=instance)\n', u' File
"/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line
68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u'
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1765, in _spawn\n block_device_info)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 854,
in spawn\n admin_password, network_info, block_device_info)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 757,
in spawn\n _power_on_vm()\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 540,
in _power_on_vm\n self._session._wait_for_task(power_on_task)\n', u'
File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py",
line 1220, in _wait_for_task\n ret_val = done.wait()\n', u' File
"/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait\n
return hubs.get_hub().switch()\n', u' File
"/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in
switch\n return self.greenlet.switch()\n', u"AttributeError: TaskInfo
instance has no attribute 'name'\n"]
2015-05-10 22:08:13.967 15964 INFO nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Choosing host WeighedHost [host:
lnx1iico08x, weight: 1.0] for instance 35e1ac5c-013d-458d-ad2e-af20987cca17
2015-05-10 22:08:20.682 15964 INFO nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Attempting to build 1 instance(s) uuids:
[u'35e1ac5c-013d-458d-ad2e-af20987cca17']
2015-05-10 22:08:20.691 15964 ERROR nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
35e1ac5c-013d-458d-ad2e-af20987cca17] Error from last host: lnx1iico08x
(node domain-c18(ICO-VM)): [u'Traceback (most recent call last):\n', u'
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1340, in _build_instance\n set_access_ip=set_access_ip)\n', u' File
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 401, in
decorated_function\n return function(self, context, *args, **kwargs)\n',
u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1779, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'),
instance=instance)\n', u' File
"/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line
68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u'
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1765, in _spawn\n block_device_info)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 854,
in spawn\n admin_password, network_info, block_device_info)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 418,
in spawn\n _execute_create_vm()\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 414,
in _execute_create_vm\n self._session._wait_for_task(vm_create_task)\n',
u' File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py",
line 1220, in _wait_for_task\n ret_val = done.wait()\n', u' File
"/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait\n
return hubs.get_hub().switch()\n', u' File
"/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in
switch\n return self.greenlet.switch()\n', u"VMwareDriverException: The
name '35e1ac5c-013d-458d-ad2e-af20987cca17' already exists.\n"]
2015-05-10 22:08:20.714 15964 INFO nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Choosing host WeighedHost [host:
lnx1iico08x, weight: 1.0] for instance 35e1ac5c-013d-458d-ad2e-af20987cca17
2015-05-10 22:09:13.129 15964 INFO nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Attempting to build 1 instance(s) uuids:
[u'35e1ac5c-013d-458d-ad2e-af20987cca17']
2015-05-10 22:09:13.131 15964 ERROR nova.scheduler.filter_scheduler
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
35e1ac5c-013d-458d-ad2e-af20987cca17] Error from last host: lnx1iico08x
(node domain-c18(ICO-VM)): [u'Traceback (most recent call last):\n', u'
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1340, in _build_instance\n set_access_ip=set_access_ip)\n', u' File
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 401, in
decorated_function\n return function(self, context, *args, **kwargs)\n',
u' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1779, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'),
instance=instance)\n', u' File
"/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line
68, in __exit__\n six.reraise(self.type_, self.value, self.tb)\n', u'
File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line
1765, in _spawn\n block_device_info)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 854,
in spawn\n admin_password, network_info, block_device_info)\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 757,
in spawn\n _power_on_vm()\n', u' File
"/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 540,
in _power_on_vm\n self._session._wait_for_task(power_on_task)\n', u'
File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py",
line 1220, in _wait_for_task\n ret_val = done.wait()\n', u' File
"/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait\n
return hubs.get_hub().switch()\n', u' File
"/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 187, in
switch\n return self.greenlet.switch()\n', u"AttributeError: TaskInfo
instance has no attribute 'name'\n"]
2015-05-10 22:09:13.132 15964 WARNING nova.scheduler.utils
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Failed to scheduler_run_instance: No
valid host was found. Exceeded max scheduling attempts 3 for instance
35e1ac5c-013d-458d-ad2e-af20987cca17
2015-05-10 22:09:13.134 15964 WARNING nova.scheduler.utils
[req-731cbaa5-5a71-439d-81cc-01053a9c962b b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
35e1ac5c-013d-458d-ad2e-af20987cca17] Setting instance to ERROR state.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150512/d0c652b6/attachment.html>
More information about the Openstack
mailing list