Home > other >  Pike version it image list error 401 for help people!
Pike version it image list error 401 for help people!

Time:11-24

For help! Just finished configuration glance to verify operation, but always 401, log analysis also don't see reason, ask tall person to give directions!

It releases for pike

The hostname should be not a problem, parsing has done and also has been using the Keystone,

Keystone service is normal, it user list, service list and so on are the query, token, even can also get


Glance service is normal, 9191929 2 is normal,
 
01. [root @ controller home] # it image list
02. Unauthorized (HTTP 401)

The endpoint service is as follows:
 
01. Keystone | identity | True | admin | http://controller:35357/v3/
02. Keystone | identity | True | internal | http://controller:5000/v3/
03. Keystone | identity | True | public | http://controller:5000/v3
04. Glance | image | True | admin | http://controller:9292
05. Glance | image | True | public | http://controller:9292
06. Glance | image | True | internal | http://controller:9292

The log is as follows:
 
[API. The log]
00:10:46. 2018-01-24, 186, 7765 WARNING keystonemiddleware. Auth_token [-] Authorization failed for token: NotFound: No token in the request (HTTP 404) (request - ID: the req - 95 dad5f9 - ebad - 49 ce - dcf1fc38713 b1d2-4)
00:10:46. 2018-01-24, 187, 7765 WARNING keystonemiddleware. Auth_token [-] Identity response: {" error ": {" message" : "No token in the request", "code" : 404, "title" : "Not Found"}} : NotFound: No token in the request (HTTP 404) (request - ID: the req - 95 dad5f9 - ebad - 49 ce - dcf1fc38713 b1d2-4)
The 2018-01-24 00:10:46. 188 7765 WARNING keystonemiddleware. Auth_token [-] Authorization failed for token: InvalidToken: token Authorization failed
The 2018-01-24 00:10:46. 190 7765 INFO eventlet. Wsgi. Server [-] 192.168.1.80-24/Jan/2018 00:10:46 "GET/v2/images' HTTP/1.1" 401 566 0.265521
[keystone. The log]
00:10:46. 2018-01-24 178 1237 the INFO keystone.com mon. Wsgi dad5f9 - ebad [the req - 95-49 ce - b1d2-4 dcf1fc38713 cfd24a5b01a9439086f53d7ea73ffe7a ec33ec80b4564064a28de3e8d6bd4ba1 - default default] GET http://controller:35357/v3/auth/tokens
The 2018-01-24 00:10:46. 183 1237 WARNING keystone.com mon. Wsgi dad5f9 - ebad [the req - 95-49 ce - b1d2-4 dcf1fc38713 cfd24a5b01a9439086f53d7ea73ffe7a ec33ec80b4564064a28de3e8d6bd4ba1 - default default] No token in the request: TokenNotFound: No token in the request

CodePudding user response:

Try again after import environment variable

CodePudding user response:

Import the environment variables to try again, if you have any questions can look at the log analysis, further

CodePudding user response:

Problem solved? I also met
  • Related