Unknown argument exception when authenticating with token and bypass URL

Bug #1748252 reported by Kam Nasim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystoneauth
Opinion
Undecided
Kam Nasim

Bug Description

During an upgrade scenario we need to use a bypass URL with an admin token to authenticate. The keystoneauth1 token AUTH plugin only expects two arguments to be passed in:
- the endpoint / bypass URL
- the token

If additional arguments are passed in then the Token Auth Plugin throws a Type Error due to Unexpected Keyword Arguments.

The Token Auth Plugin should ignore arguments that it doesn't care about, as users may have sourced an environment containing multiple arguments (in our case, it was complaining over OS_USER_DOMAIN_NAME)

Kam Nasim (knasim-wrs)
Changed in keystoneauth:
assignee: nobody → Kam Nasim (knasim-wrs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystoneauth (master)

Fix proposed to branch: master
Review: https://review.openstack.org/542355

Changed in keystoneauth:
status: New → In Progress
Revision history for this message
Kam Nasim (knasim-wrs) wrote : Re: Unknown argument exception when authenticating with token and admin URL
summary: - Unknown argument exception when authenticating with token and admin URL
+ Unknown argument exception when authenticating with token and URL
summary: - Unknown argument exception when authenticating with token and URL
+ Unknown argument exception when authenticating with token and bypass URL
Revision history for this message
Kam Nasim (knasim-wrs) wrote :

As per my observation, this was working when TokenPlugin was in OpenstackSDK and before it was moved over to KeystoneAuth1. The same environment was working in Newton and broke when we rebased to Pike

Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

Moving this to opinion. This is not really in line with how KSA1 is intended to be used. See comments from Colleen and myself on the patch for more info.

Changed in keystoneauth:
status: In Progress → Opinion
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystoneauth (master)

Change abandoned by Morgan Fainberg (<email address hidden>) on branch: master
Review: https://review.openstack.org/542355
Reason: Administratively abandoning this change, we can restore if we need to revisit.

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.