<div dir="ltr">Sorry guys!!! </div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 9, 2015 at 9:05 PM, Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div> </div><div>We have integrate Openstack with vCenter VMware and when i create instance on Openstack GUI it created successfully on VMware but it throwing error on Openstack. Look like openstack trying 3 time to create VM even VM is already running on VMware. I don't know what is wrong here, why openstack doesn't know about running VMware VM status. </div><div> </div><div>Please need your suggesstion to solve this issue.</div><div> </div><div> </div><div>2015-05-09 20:48:48.597 29674 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on <a href="http://172.16.120.14:5672" target="_blank">172.16.120.14:5672</a><br>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']<br>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: lnx1iico08x, weight: 1.0] for instance 060dba43-3065-4927-bf1f-50abdc72da7d<br>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']<br>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: 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"]<br>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: lnx1iico08x, weight: 1.0] for instance 060dba43-3065-4927-bf1f-50abdc72da7d<br>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']<br>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: 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 '060dba43-3065-4927-bf1f-50abdc72da7d' already exists.\n"]<br>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: lnx1iico08x, weight: 1.0] for instance 060dba43-3065-4927-bf1f-50abdc72da7d<br>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']<br>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: 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"]<br>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<br>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.</div></div>
</blockquote></div><br></div>