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
is this still an issue?
Senlin was designed to work only with keystone v3 api. We had not plan to support v2 API.