[openstack-dev] [nova] "nova list" Question

Johnson Cheng Johnson.Cheng at QsanTechnology.com
Tue Jul 22 03:32:16 UTC 2014


Dear Anne,

Thanks for your reference.
I try to use the below command to launch an instance from my image with flavor ID 1,
    #> nova boot myCirrosServer --image e22d8a77-d3ad-458a-a073-aea8b185be22 --flavor 1
But I got the error message as below,
    ERROR: Image e22d8a77-d3ad-458a-a073-aea8b185be22 is not active. (HTTP 400) (Request-ID: req-d22dc55d-3bf0-4965-8e91-76374921d0aa)

I found my image status is “SAVING”, not “ACTIVE”.
How to solve this problem?


Regards,
Johnson


From: Anne Gentle [mailto:anne at openstack.org]
Sent: Tuesday, July 22, 2014 10:29 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [nova] "nova list" Question



On Mon, Jul 21, 2014 at 7:15 AM, Johnson Cheng <Johnson.Cheng at qsantechnology.com<mailto:Johnson.Cheng at qsantechnology.com>> wrote:
Dear All,

When I setup a openstack node, will it have the output of “nova list”?

Here is my output of “nova image-list”,
+--------------------------------------+---------------------+--------+--------+
| ID                                   | Name                | Status | Server |
+--------------------------------------+---------------------+--------+--------+
| e22d8a77-d3ad-458a-a073-aea8b185be22 | cirros-0.3.2-x86_64 | SAVING |        |
+--------------------------------------+---------------------+--------+--------+

But the output of “nova list” is empty,
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+

Is it correct?

This output is correct when you have not launched any images.

See http://docs.openstack.org/user-guide/content/cli_launch_instances.html

I want to use it to attach a cinder volume.



Once you have an instance running, use these instructions to attach a volume.

http://docs.openstack.org/user-guide/content/cli_manage_volumes.html#cli_attach_volume



Regards,
Johnson


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140722/7688ca58/attachment.html>


More information about the OpenStack-dev mailing list