service-list returns empty set for TemplatedCatalog backend

Bug #954089 reported by Jay Pipes
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Critical
Jay Pipes

Bug Description

jpipes@librebox:~/repos/devstack$ keystone --username=admin --password=pass service-list
+----+------+------+-------------+
| id | name | type | description |
+----+------+------+-------------+
+----+------+------+-------------+

Verified same behaviour using TemplatedCatalog.

Apparently, service--list working with SQL backend...

Jay Pipes (jaypipes)
description: updated
summary: - service-list returns empty set
+ service-list returns empty set for TemplatedCatalog backend
Revision history for this message
Kevin Jackson (kevin-linuxservices) wrote :

Ubuntu 12.04 B1
Adding services with this set

[catalog]
driver = keystone.catalog.backends.sql.Catalog

brings back a list of services...
root@openstack1:~/OpenStackInstaller# keystone --username=admin --password=openstack service-list
+----------------------------------+----------+--------------+----------------------------+
| id | name | type | description |
+----------------------------------+----------+--------------+----------------------------+
| 329f0a467efa48febdd0f210c0af47db | nova | compute | OpenStack Compute Service |
| 7dd5cc6276c44a69abf0d85d84a71587 | ec2 | ec2 | EC2 Service |
| 9948fccc163741acb5e6c7b990b43ea9 | swift | object-store | OpenStack Storage Service |
| a4023c8677a441f983716e645ee6dbab | glance | image | OpenStack Image Service |
| a67056ee10e74750897d3d2f4defa280 | volume | volume | Volume Service |
| c361985729164c1cb248f53d3e8a4d76 | keystone | identity | OpenStack Identity Service |
+----------------------------------+----------+--------------+----------------------------+

It appears not under devstack configs.

Joseph Heck (heckj)
Changed in keystone:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → essex-rc1
Jay Pipes (jaypipes)
Changed in keystone:
assignee: nobody → Jay Pipes (jaypipes)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/5294
Committed: http://github.com/openstack/keystone/commit/193374af3860e17ed03bb0431d823046079ae444
Submitter: Jenkins
Branch: master

commit 193374af3860e17ed03bb0431d823046079ae444
Author: Jay Pipes <email address hidden>
Date: Tue Mar 13 17:30:07 2012 -0400

    Fixes LP #954089 - Service list templated catalog

    * Adds missing test cases for the TemplatedCatalog
    * Adds a base CatalogTest that different backends
      can use
    * Updates kvs.Catalog to raise ServiceNotFound where
      appropriate
    * Updates the tests.test_keystoneclient_sql to actually
      test the SQL catalog backend
    * Removes old test for incorrect endpoints listing
    * Removes the keystone.catalog.core.Driver.service_exists
      method since it was only implemented in the SQL driver
      and wasn't required now that get_service and delete_service
      properly raise ServiceNotFound exception.

    Change-Id: I35690cc147e56007be27bacf94eeff360e727e5d

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-rc1 → 2012.1
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.