Ask Your Question

Revision history [back]

Block storage

Recently, I've installed OpenStack and Using the Horizon I tried to create the instance. Server responding with following error. However, only Cirros is working perfectly, when I try to create the instance and other any image uploaded file is getting failed.

If I try to create the instance using same image file which is getting failed at Horizon but it works at command prompt. So I was able to create instance using command prompt but not form the Horizon.

Message
    Build of instance 5a583a47-1f53-462f-8199-4efabcad5144 aborted: Block Device Mapping is Invalid.
Code        500
Details
    File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1779, in _do_build_and_run_instance filter_properties) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1939, in _build_and_run_instance 'create.error', fault=e) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1904, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2066, in _build_resources reason=e.format_message()) 
Created
    Feb. 20, 2017, 5:44 p.m.

What would be the issues ? I tried couple of things but it is not working.

Block storage

Recently, I've installed OpenStack and Using the Horizon I tried to create the instance. Server responding with following error. However, only Cirros is working perfectly, when I try to create the instance and other any image uploaded file is getting failed.

If I try to create the instance using same image file which is getting failed at Horizon but it works at command prompt. So I was able to create instance using command prompt but not form the Horizon.

Message
    Build of instance 5a583a47-1f53-462f-8199-4efabcad5144 aborted: Block Device Mapping is Invalid.
Code        500
Details
    File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1779, in _do_build_and_run_instance filter_properties) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1939, in _build_and_run_instance 'create.error', fault=e) File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1904, in _build_and_run_instance block_device_mapping) as resources: File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2066, in _build_resources reason=e.format_message()) 
Created
    Feb. 20, 2017, 5:44 p.m.

What would be the issues ? I tried couple of things but it is not working.