Re: [openstack-dev] [nova] nova list Question

2014-07-21 Thread TAO ZHOU
1. What do you mean by
When I setup a openstack node, will it have the output of “nova list”?
2. Your output looks normal.



On Mon, Jul 21, 2014 at 8:15 PM, Johnson Cheng 
johnson.ch...@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?

 I want to use it to attach a cinder volume.





 Regards,

 Johnson



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] nova list Question

2014-07-21 Thread Anne Gentle
On Mon, Jul 21, 2014 at 7:15 AM, Johnson Cheng 
johnson.ch...@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@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] nova list Question

2014-07-21 Thread Johnson Cheng
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:a...@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.ch...@qsantechnology.commailto:johnson.ch...@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@lists.openstack.orgmailto:OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev