Instance failed block device setup: VolumeNotCreated

asked 2017-10-26 13:13:45 -0600

angmax gravatar image

updated 2017-10-26 13:16:24 -0600

Hi ALL, I installed openstack Pike using Packstack, for testing purposes, for when I try to create an instance it crashes. See logs:

2017-10-26 17:02:27.348 2229 WARNING nova.virt.libvirt.driver [req-e13b5b2d-7cff-4e6d-bfeb-f60309ffb424 49a75e8ba755469eb4a27d5bda0b3274 2d28748a89d149b486def13e0d8c3c82 - default default] [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38] Ignoring supplied device name: /dev/vda. Libvirt can't honour user-supplied dev names
2017-10-26 17:02:29.709 2229 INFO nova.virt.block_device [req-e13b5b2d-7cff-4e6d-bfeb-f60309ffb424 49a75e8ba755469eb4a27d5bda0b3274 2d28748a89d149b486def13e0d8c3c82 - default default] [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38] Booting with blank volume at /dev/vda
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [req-e13b5b2d-7cff-4e6d-bfeb-f60309ffb424 49a75e8ba755469eb4a27d5bda0b3274 2d28748a89d149b486def13e0d8c3c82 - default default] [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38] Instance failed block device setup: VolumeNotCreated: Volume 1a05bc8f-66bc-4a5a-9548-f9e52477b7a0 did not finish being created even after we waited 34 seconds or 8 attempts. And its status is error.
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38] Traceback (most recent call last):
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1571, in _prep_block_device
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     wait_func=self._await_block_device_map_created)
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 625, in attach_block_devices
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     _log_and_attach(device)
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 622, in _log_and_attach
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     bdm.attach(attach_args, *attach_kwargs)
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 517, in attach
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     self._call_wait_func(context, wait_func, volume_api, vol['id'])
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 477, in _call_wait_func
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     {'volume_id': volume_id, 'exc': exc})
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     self.force_reraise()
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     six.reraise(self.type_, self.value, self.tb)
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/nova/virt/block_device.py", line 467, in _call_wait_func
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]     wait_func(context, volume_id)
2017-10-26 17:03:16.595 2229 ERROR nova.compute.manager [instance: b2a1cfa6-0eaf-478d-a4b0-2c05ecb5ef38]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1244, in _await_block_device_map_created ...
(more)
edit retag flag offensive close merge delete

Comments

It looks like you create an instance with a volume as root disk, and something prevents Nova to create that volume.

Suggestions: Use ephemeral storage instead of volume. Also find out what problem there might be with Cinder. Check Cinder logs, try creating volumes manually.

Bernd Bausch gravatar imageBernd Bausch ( 2017-10-26 18:22:27 -0600 )edit