[Openstack] URGENT - Openstack + VMWare VM deployed but openstack doesn't know

Satish Patel satish.txt at gmail.com
Sun May 10 01:23:24 UTC 2015


We have integrate Openstack with VMware (vCenter 6.x), If i launch instance
from openstack GUI and VM has been deployed on VMware but still openstack
think its not deployed and it tried 3 time to create VM and in end throwing
error in status but i can see VM is up and running on VMware Host. What is
wrong with openstack?



2015-05-09 20:48:48.625 29674 INFO nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Attempting to build 1 instance(s) uuids:
[u'060dba43-3065-4927-bf1f-50abdc72da7d']
2015-05-09 20:48:48.695 29674 INFO nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Choosing host WeighedHost [host: lnx01,
weight: 1.0] for instance 060dba43-3065-4927-bf1f-50abdc72da7d
2015-05-09 20:49:48.299 29674 INFO nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Attempting to build 1 instance(s) uuids:
[u'060dba43-3065-4927-bf1f-50abdc72da7d']
2015-05-09 20:49:48.302 29674 ERROR nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
060dba43-3065-4927-bf1f-50abdc72da7d] Error from last host: lnx01 (node
domain-c18(IMP-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-09 20:49:48.366 29674 INFO nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Choosing host WeighedHost [host: lnx01,
weight: 1.0] for instance 060dba43-3065-4927-bf1f-50abdc72da7d
2015-05-09 20:49:59.409 29674 INFO nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Attempting to build 1 instance(s) uuids:
[u'060dba43-3065-4927-bf1f-50abdc72da7d']
2015-05-09 20:49:59.411 29674 ERROR nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
060dba43-3065-4927-bf1f-50abdc72da7d] Error from last host: lnx01 (node
domain-c18(IMP-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 '060dba43-3065-4927-bf1f-50abdc72da7d' already exists.\n"]
2015-05-09 20:49:59.442 29674 INFO nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Choosing host WeighedHost [host: lnx01,
weight: 1.0] for instance 060dba43-3065-4927-bf1f-50abdc72da7d
2015-05-09 20:53:52.339 29674 INFO nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Attempting to build 1 instance(s) uuids:
[u'060dba43-3065-4927-bf1f-50abdc72da7d']
2015-05-09 20:53:52.341 29674 ERROR nova.scheduler.filter_scheduler
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
060dba43-3065-4927-bf1f-50abdc72da7d] Error from last host: lnx01 (node
domain-c18(IMP-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-09 20:53:52.342 29674 WARNING nova.scheduler.utils
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] Failed to scheduler_run_instance: No
valid host was found. Exceeded max scheduling attempts 3 for instance
060dba43-3065-4927-bf1f-50abdc72da7d
2015-05-09 20:53:52.344 29674 WARNING nova.scheduler.utils
[req-1e440c82-21c4-4010-9d99-b2623c7547a1 b872b754f8774f64b3344e1ef9c245db
49de35ef22bb4bb08355fb2bb163a588] [instance:
060dba43-3065-4927-bf1f-50abdc72da7d] Setting instance to ERROR state.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150509/3cace109/attachment.html>


More information about the Openstack mailing list