← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1555830] Re: 'service provider show' returns a service provider when queried with wrong sp_id

 

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

commit 58094bff80584ba9afac0073aea545a96a170bff
Author: Steve Martinelli <stevemar@xxxxxxxxxx>
Date:   Fri Mar 11 04:06:18 2016 -0500

    Search by user defined ID for service providers
    
    IDs for service providers can be user defined (like, Bob). This
    causes issues with the usual get by ID method.
    
    Keystone server side has implemented changes to search by ID when
    listing, which should resolve the issue with minimal changes to
    the client side.
    
    Change-Id: Ic705806e4bc7bb24f946a1fce803a0a0a4d788c1
    Closes-Bug: 1555830


** Changed in: python-openstackclient
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1555830

Title:
  'service provider show' returns a service provider when queried with
  wrong sp_id

Status in OpenStack Identity (keystone):
  Fix Released
Status in python-openstackclient:
  Fix Released

Bug description:
  ubuntu@k2k-idp3:~$ openstack service provider list
  +-------------+---------+-------------+---------------------------------------------------------------------------------------------------+
  | ID          | Enabled | Description | Auth URL                                                                                          |
  +-------------+---------+-------------+---------------------------------------------------------------------------------------------------+
  | keystone-sp | True    | None        | http://xxx.xxx.xxx.xxx:35357/v3/OS-FEDERATION/identity_providers/keystone-idp/protocols/saml2/auth |
  +-------------+---------+-------------+---------------------------------------------------------------------------------------------------+
  ubuntu@k2k-idp3:~$ openstack service provider show nonexistent
  +--------------------+---------------------------------------------------------------------------------------------------+
  | Field              | Value                                                                                             |
  +--------------------+---------------------------------------------------------------------------------------------------+
  | auth_url           | http://xxx.xxx.xxx.xxx:35357/v3/OS-FEDERATION/identity_providers/keystone-idp/protocols/saml2/auth |
  | description        | None                                                                                              |
  | enabled            | True                                                                                              |
  | id                 | keystone-sp                                                                                       |
  | relay_state_prefix | ss:mem:                                                                                           |
  | sp_url             | http://xxx.xxx.xxx.xxx:5000/Shibboleth.sso/SAML2/ECP                                               |
  +--------------------+---------------------------------------------------------------------------------------------------+
  ubuntu@k2k-idp3:~$ pip show python-openstackclient
  ---
  Metadata-Version: 2.0
  Name: python-openstackclient
  Version: 2.2.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1555830/+subscriptions