← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350273] [NEW] Filtering services by name doesn't work

 

Public bug reported:

doing a query for listing services filtering by name doesn't work in the
SQL backend. This is due to a couple of things:

* 'name' doesn't appear in the filterprotected decorator in
keystone.catalog.controllers line 250

* the sql model for the service doesn't have an explicit name attribute
in keystone.catalog.backends.sql

This is an issue since some clients (namely python-openstackclient) give the option to create endpoints
with the service name as a parameter (you can give the service id, name or type), even though it is not
possible to retrieve a service from keystone using the name.

** Affects: keystone
     Importance: Undecided
     Assignee: Juan Antonio Osorio Robles (juan-osorio-robles)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Juan Antonio Osorio Robles (juan-osorio-robles)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1350273

Title:
  Filtering services by name doesn't work

Status in OpenStack Identity (Keystone):
  New

Bug description:
  doing a query for listing services filtering by name doesn't work in
  the SQL backend. This is due to a couple of things:

  * 'name' doesn't appear in the filterprotected decorator in
  keystone.catalog.controllers line 250

  * the sql model for the service doesn't have an explicit name
  attribute in keystone.catalog.backends.sql

  This is an issue since some clients (namely python-openstackclient) give the option to create endpoints
  with the service name as a parameter (you can give the service id, name or type), even though it is not
  possible to retrieve a service from keystone using the name.

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


Follow ups

References