Ask Your Question
0

Nova image list fails Error: images. Debug lines 774, 710 905

asked 2014-05-08 15:01:27 -0500

dpwaite7141@gmail.com gravatar image

updated 2014-06-19 07:26:09 -0500

After completing the Install Compute controller services section and running nova image list, it is returning ERROR: 'images'. I am assuming it is not an error in the script, but may be a version or configuration issue. I did go back through the configuration and did not have any errors. Can you help with this?

glance --os-username=admin --os-password=april1997 --os-tenant-name=admin --os-auth-url=http://10.8.10.117:35357/v2.0 image-list
+--------------------------------------+--------+-------------+------------------+----------+--------+
| ID                                   | Name   | Disk Format | Container Format | Size     | Status |
+--------------------------------------+--------+-------------+------------------+----------+--------+
| 5db178a7-a4d7-4221-ab45-f557222791fb | cirros | vmdk        | ovf              | 13167616 | active |
+--------------------------------------+--------+-------------+------------------+----------+--------+
root@os-controler:/images# nova --debug --os-username=admin --os-password=april1997 --os-tenant-name=admin --os-auth-url=http://10.8.10.117:35357/v2.0 image-list

REQ: curl -i 'http://10.8.10.117:35357/v2.0/tokens' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-novaclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "april1997"}}}'

New session created for: (http://10.8.10.117:35357)
INFO (connectionpool:258) Starting new HTTP connection (1): 10.8.10.117
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 3737
RESP: [200] CaseInsensitiveDict({'date': 'Wed, 07 May 2014 10:48:27 GMT', 'vary': 'X-Auth-Token', 'content-length': '3737', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'})
RESP BODY: {"access": {"token": {"issued_at": "2014-05-07T10:48:27.869350", "expires": "2014-05-07T11:48:27Z", "id": "MIIHBQYJKoZIhvcNAQcCoIIG9jCCBvICAQExDTALBglghkgBZQMEAgEwggVTBgkqhkiG9w0BBwGgggVEBIIFQHsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDUtMDd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LbxZ+73oKZO4INnMQMKpR3sTmJjiVhr0I1UPP50JeQY9XPCriryFJG2zEmP6r7ZnvlzgU9-oMxiuBK8N+MFe-goNS78rXqgxxUz3Y-TJHjA==", "tenant": {"description": "Admin Tenant", "enabled": true, "id": "7ce2ff6798224063bb3f98d5e3e7fa5d", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.8.10.117:9292", "region": "regionOne", "internalURL": "http://10.8.10.117:9292", "id": "0a51f36f8bde435e9ad43afc560342c9", "publicURL": "http://10.8.10.117:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://10.8.10.117:9292", "region": "regionOne", "internalURL": "http://10.8.10.117:9292", "id": "0aa48cdbcd7343cab7dfd60b560113b5", "publicURL": "http://10.8.10.117:9292"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://10.8.10.117:35357/v2.0", "region": "regionOne", "internalURL": "http://10.8.10.117:5000/v2.0", "id": "2b89fd2536774fc9b8ab396d6b462023", "publicURL": "http://10.8.10.117:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "af557c987a584cb69524cf19df860e02", "roles": [{"name": "_member_"}, {"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["9fe2ff9ee4384b1894a90878d3e92bab", "246328807cb644a4b15acb9802ce7c42"]}}}


REQ: curl -i 'http://10.8.10.117:9292/images/detail' -X GET -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: MIIHBQYJKoZIhvcNAQcCoIIG9jCCBvICAQExDTALBglghkgBZQMEAgEwggVTBgkqhkiG9w0BBwGgggVEBIIFQHsiYWNjZXNzIjogeyJ0b2tlbiI6IHsiaXNzdWVkX2F0IjogIjIwMTQtMDUtMDdUMTA6NDg6MjcuODY5MzUwIiwgImV4cGlyZXMiOiAiMjAxNC0wNS0wN1QxM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r7ZnvlzgU9-oMxiuBK8N+MFe-goNS78rXqgxxUz3Y-TJHjA=="

New session created for: (http://10.8.10.117:9292)
INFO (connectionpool:258) Starting new HTTP connection (1): 10.8.10.117
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "GET /images/detail HTTP/1.1" 300 540
RESP: [300] CaseInsensitiveDict({'date': 'Wed, 07 May 2014 10:48:27 GMT', 'content-length': '540', 'content-type': 'application/json; charset=UTF-8'})
RESP BODY: {"versions": [{"status": "CURRENT", "id": "v2.2", "links": [{"href": "http://10.8.10.117:9292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.1", "links": [{"href": "http://10.8.10.117:9292/v2/", "rel": "self"}]}, {"status": "SUPPORTED", "id": "v2.0", "links": [{"href": "http://10.8.10.117:9292/v2/", "rel": "self"}]}, {"status ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-19 07:30:32 -0500

It looks a lot like an old bug in novaclient. The bug is 1034665. What version of the client library are you using?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-08 15:01:27 -0500

Seen: 261 times

Last updated: Jun 19 '14