vmware with openstack

asked 2012-11-23 11:40:37 -0600

kallel-ameni gravatar image

I'm using OpenStack folsom edition to run VMs with ESXi.While creating an instance getting "Spawning" error. Please help.

012-11-23 12:36:34 DEBUG nova.openstack.common.rpc.amqp [-] Making asynchronous call on network ... from (pid=5064) multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:351 2012-11-23 12:36:34 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is da85a5b1cd984951b48a896c8e8a8b9a from (pid=5064) multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:354 2012-11-23 12:36:35 DEBUG nova.compute.manager [req-cbada8b1-7f6a-4dd7-9e4d-7afc55985830 f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] Instance network_info: |[VIF({'network': Network({'bridge': u'br100', 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': u'fixed', 'floating_ips': [], 'address': u'192.168.22.34'})], 'version': 4, 'meta': {u'dhcp_server': u'192.168.22.33'}, 'dns': [IP({'meta': {}, 'version': 4, 'type': u'dns', 'address': u'8.8.4.4'})], 'routes': [], 'cidr': u'192.168.22.32/27', 'gateway': IP({'meta': {}, 'version': 4, 'type': u'gateway', 'address': u'192.168.22.33'})}), Subnet({'ips': [], 'version': None, 'meta': {u'dhcp_server': None}, 'dns': [], 'routes': [], 'cidr': None, 'gateway': IP({'meta': {}, 'version': None, 'type': u'gateway', 'address': None})})], 'meta': {u'tenant_id': None, u'should_create_bridge': True, u'bridge_interface': u'eth0'}, 'id': u'5195a801-d9c1-4df4-ad65-40d6f638270f', 'label': u'private'}), 'meta': {}, 'id': u'80abb203-0094-430b-ae5c-3995e6413c27', 'address': u'fa:16:3e:3b:fe:86'})]| from (pid=5064) _allocate_network /usr/lib/python2.7/dist-packages/nova/compute/manager.py:715 2012-11-23 12:36:35 DEBUG nova.utils [req-cbada8b1-7f6a-4dd7-9e4d-7afc55985830 f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] Got semaphore "compute_resources" for method "begin_resource_claim"... from (pid=5064) inner /usr/lib/python2.7/dist-packages/nova/utils.py:713 2012-11-23 12:36:35 DEBUG nova.utils [req-cbada8b1-7f6a-4dd7-9e4d-7afc55985830 f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] Got semaphore "compute_resources" for method "update_usage"... from (pid=5064) inner /usr/lib/python2.7/dist-packages/nova/utils.py:713 2012-11-23 12:36:35 DEBUG nova.utils [req-cbada8b1-7f6a-4dd7-9e4d-7afc55985830 f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] Got semaphore "compute_resources" for method "update_usage"... from (pid=5064) inner /usr/lib/python2.7/dist-packages/nova/utils.py:713 2012-11-23 12:36:35 DEBUG nova.utils [req-cbada8b1-7f6a-4dd7-9e4d-7afc55985830 f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] Got semaphore "compute_resources" for method "update_usage"... from (pid=5064) inner /usr/lib/python2.7/dist-packages/nova/utils.py:713 2012-11-23 12:36:35 ERROR nova.compute.manager [req-cbada8b1-7f6a-4dd7-9e4d-7afc55985830 f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] Instance failed to spawn 2012-11-23 12:36:35 TRACE nova.compute.manager [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] Traceback (most recent call last): 2012-11-23 12:36:35 TRACE nova.compute.manager [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 743, in _spawn 2012-11-23 12:36:35 TRACE nova.compute.manager [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] block_device_info) 2012-11-23 12:36:35 TRACE nova.compute.manager [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 132, in spawn 2012-11-23 12:36:35 TRACE nova.compute.manager [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] self._vmops.spawn(context, instance, image_meta, network_info) 2012-11-23 12:36:35 TRACE nova.compute.manager [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 101, in spawn 2012-11-23 12:36:35 TRACE nova.compute.manager [instance: f2ac32e6-3a0b-4b46-9416-946d69dc29c0] vm_ref = self._get_vm_ref_from_the_name(instance.name) 2012-11-23 12:36:35 TRACE nova ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-11-24 04:11:37 -0600

dims-v gravatar image

Please try the patch in bug 1063885

edit flag offensive delete link more
0

answered 2012-11-27 08:34:49 -0600

kallel-ameni gravatar image

Thanks for your help, but i still have the "spawning " error with different cause:

"status: error File [datastore1] instance-0000002a/instance-0000002a.vmdk was not found"

I verified that this path (/vmfs/volumes/datastore1/instance-0000002a/instance-0000002a.vmdk) exist in the vmware server.

This is my log:

2012-11-27 09:26:57 DEBUG nova.virt.vmwareapi.driver [-] Task [ReconfigVM_Task] (returnval){ value = "haTask-11-vim.VirtualMachine.reconfigure-136416682" _type = "Task" } status: success from (pid=7278) _poll_task /usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py:394 2012-11-27 09:26:57 DEBUG nova.virt.vmwareapi.vmops [req-3ee2e839-bc16-431f-aeb2-a572a9e809de f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] Reconfigured VM instance to attach the image disk from (pid=7278) _attach_vmdk_to_the_vm /usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py:327 2012-11-27 09:26:57 DEBUG nova.virt.vmwareapi.vmops [req-3ee2e839-bc16-431f-aeb2-a572a9e809de f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] Powering on the VM instance from (pid=7278) _power_on_vm /usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py:333 2012-11-27 09:27:03 WARNING nova.virt.vmwareapi.driver [-] Task [PowerOnVM_Task] (returnval){ value = "haTask-11-vim.VirtualMachine.powerOn-136416683" _type = "Task" } status: error File [datastore1] instance-0000002a/instance-0000002a.vmdk was not found 2012-11-27 09:27:03 ERROR nova.compute.manager [req-3ee2e839-bc16-431f-aeb2-a572a9e809de f0f2bd8fcbd541a4906d3aed9c0e6626 d175f8051d604718aa2a7823f77e4337] [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] Instance failed to spawn 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] Traceback (most recent call last): 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 743, in _spawn 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] block_device_info) 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 132, in spawn 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] self._vmops.spawn(context, instance, image_meta, network_info) 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 340, in spawn 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] _power_on_vm() 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/vmops.py", line 338, in _power_on_vm 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] self._session._wait_for_task(instance['uuid'], power_on_task) 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 377, in _wait_for_task 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] ret_val = done.wait() 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] return hubs.get_hub().switch() 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] return self.greenlet.switch() 2012-11-27 09:27:03 TRACE nova.compute.manager [instance: 1e68ba0a-21b6-4e11-ab80-11b6a090fe7b] NovaException: File [datastore1] instance-0000002a/instance-0000002a.vmdk was not found 2012-11-27 09:27:03 ... (more)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-11-23 11:40:37 -0600

Seen: 57 times

Last updated: Nov 27 '12