Re: [Openstack] No output from "nova list"

2013-03-13 Thread Rain Li
Hi,

Thanks for help. Can anyone tell me how (besides the --no-cache option) to
get rid of the message "Please enter password for encryped keyring"? With
horizon interface, I get:
[image: Inline image 1]
But "nova --debug list" shows (no active servers):
Please enter password for encrypted keyring:

REQ: curl -i
http://192.168.1.200:8774/v2/2666e01122c5422e9224396f52e9a600/servers/detail-X
GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient"
-H
"Accept: application/json" -H "X-Auth-Token:
cd4177ee1cc34da492be50e56a699c58"

connect: (192.168.1.200, 8774)
send: u'GET /v2/2666e01122c5422e9224396f52e9a600/servers/detail
HTTP/1.1\r\nHost: 192.168.1.200:8774\r\nx-auth-project-id:
admin\r\nx-auth-token: cd4177ee1cc34da492be50e56a699c58\r\naccept-encoding:
gzip, deflate\r\naccept: application/json\r\nuser-agent:
python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: X-Compute-Request-Id: req-596f1fb4-cf32-4405-af79-9c871a9f3faa
header: Content-Type: application/json
header: Content-Length: 15
header: Date: Thu, 14 Mar 2013 02:12:46 GMT
RESP:{'status': '200', 'content-length': '15', 'content-location': u'
http://192.168.1.200:8774/v2/2666e01122c5422e9224396f52e9a600/servers/detail',
'x-compute-request-id': 'req-596f1fb4-cf32-4405-af79-9c871a9f3faa', 'date':
'Thu, 14 Mar 2013 02:12:46 GMT', 'content-type': 'application/json'}
{"servers": []}

"nova --debug list " works fine, shows:
+--+---+++
| ID   | Name  | Status | Networks
  |
+--+---+++
| 6b52ed18-8768-4b58-95f1-a2aca9f39807 | demo2 | ACTIVE |
net_proj_one=50.50.1.4 |
| aea5e22d-3d00-4f0a-9b76-de0b9b5c9c87 | user_one_demo | ACTIVE |
net_proj_one=50.50.1.3 |
+--+---+++

"nova --no-cache image-list" shows:
+--+--+++
| ID   | Name | Status | Server |
+--+--+++
| cbb0351b-b4fa-4e63-af7f-c9d00d750671 | myFirstImage | ACTIVE ||
+--+--+++

"nova --no-cache usage-list" shows:
+--+---+--+---+---+
| Tenant ID| Instances | RAM MB-Hours | CPU Hours |
Disk GB-Hours |
+--+---+--+---+---+
| 092c550adf0f49cb9a1ccfd2367a29fb | 3 | 251806.33| 126.21|
2437.34   |
+--+---+--+---+---+

"nova --no-cache network-list" get an error:
ERROR: The server has either erred or is incapable of performing the
requested operation. (HTTP 500) (Request-ID:
req-d888fc8f-5a00-46a9-9bcd-a047293c88bb)

And "nova --no-cache flavor-list" works fine, "nova --no-cache
hypervisor-list" works fine, "nova --no-cache floating-ip-pool-list" works
fine.

 "nova --no-cache floating-ip-list" shows nothing, but "quantum
floatingip-list" shows:
+--+--+-+--+
| id   | fixed_ip_address |
floating_ip_address | port_id  |
+--+--+-+--+
| 3942424e-4ca5-4148-9440-26c254753bf5 |  | 192.168.1.227
|  |
| 5d437edc-5b6f-4f0a-8e0f-2a01d07afa13 | 50.50.1.3| 192.168.1.226
| 3d909d47-bb8b-4ef5-9688-a4dc314eed21 |
| 8f6da458-9dcc-4f8d-ac76-9b170fbacfa9 |  | 192.168.1.228
|  |
+--+--+-+--+

So is there any other information you guys needed to pinpoint the potential
problems?

Best,
Rain


On Wed, Mar 13, 2013 at 9:06 PM, Hanyu Xiao  wrote:

>  what's the output of "nova --debug list" and "nova --debug list
> --all-tenants"?
>
> On 03/14/2013 08:33 AM, Rain Li wrote:
>
> Hi, all,
>
>  I set up a three-hosts openstack environment, but I can't synchronize
> nova output with horizon output. When execute "nova --list", it generates
> "Please enter password for encrypted keyring:" message. Then I issue "nova
> --no-cache list", it output nothing.
>
>  I can initialize a instance from horizon interface, and the instance can
> get an proper fixed ip address. And with "nova --no-cache image-list", I
> can see the uploaded image, it is the same image-id with "glance index". So
> can anyone guide me with this situation?
>
>  Thank you!

Re: [Openstack] No output from "nova list"

2013-03-13 Thread Hanyu Xiao
what's the output of "nova --debug list" and "nova --debug list 
--all-tenants"?

On 03/14/2013 08:33 AM, Rain Li wrote:

Hi, all,

I set up a three-hosts openstack environment, but I can't synchronize 
nova output with horizon output. When execute "nova --list", it 
generates "Please enter password for encrypted keyring:" message. Then 
I issue "nova --no-cache list", it output nothing.


I can initialize a instance from horizon interface, and the instance 
can get an proper fixed ip address. And with "nova --no-cache 
image-list", I can see the uploaded image, it is the same image-id 
with "glance index". So can anyone guide me with this situation?


Thank you!
Rain


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


--
Hanyu Xiao
Eayun.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] No output from "nova list"

2013-03-13 Thread Rain Li
Hi, all,

I set up a three-hosts openstack environment, but I can't synchronize nova
output with horizon output. When execute "nova --list", it generates
"Please enter password for encrypted keyring:" message. Then I issue "nova
--no-cache list", it output nothing.

I can initialize a instance from horizon interface, and the instance can
get an proper fixed ip address. And with "nova --no-cache image-list", I
can see the uploaded image, it is the same image-id with "glance index". So
can anyone guide me with this situation?

Thank you!
Rain
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp