[Openstack] No output from "nova list"

Hanyu Xiao hanyu.xiao at eayun.com
Thu Mar 14 02:56:49 UTC 2013


hi:

I'm not familiar with python keyring, but this problem seems related to it.

I've found this page https://wiki.openstack.org/wiki/KeyringSupport.

And several days ago, some cool guys had written a cool document:

http://docs.openstack.org/ops

You can get the pdf document, and you can find information related to this problem on Page 65 to find further information and support.

Thanks.

On 03/14/2013 10:41 AM, Rain Li wrote:
> 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:
> 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 
> <http://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 <hanyu.xiao at eayun.com 
> <mailto:hanyu.xiao at eayun.com>> 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!
>>     Rain
>>
>>
>>     _______________________________________________
>>     Mailing list:https://launchpad.net/~openstack  <https://launchpad.net/%7Eopenstack>
>>     Post to     :openstack at lists.launchpad.net  <mailto:openstack at lists.launchpad.net>
>>     Unsubscribe :https://launchpad.net/~openstack  <https://launchpad.net/%7Eopenstack>
>>     More help   :https://help.launchpad.net/ListHelp
>
>     -- 
>     Hanyu Xiao
>     Eayun.com
>
>
>     _______________________________________________
>     Mailing list: https://launchpad.net/~openstack
>     <https://launchpad.net/%7Eopenstack>
>     Post to     : openstack at lists.launchpad.net
>     <mailto:openstack at lists.launchpad.net>
>     Unsubscribe : https://launchpad.net/~openstack
>     <https://launchpad.net/%7Eopenstack>
>     More help   : https://help.launchpad.net/ListHelp
>
>

-- 
Hanyu Xiao
Eayun.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130314/59c36c47/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 27979 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130314/59c36c47/attachment.png>


More information about the Openstack mailing list