python-keystoneclient not providing shell parameters

Bug #1332337 reported by Fabio Giannetti
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Wishlist
Jamie Lennox

Bug Description

The parameters that are specific to AuthN and AuthZ for the various python-clients should be provided by python-keystoneclient. This would remove the definition of the same parameters from all the clients and give more control to Keystone on which are deprecated or not.
This is the current list that is repeated in every client:
--insecure
--os-cert
--cert-file (DEPRECATED)
--os-key
--key-file (DEPRECATED)
--os-cacert
--ca-file (DEPRECATED)
--os-username
--os_username
--os-user-id
--os_user_id
--os-user-domain-id
--os_user_domain_id
--os-user-domain-name
--os_user_domain_name
--os-project-id
--os_project_id
--os-project-name
--os_project_name
--os-project-domain-id
--os_project_domain_id
--os-project-domain-name
--os_project_domain_name
--os-password
--os_password
--os-tenant-id
--os_tenant_id
--os-tenant-name
--os_tenant_name
--os-auth-url
--os_auth_url
--os-region-name
--os_region_name
--os-auth-token
--os_auth_token
--os-service-type
--os_service_type
--os-endpoint-type
--os_endpoint_type

This with the correct default and help could be passed from the python-keystoneclient and added to the list of arguments in the service client

Revision history for this message
Dolph Mathews (dolph) wrote :

Agree! This has been on my wishlist forever.

Changed in python-keystoneclient:
importance: Undecided → Wishlist
status: New → Triaged
David J Hu (david-j-hu)
Changed in python-keystoneclient:
assignee: nobody → David J Hu (david-j-hu)
David J Hu (david-j-hu)
Changed in python-keystoneclient:
status: Triaged → In Progress
Revision history for this message
Dolph Mathews (dolph) wrote :
Changed in python-keystoneclient:
assignee: David J Hu (david-j-hu) → Jamie Lennox (jamielennox)
Revision history for this message
Dolph Mathews (dolph) wrote :

David: can you participate in the above sequence of reviews (it has several dependencies), and ensure that Jamie's work satisfies this bug? Thanks!

Revision history for this message
Jamie Lennox (jamielennox) wrote :

released in v0.10

see:

session.Session.register_cli_options
auth.register_argparse_arguments

Is that enough to close this bug?

Revision history for this message
Dolph Mathews (dolph) wrote :

I think so. The above was added in https://review.openstack.org/#/c/95679/

Changed in python-keystoneclient:
milestone: none → 0.10.0
status: In Progress → 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.