<div dir="ltr"><span style="font-size:12.8000001907349px">I think you missed my old email which i have sent you screenshot and all logs. let me tell you want to going on... it is very hard to explain...</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">following are happening when i launch instance..  </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">1. Launch instance from openstack GUI - Openstack </div><div style="font-size:12.8000001907349px">2. on VMware side i can see it copy disk and building VM in task bar - VMware </div><div style="font-size:12.8000001907349px">3. after few second it start "Unregister Virtual Machine" Error - The attempted operation can't be performed in current state ( Powered On) </div><div style="font-size:12.8000001907349px">4. deleting file Error - can't delete file [ Blah..Blah] data store... </div><div style="font-size:12.8000001907349px">5. but if i check on VM console on VMware i can see machine successfully booted. </div><div style="font-size:12.8000001907349px">6. But if i check on Openstack GUI it is showing error - "No valid host found" blah...blah.. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Interesting part is when i reboot that VM on VMware manually then i got error "VMDK" not found.. i don't know what is going on.. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">If i create VM on VMware using vCenter i can see that VM on openstack GUI, also i can start/stop everything without error, </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Only issue is when i launch instance from Openstack GUI it trying three time and give up but on VMware machine is booted but after reboot it delete VMDK :( </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Please check my old email which i directly sent you with all config and screenshot. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 12, 2015 at 12:03 PM, Gary Kotton <span dir="ltr"><<a href="mailto:gkotton@vmware.com" target="_blank">gkotton@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi,</div>
<div>Can you please check on your VC – it looks like you already have an instance called - <span style="font-family:Calibri;font-size:13px">35e1ac5c-013d-458d-ad2e-af20987cca1</span></div>
<div><span style="font-family:Calibri;font-size:13px">Thanks</span></div>
<div><span style="font-family:Calibri;font-size:13px">Gary</span></div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, May 12, 2015 at 8:28 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>" <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack] Openstack VMware integration issue<br>
</div><div><div class="h5">
<div><br>
</div>
<div>
<div>
<div dir="ltr">We have successfully integrate Openstack (2014.1.2.1) with VMware (6.x). 
<div><br>
</div>
<div>I can see VMware hypervisour on Openstack GUI but when i go and launch VM i am seeing following error in scheduler.log</div>
<div><br>
</div>
<div>Seems BUG in VCDriver, any suggestion? </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:12.8000001907349px">
<div>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']</div>
<div>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"]</div>
<div>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</div>
<div>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']</div>
<div>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"]</div>
<div>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</div>
<div>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']</div>
<div>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"]</div>
<div>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</div>
<div>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.</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></span>
</div>

</blockquote></div><br></div>