Greetings, It doesn't look like a cinderclient issue, it looks like a credential issue. On the other hand, cinder doesn't have Oidc sub-classes defined on the code. I'll move this bug to the keystone team to see what they say.Cheers.
** Project changed: cinder => keystone -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/1956477 Title: cinderclient using OidcPassword via Keycloak is failing with ERROR: None Status in OpenStack Identity (keystone): New Bug description: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1956477/+subscriptions -- 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

