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...
following are happening when i launch instance.. 1. Launch instance from openstack GUI - Openstack 2. on VMware side i can see it copy disk and building VM in task bar - VMware 3. after few second it start "Unregister Virtual Machine" Error - The attempted operation can't be performed in current state ( Powered On) 4. deleting file Error - can't delete file [ Blah..Blah] data store... 5. but if i check on VM console on VMware i can see machine successfully booted. 6. But if i check on Openstack GUI it is showing error - "No valid host found" blah...blah.. 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.. If i create VM on VMware using vCenter i can see that VM on openstack GUI, also i can start/stop everything without error, 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 :( Please check my old email which i directly sent you with all config and screenshot. On Tue, May 12, 2015 at 12:03 PM, Gary Kotton <gkot...@vmware.com> wrote: > Hi, > Can you please check on your VC – it looks like you already have an > instance called - 35e1ac5c-013d-458d-ad2e-af20987cca1 > Thanks > Gary > > From: Satish Patel <satish....@gmail.com> > Date: Tuesday, May 12, 2015 at 8:28 AM > To: "openstack@lists.openstack.org" <openstack@lists.openstack.org> > Subject: [Openstack] Openstack VMware integration issue > > 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. > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack