unable to create instance in a single node controller

asked 2015-04-11 01:08:18 -0500

SophieChan gravatar image

updated 2015-04-17 04:10:03 -0500

SGPJ gravatar image

nova-scheduler.log

2015-04-09 09:52:28.263 9768 ERROR nova.scheduler.filter_scheduler [req-104e899f-d504-44a6-ac8a-511ad9d23166 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 6639373e-80c2-4a0f-a1e6-ca495d81ba7f] Error from last host: ubuntu (node ubuntu.ubuntu-domain): [u'Traceback (most recent call last):\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1316, in _build_instance\n bdms)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1658, in _default_block_device_names\n root_bdm)\n', u' File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1615, in _default_root_device_name\n root_bdm)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5245, in default_root_device_name\n cdrom_bus)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/blockinfo.py", line 419, in get_root_info\n root_device_name = find_disk_dev_for_disk_bus({}, root_device_bus)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/blockinfo.py", line 177, in find_disk_dev_for_disk_bus\n dev_prefix = get_dev_prefix_for_disk_bus(bus)\n', u' File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/blockinfo.py", line 146, in get_dev_prefix_for_disk_bus\n disk_bus)\n', u'**NovaException: Unable to determine disk prefix for None**\n'] 2015-04-09 09:52:28.280 9768 INFO nova.filters [req-104e899f-d504-44a6-ac8a-511ad9d23166 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] Filter RetryFilter returned 0 hosts 2015-04-09 09:52:28.281 9768 WARNING nova.scheduler.driver [req-104e899f-d504-44a6-ac8a-511ad9d23166 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 6639373e-80c2-4a0f-a1e6-ca495d81ba7f] Setting instance to ERROR state.

**nova-compute.log**

2015-04-09 12:39:56.862 8422 AUDIT nova.compute.manager [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Starting instance... 2015-04-09 12:39:57.335 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Attempting claim: memory 512 MB, disk 1 GB, VCPUs 1 2015-04-09 12:39:57.338 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Total memory: 3555 MB, used: 1024.00 MB 2015-04-09 12:39:57.342 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] memory limit: 5332.50 MB, free: 4308.50 MB 2015-04-09 12:39:57.343 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Total disk: 28 GB, used: 1.00 GB 2015-04-09 12:39:57.344 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] disk limit not specified, defaulting to unlimited 2015-04-09 12:39:57.345 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Total CPUs: 2 VCPUs, used: 1.00 VCPUs 2015-04-09 12:39:57.346 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] CPUs limit not specified, defaulting to unlimited 2015-04-09 12:39:57.347 8422 AUDIT nova.compute.claims [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Claim successful 2015-04-09 12:40:04.414 8422 AUDIT nova.compute.manager [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Terminating instance 2015-04-09 12:40:04.431 8422 ERROR nova.virt.libvirt.driver [-] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] During wait destroy, instance disappeared. 2015-04-09 12:40:04.448 8422 INFO nova.virt.libvirt.firewall [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] **Attempted to unfilter instance which is not filtered** 2015-04-09 12:40:04.794 8422 INFO nova.virt.libvirt.driver [req-333272c9-8d1f-4f40-8749-15ed76ed547e 0a65eb54a83643bb9b0c4cf1788590d2 05b284a31b914eb087e6c441944f3b11] [instance: 7a0674a3-ff4b-4bc9-8ad1-46cdbf045560] Deletion of /var/lib/nova/instances/7a0674a3-ff4b-4bc9-8ad1-46cdbf045560 complete 2015-04-09 12:40:11.149 8422 ...
(more)
edit retag flag offensive close merge delete

Comments

Does /etc/nova/nova.conf have entry :

[libvirt]
virt_type="????"
dbaxps gravatar imagedbaxps ( 2015-04-17 04:37:50 -0500 )edit

What says lsmod | grep kvm ?

dbaxps gravatar imagedbaxps ( 2015-04-17 04:40:51 -0500 )edit

@SophieChan please information requested as above to troubleshoot the issue.

SGPJ gravatar imageSGPJ ( 2015-04-18 11:36:59 -0500 )edit