[Openstack] BadRequest: Can not find requested image (HTTP 400)

Milind milindkpatil at gmail.com
Fri May 18 12:26:47 UTC 2012


Is there any way to find out if image is exists with the help of glance
command?
I checked everything all parameters are properly configured in conf files.

On Fri, May 18, 2012 at 5:19 PM, Razique Mahroua
<razique.mahroua at gmail.com>wrote:

> Hi,
> it's weird, I remember someone having the same issue.
> Edit : here
> https://lists.launchpad.net/openstack/msg11742.html
>
> It may be related to the bug ?
>
>  Milind <milindkpatil at gmail.com>
>  18 mai 2012 13:46
> Hi,
>
> I am getting error while executing following command.
>
> root at ucmaster:/home/milindx/mil# nova boot --image tty-linux --flavor
> m1.small --key_name test my-first-server
> ERROR: Can not find requested image (HTTP 400)
>
> Following information will help
>
> root at ucmaster:/home/milindx/mil# cat /etc/nova/nova.conf | grep glance
> --image_service=nova.image.glance.GlanceImageService
> --glance_api_servers=10.253.59.152:9292
>
> root at ucmaster:/home/milindx/mil# nova image-list
>
> +--------------------------------------+------------------+--------+--------+
> |                  ID                  |       Name       | Status |
> Server |
>
> +--------------------------------------+------------------+--------+--------+
> | 057f5695-7af5-4d42-ab17-2f0f36f99ee2 | tty-linux        | ACTIVE
> |        |
> | 1cfd638b-1187-4f35-a0dd-76352742b762 | tty-kernel       | ACTIVE
> |        |
> | 40c6e4ec-9b49-4f5c-989d-57cd2691fa12 | tty-linuxkernel  | ACTIVE
> |        |
> | a726d350-c187-401b-823c-7bb1527aaa1d | tty-linuxramdisk | ACTIVE
> |        |
> | b1c79ba2-aef0-4dfc-8e0f-f1f223bea1f1 | tty              | ACTIVE
> |        |
> | b3240f79-5b6f-450c-beff-5c8ecdabcf00 | tty-ramdisk      | ACTIVE
> |        |
>
> +--------------------------------------+------------------+--------+--------+
> root at ucmaster:/home/milindx/mil#
>
> root at ucmaster:/home/milindx/mil# nova-manage service list
> 2012-05-18 17:15:30 DEBUG nova.utils
> [req-0997c625-ef9c-45ab-96a9-77a211d87459 None None] backend <module
> 'nova.db.sqlalchemy.api' from
> '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from
> (pid=15253) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
> Binary           Host                                 Zone
> Status     State Updated_At
> nova-scheduler   ucmaster                             nova
> enabled    :-)   2012-05-18 11:45:25
> nova-volume      ucmaster                             nova
> enabled    :-)   2012-05-18 11:45:25
> nova-compute     ucmaster                             nova
> enabled    :-)   2012-05-18 11:45:21
> nova-cert        ucmaster                             nova
> enabled    :-)   2012-05-18 11:45:25
> nova-consoleauth ucmaster                             nova
> enabled    :-)   2012-05-18 11:45:25
> nova-network     ucmaster                             nova
> enabled    :-)   2012-05-18 11:45:25
>
> I have deleted and added images using glance still problem persists, any
> one know what could be problem.
>
> Regards,
> Milind
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
> --
> Nuage & Co - Razique Mahroua
> razique.mahroua at gmail.com
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120518/87055339/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120518/87055339/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120518/87055339/attachment-0001.jpg>


More information about the Openstack mailing list