[Openstack] What can make Cinder not find Image? (Was: Create instance fails on creating block device - Block Device Mapping is Invalid)

Cynthia Lopes clsacramento at gmail.com
Fri Jun 24 13:04:08 UTC 2016


Sorry, what command precisely did you run when you got those logs? Are you
trying to boot a vm from a volume is it?

I find it weird that you are seeing the volume name on the request instead
of the volume id: GET
http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test
<http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test2016-06-23>
This should be: GET
http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/8dbd3b7c-e36b-433f-a3b0-d701f63f63c2



2016-06-23 23:31 GMT+01:00 Turbo Fredriksson <turbo at bayour.com>:

> ----- s n i p -----
> 2016-06-23 23:08:25.277 25887 INFO cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18d
> b0dd03aa23 - - -] GET
> http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test
> 2016-06-23 23:08:25.278 25887 DEBUG cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18
> db0dd03aa23 - - -] Empty body provided in request get_body
> /usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py:936
> 2016-06-23 23:08:25.278 25887 DEBUG cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18
> db0dd03aa23 - - -] Calling method '<bound method VolumeController.show of
> <cinder.api.v2.volumes.VolumeController object at 0x7f78ae8d4ad0>>'
> _process_stack /
> usr/lib/python2.7/dist-packages/cinder/api/openstack/wsgi.py:1092
> 2016-06-23 23:08:25.362 25887 INFO cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18db0dd03aa23 - - -] HTTP exception thrown: Volume test
> could not be found.
> 2016-06-23 23:08:25.363 25887 INFO cinder.api.openstack.wsgi
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18db0dd03aa23 - - -]
> http://10.0.4.1:8776/v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test
> returned with HTTP 404
> 2016-06-23 23:08:25.366 25887 INFO eventlet.wsgi.server
> [req-9d2bc683-7599-4539-92a6-b8e8503591c8 0b7e5b0653084efdad5d67b66f2cf949
> 2985b96e27f048cd92a18db0dd03aa23 - - -] 10.0.4.1 "GET
> /v2/2985b96e27f048cd92a18db0dd03aa23/volumes/test HTTP/1.1" status: 404
> len: 418 time: 0.8508980
> ----- s n i p -----
>
> and yet:
>
> ----- s n i p -----
> bladeA01b:~# openstack volume list
>
>
> +--------------------------------------+--------------+-----------+------+-------------+
> | ID                                   | Display Name | Status    | Size |
> Attached to |
>
> +--------------------------------------+--------------+-----------+------+-------------+
> | 8dbd3b7c-e36b-433f-a3b0-d701f63f63c2 | test         | available |    5
> |             |
>
> +--------------------------------------+--------------+-----------+------+-------------+
> ----- s n i p -----
>
> That's with the "admin" user+password etc though..
> --
> There are no dumb questions,
> unless a customer is asking them.
> - Unknown
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160624/74867078/attachment.html>


More information about the Openstack mailing list