auth_ref error while using v3oidcpassword

Bug #1606713 reported by Krishna
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

when using the keystoneauth plugin and python-openstack-client from review.openstack.org

I'm getting the following error.

openstack \
  --os-access-token-endpoint https://idp.example.org:8443/idp/oauth2/access_token \
  --os-access-token-type access_token \
  --os-auth-type v3oidcpassword \
  --os-auth-url http://controller.example.org:5000/v3 \
  --os-client-id masterClient \
  --os-client-secret Test123 \
  --os-domain-name Federated \
  --os-identity-provider idp \
  --os-openid-scope "openid employeeNumber mail email tenantid" \
  --os-project-domain-name Federated \
  --os-project-name demo \
  --os-username "jdoe" \
  --os-password "somepassword" \
  --os-beta-command \
  --insecure \
  configuration show --debug

Error is:

Get auth_ref
auth_ref
Traceback (most recent call last):
  File "/home/vagrant/poc-wrk/client/review.openstack.org/local/lib/python2.7/site-packages/cliff/app.py", line 339, in run_subcommand
    self.prepare_to_run_command(cmd)
  File "/home/vagrant/poc-wrk/client/review.openstack.org/repos/python-openstackclient/openstackclient/shell.py", line 449, in prepare_to_run_command
    self.client_manager.auth_ref
  File "/home/vagrant/poc-wrk/client/review.openstack.org/local/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 66, in __getattr__
    raise AttributeError(name)
AttributeError: auth_ref
clean_up ShowConfiguration: auth_ref
Traceback (most recent call last):
  File "/home/vagrant/poc-wrk/client/review.openstack.org/repos/python-openstackclient/openstackclient/shell.py", line 118, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/home/vagrant/poc-wrk/client/review.openstack.org/local/lib/python2.7/site-packages/cliff/app.py", line 226, in run
    result = self.run_subcommand(remainder)
  File "/home/vagrant/poc-wrk/client/review.openstack.org/repos/python-openstackclient/openstackclient/shell.py", line 163, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/home/vagrant/poc-wrk/client/review.openstack.org/local/lib/python2.7/site-packages/cliff/app.py", line 339, in run_subcommand
    self.prepare_to_run_command(cmd)
  File "/home/vagrant/poc-wrk/client/review.openstack.org/repos/python-openstackclient/openstackclient/shell.py", line 449, in prepare_to_run_command
    self.client_manager.auth_ref
  File "/home/vagrant/poc-wrk/client/review.openstack.org/local/lib/python2.7/site-packages/osc_lib/clientmanager.py", line 66, in __getattr__
    raise AttributeError(name)
AttributeError: auth_ref

END return value: 1

Revision history for this message
Krishna (kathurko) wrote :

Additional details:
pip install -e .' of master branches of keystoneauth and python-openstackclient.

$ openstack --version
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
openstack 2.6.1

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.