You have been subscribed to a public bug:

Inserting a test for "access_token_type is None" in the __init__()
method of the Oidc sub-classes is the work-around I applied to get this
working in our environment.

DEBUG:cinderclient.shell:None
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/cinderclient/shell.py", line 
1026, in main
    OpenStackCinderShell().main(sys.argv[1:])
  File "/usr/local/lib/python3.6/site-packages/cinderclient/shell.py", line 
734, in main
    self.cs.authenticate()
  File "/usr/local/lib/python3.6/site-packages/cinderclient/v3/client.py", line 
151, in authenticate
    self.client.authenticate()
  File "/usr/local/lib/python3.6/site-packages/cinderclient/client.py", line 
258, in authenticate
    return self.get_token(auth)
  File "/usr/local/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 
272, in get_token
    return self.session.get_token(auth or self.auth)
  File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 
1223, in get_token
    return (self.get_auth_headers(auth) or {}).get('X-Auth-Token')
  File "/usr/local/lib/python3.6/site-packages/keystoneauth1/session.py", line 
1201, in get_auth_headers
    return auth.get_headers(self, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/keystoneauth1/plugin.py", line 
106, in get_headers
    token = self.get_token(session)
  File "/usr/local/lib/python3.6/site-packages/keystoneauth1/identity/base.py", 
line 88, in get_token
    return self.get_access(session).auth_token
  File "/usr/local/lib/python3.6/site-packages/keystoneauth1/identity/base.py", 
line 134, in get_access
    self.auth_ref = self.get_auth_ref(session)
  File 
"/usr/local/lib/python3.6/site-packages/keystoneauth1/identity/v3/federation.py",
 line 65, in get_auth_ref
    auth_ref = self.get_unscoped_auth_ref(session)
  File 
"/usr/local/lib/python3.6/site-packages/keystoneauth1/identity/v3/oidc.py", 
line 260, in get_unscoped_auth_ref
    access_token = self._get_access_token(session, payload)
  File 
"/usr/local/lib/python3.6/site-packages/keystoneauth1/identity/v3/oidc.py", 
line 197, in _get_access_token
    access_token = op_response.json()[self.access_token_type]
KeyError: None
ERROR: None

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: authentication keycloak oidc
-- 
cinderclient using OidcPassword via Keycloak is failing with  ERROR: None
https://bugs.launchpad.net/bugs/1956477
You received this bug notification because you are a member of Yahoo! 
Engineering Team, which is subscribed to OpenStack Identity (keystone).

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to