Ask Your Question
1

nova image-list fails while openstack and glance equivalents work

asked 2016-02-28 06:05:13 -0500

dsmking gravatar image

updated 2016-03-04 21:10:05 -0500

I have set up Openstack Liberty on Centos 7 using the documentation on http://OpenStack.org. The verification steps along the way have worked properly and I can load images into glance (configured with a local filesystem just like the docs).

However, I have noticed that nova image-list fails while openstack image list and glance image-list work. I have reviewed the ask site and none of the suggested solutions (endpoints, glance config file, registry_host) have helped.

Any help or guidance on what I should look at next would be greatly appreciated.

Here is the output in /var/log/keystone/keystone.log:

2016-02-28 11:56:42.189 7232 INFO keystone.common.wsgi [req-c8de80bf-ab89-4323-be27-bc7d0a186dad - - - - -] GET http://192.168.50.10:35357/v3/
2016-02-28 11:56:42.229 7230 INFO keystone.common.wsgi [req-5f51ea79-e05d-4d5a-a590-6d4564b990e4 - - - - -] POST http://192.168.50.10:35357/v3/auth/tokens
2016-02-28 11:56:42.426 7233 INFO keystone.common.wsgi [req-537369b2-8a89-4651-875d-e796e0d76a72 - - - - -] GET http://192.168.50.10:35357/v3/auth/tokens
2016-02-28 11:56:42.561 7231 INFO keystone.common.wsgi [req-9e78acc6-f677-4fd9-8f6b-f7616922ce51 - - - - -] GET http://192.168.50.10:35357/v3/auth/tokens
2016-02-28 11:56:42.576 7234 INFO keystone.common.wsgi [req-257ff6db-e034-427c-979c-3988d4367769 - - - - -] POST http://192.168.50.10:35357/v3/auth/tokens
2016-02-28 11:56:42.582 7234 WARNING keystone.common.wsgi [req-257ff6db-e034-427c-979c-3988d4367769 - - - - -] Expecting to find domain in user - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.

Here is the output in /var/log/nova/api.log:

2016-02-28 11:50:13.233 13504 DEBUG nova.osapi_compute.wsgi.server [-] (13504) accepted ('192.168.50.10', 52514) server /usr/lib/python2.7/site-packages/eventlet/wsgi.py:826
2016-02-28 11:50:13.237 13504 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://192.168.50.10:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}20d0d4841ea3c033fd49f300159613e1cb8
1e0fb" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}86fe690694688445c4f062925406a5a0c4bda020" _http_log_request /usr/lib/python2.7/site-packag
es/keystoneclient/session.py:198
2016-02-28 11:50:13.253 13504 DEBUG keystoneclient.session [-] RESP: [200] content-length: 2712 x-subject-token: {SHA1}20d0d4841ea3c033fd49f300159613e1cb81e0fb vary: X-Auth-Token keep-alive:
 timeout=5, max=100 server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 connection: Keep-Alive date: Sun, 28 Feb 2016 11:50:13 GMT content-type: application/json x-openstack-request-id:
req-e19c8ff8-bde7-4989-b439-e703ece6dd10
RESP BODY: {"token": {"methods": ["password"], "roles": [{"id": "3d47ce991ef646738bb6e04725cfbdee", "name": "admin"}], "expires_at": "2016-02-28T12:50:13.218178Z", "project": {"domain": {"id
": "default", "name": "Default"}, "id": "cb4ee13b2d4c4625be1a89e3af58104f", "name": "admin"}, "catalog": "<removed>", "extras": {}, "user": {"domain": {"id": "default", "name": "Default"}, "id": "bc25aec7e1fe45b58578b3fade0e8edf", "name": "admin"}, "audit_ids": ["3XPtyNlVTa2aLELufGeKfg"], "issued_at": "2016-02-28T11:50:13.218211Z"}}
 _http_log_response /usr/lib/python2.7/site-packages/keystoneclient/session.py:215
2016-02-28 11:50:13.255 13504 DEBUG nova.api.openstack.wsgi [req-544358ec-8d9c-4277-9b61-22909cbc8322 bc25aec7e1fe45b58578b3fade0e8edf cb4ee13b2d4c4625be1a89e3af58104f - - -] Calling method
'<bound method VersionsController.show of <nova.api.openstack.compute.versionsV21.VersionsController object at 0x5c251d0>>' _process_stack /usr/lib/python2.7/site-packages/nova/api/openstack
/wsgi.py:792
2016-02-28 11:50:13.256 13504 INFO nova.osapi_compute.wsgi.server [req-544358ec-8d9c-4277-9b61-22909cbc8322 bc25aec7e1fe45b58578b3fade0e8edf cb4ee13b2d4c4625be1a89e3af58104f - - -] 192.168.5 ...
(more)
edit retag flag offensive close merge delete

Comments

Check glance configuration at nova.conf in controller node, also you can paste it

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-02-29 12:03:37 -0500 )edit

As this says:

# A list of the glance api servers available to nova. Prefix with https:// for
# ssl-based glance api servers. ([hostname|ip]:port)

This option should be as:

api_servers=192.168.50.10:9292

Regards

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-03-05 10:08:38 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-08 22:00:34 -0500

Bipin gravatar image

Change the following

api_servers=192.168.50.10

TO

glance_api_servers=192.168.50.10:9292
edit flag offensive delete link more

Comments

Thank you will try

acatenac gravatar imageacatenac ( 2016-03-09 11:36:28 -0500 )edit

Even with that change I still get the above errors.

dsmking gravatar imagedsmking ( 2016-03-13 20:11:39 -0500 )edit

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: 2016-02-28 06:05:13 -0500

Seen: 355 times

Last updated: Mar 08 '16