error when using token get from application credential authentication
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
In Progress
|
Undecided
|
Bo Tran |
Bug Description
Currently, from queens version was supported Application Credentials.
But, when I using a token was created from application credentials authentication to create a session after using this session to create a python client, I was get an error log like:
2020-05-13 18:16:50.418018 2020-05-13 18:16:50.416 34 ERROR keystone.
lt] 'application_
2020-05-13 18:16:50.418053 2020-05-13 18:16:50.416 34 ERROR keystone.
2020-05-13 18:16:50.418060 2020-05-13 18:16:50.416 34 ERROR keystone.
2020-05-13 18:16:50.418065 2020-05-13 18:16:50.416 34 ERROR keystone.
2020-05-13 18:16:50.418069 2020-05-13 18:16:50.416 34 ERROR keystone.
2020-05-13 18:16:50.418074 2020-05-13 18:16:50.416 34 ERROR keystone.
2020-05-13 18:16:50.418078 2020-05-13 18:16:50.416 34 ERROR keystone.
Steps perform:
1. Create a application credentials with command:
openstack application credential create openstack-ac --secret openstack
2. I using ipython to create session, python client:
from keystoneauth1.
from keystoneauth1.
auth = v3.ApplicationC
auth_url="http://
application_
application_
session = Session(auth=auth)
3. I using above session to get a new token and make a new auth:
auth = v3.Token(
auth_url="http://
token=session.
project_
project_
#make a new session
session = Session(auth=auth)
4. Make a keystone client using above session:
keystone = keystone_
# Use keystone client to list projects
keystone.
Is this a bug?
Changed in keystone: | |
status: | Invalid → In Progress |
Fix proposed to branch: master /review. opendev. org/727808
Review: https:/