← Back to team overview

openstack team mailing list archive

BadRequest: Can not find requested image (HTTP 400)

 

Hi,

I am getting error while executing following command.

root@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@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@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@ucmaster:/home/milindx/mil#

root@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

Follow ups