Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Getting error when we create instance with VMDK file in ESXi hypervisor

Hi Guys,

we have successfully configured open stack controller with Hypervisor as ESXi and able to see hypervisor as below. root@controller:~/images# nova hypervisor-list +----+---------------------+ | ID | Hypervisor hostname | +----+---------------------+ | 4 | 10.37.39.46 | +----+---------------------+ root@controller:~/images#

when we create any instance with glance image RHEL vmdk file , we are getting error message in /var/log/nova/nova-compute.conf file;

2014-02-14 20:02:09.737 21400 AUDIT nova.compute.manager [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Starting instance... 2014-02-14 20:02:10.071 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Attempting claim: memory 1024 MB, disk 10 GB, VCPUs 1 2014-02-14 20:02:10.071 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Total Memory: 4095 MB, used: 1536.00 MB 2014-02-14 20:02:10.072 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Memory limit: 6142.50 MB, free: 4606.50 MB 2014-02-14 20:02:10.072 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Total Disk: 94 GB, used: 10.00 GB 2014-02-14 20:02:10.073 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Disk limit not specified, defaulting to unlimited 2014-02-14 20:02:10.073 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Total CPU: 8 VCPUs, used: 1.00 VCPUs 2014-02-14 20:02:10.074 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] CPU limit not specified, defaulting to unlimited 2014-02-14 20:02:10.074 21400 AUDIT nova.compute.claims [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Claim successful 2014-02-14 20:02:12.850 21400 WARNING nova.virt.vmwareapi.driver [-] Task [CreateVM_Task] (returnval){ value = "haTask-ha-folder-vm-vim.Folder.createVm-487143598" _type = "Task" } status: error A specified parameter was not correct.

2014-02-14 20:02:12.851 21400 ERROR nova.compute.manager [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Instance failed to spawn 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Traceback (most recent call last): 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, in _spawn 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] block_device_info) 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 186, in spawn 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] admin_password, network_info, block_device_info) 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 261, in spawn 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] _execute_create_vm() 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 257, in _execute_create_vm 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] self._session._wait_for_task(instance['uuid'], vm_create_task) 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 900, in _wait_for_task 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] ret_val = done.wait() 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] return hubs.get_hub().switch() 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] return self.greenlet.switch() 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] NovaException: A specified parameter was not correct. 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] 2014-02-14 20:02:12.851 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] 2014-02-14 20:02:12.959 21400 AUDIT nova.compute.manager [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Terminating instance 2014-02-14 20:02:13.275 21400 ERROR nova.virt.vmwareapi.vmops [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Instance 564e2398-a41c-449f-90a1-2d1120fc0316 could not be found. 2014-02-14 20:02:13.275 21400 TRACE nova.virt.vmwareapi.vmops [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Traceback (most recent call last): 2014-02-14 20:02:13.275 21400 TRACE nova.virt.vmwareapi.vmops [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 899, in destroy 2014-02-14 20:02:13.275 21400 TRACE nova.virt.vmwareapi.vmops [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] vm_ref = vm_util.get_vm_ref(self._session, instance) 2014-02-14 20:02:13.275 21400 TRACE nova.virt.vmwareapi.vmops [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vm_util.py", line 658, in get_vm_ref 2014-02-14 20:02:13.275 21400 TRACE nova.virt.vmwareapi.vmops [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] raise exception.InstanceNotFound(instance_id=instance['uuid']) 2014-02-14 20:02:13.275 21400 TRACE nova.virt.vmwareapi.vmops [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] InstanceNotFound: Instance 564e2398-a41c-449f-90a1-2d1120fc0316 could not be found. 2014-02-14 20:02:13.275 21400 TRACE nova.virt.vmwareapi.vmops [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] 2014-02-14 20:02:13.877 21400 ERROR nova.compute.manager [req-d9e16955-13f0-464b-abab-0bd8c4e5b26d 4eb23b1eb90845e6a0f62ac1dafec739 57c7ad7709244d83b1b6b241140a88ff] [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Error: A specified parameter was not correct. 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] Traceback (most recent call last): 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1037, in _build_instance 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] set_access_ip=set_access_ip) 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1410, in _spawn 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] LOG.exception(_('Instance failed to spawn'), instance=instance) 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, in _spawn 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] block_device_info) 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 186, in spawn 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] admin_password, network_info, block_device_info) 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 261, in spawn 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] _execute_create_vm() 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 257, in _execute_create_vm 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] self._session._wait_for_task(instance['uuid'], vm_create_task) 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 900, in _wait_for_task 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] ret_val = done.wait() 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] return hubs.get_hub().switch() 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] return self.greenlet.switch() 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] NovaException: A specified parameter was not correct. 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] 2014-02-14 20:02:13.877 21400 TRACE nova.compute.manager [instance: 564e2398-a41c-449f-90a1-2d1120fc0316] 2014-02-14 20:02:17.854 21400 WARNING nova.virt.vmwareapi.driver [-] Task [CreateVM_Task] (returnval){ value = "haTask-ha-folder-vm-vim.Folder.createVm-487143598" _type = "Task" } status: error A specified parameter was not correct.

2014-02-14 20:02:17.855 21400 WARNING nova.virt.vmwareapi.driver [-] In vmwareapi:_poll_task, Got this error Trying to re-send() an already-triggered event. 2014-02-14 20:02:17.855 21400 ERROR nova.openstack.common.loopingcall [-] in fixed duration looping call 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall Traceback (most recent call last): 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall File "/usr/lib/python2.7/dist-packages/nova/openstack/common/loopingcall.py", line 78, in _inner 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall self.f(self.args, *self.kw) 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 929, in _poll_task 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall done.send_exception(excep) 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 208, in send_exception 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall return self.send(None, args) 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 150, in send 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall assert self._result is NOT_USED, 'Trying to re-send() an already-triggered event.' 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall AssertionError: Trying to re-send() an already-triggered event. 2014-02-14 20:02:17.855 21400 TRACE nova.openstack.common.loopingcall

can some one help on the same. and reach me unxprabhakar@gmail.com