Ask Your Question
0

openstack nova vmware Instance failed to spawn

asked 2016-08-17 11:10:35 -0500

bash3 gravatar image

updated 2016-08-18 15:12:37 -0500

rbowen gravatar image

I used to manage the compute nodes openstack vmwawre vcenter6.0, Log shows Successfully established new session; session ID is a12a8. INFO nova.virt.vmwareapi.driver [-] VMware vCenter version: 6.0.0 on compute node,and can detect hardware information for esxi, I create an instance by dashboard, and use the field to start on the call control instance vcenter api computing nodes , the network is to create an instance vxlan tips "No valid host was found. There are not enough hosts available."
I hope to get help.

nova-compute.log on compute node:

2016-08-17 23:03:24.412 19215 INFO nova.compute.claims [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] Total memory: 59310 MB, used: 512.00 MB
2016-08-17 23:03:24.413 19215 INFO nova.compute.claims [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] memory limit: 88965.00 MB, free: 88453.00 MB
2016-08-17 23:03:24.414 19215 INFO nova.compute.claims [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] Total disk: 2047 GB, used: 0.00 GB
2016-08-17 23:03:24.414 19215 INFO nova.compute.claims [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] disk limit: 2047.00 GB, free: 2047.00 GB
2016-08-17 23:03:24.415 19215 INFO nova.compute.claims [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] Total vcpu: 24 VCPU, used: 0.00 VCPU
2016-08-17 23:03:24.415 19215 INFO nova.compute.claims [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] vcpu limit not specified, defaulting to unlimited
2016-08-17 23:03:24.435 19215 INFO nova.compute.claims [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] Claim successful
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [req-a00cc76b-59e6-4c45-9c06-92feb3484d1f 33c9da38764f478d8b690b155e01b3f6 aea22082d8a54fa3a3fcdb113cf117c2 - - -] [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] Instance failed to spawn
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef] Traceback (most recent call last):
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]     yield resources
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]     block_device_info=block_device_info)
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/driver.py", line 381, in spawn
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]     admin_password, network_info, block_device_info)
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 724, in spawn
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]     metadata)
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]   File "/usr/lib/python2.7/site-packages/nova/virt/vmwareapi/vmops.py", line 304, in build_virtual_machine
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]     network_info)
2016-08-17 23:03:26.820 19215 ERROR nova.compute.manager [instance: 61efc5dc-89a9-4831-a61c-0689779dddef]   File ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-24 12:51:52 -0500

carlosedp gravatar image

Have you deployed an instance with a VMDK image? VMware ESXi doesn't support QCOW images. You can convert between formats and upload it back to Glance.

Check this guide: http://docs.openstack.org/image-guide...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-17 11:10:35 -0500

Seen: 243 times

Last updated: Aug 24 '16