Issue warning when extra credentials are supplied

Bug #1076225 reported by Dolph Mathews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Low
Dolph Mathews

Bug Description

It's confusing & misleading when a CLI command such as the following appears to work (this was pulled from IRC):

$ keystone --os-username=admin --token=hastexo --os-auth-url=http://localhost:35357/v2.0 --endpoint=http://localhost:35357/v2.0 user-list
+----------------------------------+--------+---------+-------+
| id | name | enabled | email |
+----------------------------------+--------+---------+-------+
| 336c2f475ce34cbf8f9b2c5438fc76f5 | ec2 | True | |
| 78f4c366872e45ed9ddd

The client should simply issue a warning that the token & endpoint are being used, and that --os-username and --os-auth-url are being ignored.

Dolph Mathews (dolph)
affects: keystone → python-keystoneclient
summary: - warn about bypassed auth
+ Issue warning when extra credentials are supplied
Changed in python-keystoneclient:
assignee: nobody → Dolph Mathews (dolph)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in python-keystoneclient:
status: Confirmed → In Progress
Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.2.0
status: Fix Committed → Fix Released
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.