Command inconsistency in Identity v2.0 endpoints

Bug #1184012 reported by Dean Troyer
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Terry Howe

Bug Description

In the Identity v2.0 endpoint commands, endpoint create takes a service name or ID to create the endpoint but endpoint show takes only a service type. And endpoint delete only accepts service id.

All usages should be consistent and accept id, name and type. If name or type is not unique then abort the operation and report the multiple results to the user.

Tags: command
Dean Troyer (dtroyer)
Changed in python-openstackclient:
importance: Undecided → Medium
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m2
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: New → Confirmed
Terry Howe (thowe-g)
Changed in python-openstackclient:
assignee: nobody → Terry Howe (thowe-g)
status: Confirmed → In Progress
Changed in python-keystoneclient:
assignee: nobody → Terry Howe (thowe-g)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstackclient (master)

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

Terry Howe (thowe-g)
no longer affects: python-keystoneclient
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/82310
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=bea6e6ac23e893a85f4b0a49bab52934aca86726
Submitter: Jenkins
Branch: master

commit bea6e6ac23e893a85f4b0a49bab52934aca86726
Author: Terry Howe <email address hidden>
Date: Wed Mar 12 11:51:17 2014 -0600

    Make endpoint commands more consistent

    Make endpoints more consistent across create, show, etc
    * Make the name option required for create
    * Use a common function to fetch services by id, name or type
    * Have show work by endpoint id or by service id, type or name
    * Have show display all the fields by default
    * Remove capability to filter queries by attribute value pairs

    Change-Id: Idaa4b8d930ba859fd62de777e44a10b1ed58c79b
    Partial-Bug: #1184012

Terry Howe (thowe-g)
Changed in python-openstackclient:
status: In Progress → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: m2 → m4
Dean Troyer (dtroyer)
Changed in python-openstackclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.