Failure prepping block device
Hi,
I'm fairly new to openstack, so please forgive any dumb questions :-)
My environment: latest packstack installed with "--allinone". The Host: CentOS 7, running as a KVM VM - and this Hypervisor runs in an ESX VM. I'm using horizon. Only for testing purposes. No, when I create instances from the cirros image using m1.tiny, everything runs fine. But wehen I try to make an instance from a CentOS-ISO with a small volume size of 5 GB, I get "Failure prepping block device"
/var/log/nova/nova-compute.log tells:
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] Traceback (most recent call last):
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2030, in _do_build_and_run_instance
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] filter_properties)
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2129, in _build_and_run_instance
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] 'create.error', fault=e)
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] six.reraise(self.type_, self.value, self.tb)
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2102, in _build_and_run_instance
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] block_device_mapping) as resources:
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] return self.gen.next()
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2240, in _build_resources
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] reason=msg)
2015-02-23 18:19:43.203 3754 TRACE nova.compute.manager [instance: 9c10e58f-644e-4790-ba1f-50b65176476a] BuildAbortException: Build of instance 9c10e58f-644e-4790-ba1f-50b65176476a aborted: Failure prepping block device.
I can see in the volumes tab that the volume is still in status "Downloading". Increasing block_device_creation_timeout in nova.conf did not help.
Any hint is appreciated - and yes; I've googled :-)
Have you checked the cinder and glance logs? Edit the question if you find more details