Failed to access senlin api after keystone remove its v2 api

Bug #1727903 reported by Ethan Lynn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
New
Undecided
Unassigned

Bug Description

Recent days keystone remove its v2 api, after setup senlin using devstack, source openrc, senlin commands failed to get authentication.

sl-api.log
Oct 27 09:51:49 localhost.localdomain senlin-api[28460]: 2017-10-27 09:51:49.528 DEBUG senlin.api.middleware.version_negotiation [-] Processing request: GET /v1/clusters Accept: application/json from (pid=28460) process_request /opt/stack/senlin/senlin/api/middleware/version_negotiation.py:51
Oct 27 09:51:49 localhost.localdomain senlin-api[28460]: 2017-10-27 09:51:49.529 DEBUG senlin.api.middleware.version_negotiation [-] Matched versioned URI. Version: 1.0 from (pid=28460) process_request /opt/stack/senlin/senlin/api/middleware/version_negotiation.py:66
Oct 27 09:51:49 localhost.localdomain senlin-api[28460]: 2017-10-27 09:51:49.535 WARNING keystonemiddleware.auth_token [-] Authorization failed for token: NotFound: (http://172.20.1.248/identity/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-49156882-1eb8-4187-978e-20a9eb6c429d)
Oct 27 09:51:49 localhost.localdomain senlin-api[28460]: 2017-10-27 09:51:49.536 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "(http://172.20.1.248/identity/v2.0/tokens): The resource could not be found.", "code": 404, "title": "Not Found"}}: NotFound: (http://172.20.1.248/identity/v2.0/tokens): The resource could not be found. (HTTP 404) (Request-ID: req-49156882-1eb8-4187-978e-20a9eb6c429d)
Oct 27 09:51:49 localhost.localdomain senlin-api[28460]: 2017-10-27 09:51:49.536 WARNING keystonemiddleware.auth_token [-] Authorization failed for token: InvalidToken: Token authorization failed
Oct 27 09:51:49 localhost.localdomain senlin-api[28460]: 2017-10-27 09:51:49.538 INFO eventlet.wsgi.server [-] 172.20.1.248 - - [27/Oct/2017 09:51:49] "GET /v1/clusters?global_project=False HTTP/1.1" 401 389 0.009960

Changed in senlin:
assignee: nobody → Xuanyuan Zhang (zhangxuanyuan)
Changed in senlin:
assignee: Xuanyuan Zhang (zhangxuanyuan) → nobody
Revision history for this message
Qiming Teng (tengqim) wrote :

is this still an issue?
Senlin was designed to work only with keystone v3 api. We had not plan to support v2 API.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.