Swift should search for "type" field in serviceCatalog

Bug #904830 reported by Eamonn O'Toole
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Fix Released
Undecided
Unassigned

Bug Description

The 1.4.4 swift command parses the serviceCatalog and checks that the "name" value contains "swift". The name field is operator specified and varies. Instead the swift command should check that the "type" field contains "object-store".

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote :

See:

https://bugs.launchpad.net/glance/+bug/904850

for the equivalent glance issue and some additional details

Revision history for this message
Gerry Drudy (gerry-drudy) wrote : RE: [Bug 904830] Re: Swift should search for "type" field in serviceCatalog

Thanks Stuart. I did spot the bug.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Stuart McLaren
Sent: 15 December 2011 17:29
To: Drudy, Gerry
Subject: [Bug 904830] Re: Swift should search for "type" field in serviceCatalog

See:

https://bugs.launchpad.net/glance/+bug/904850

for the equivalent glance issue and some additional details

--
You received this bug notification because you are subscribed to
OpenStack Object Storage (swift).
Matching subscriptions: swiftbugs
https://bugs.launchpad.net/bugs/904830

Title:
  Swift should search for "type" field in serviceCatalog

Status in OpenStack Object Storage (Swift):
  New

Bug description:
  The 1.4.4 swift command parses the serviceCatalog and checks that the
  "name" value contains "swift". The name field is operator specified
  and varies. Instead the swift command should check that the "type"
  field contains "object-store".

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

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

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

Changed in swift:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to swift (master)

Reviewed: https://review.openstack.org/2838
Committed: http://github.com/openstack/swift/commit/6fe46ad056857e76c27093bdcc03e4a8618faafc
Submitter: Jenkins
Branch: master

commit 6fe46ad056857e76c27093bdcc03e4a8618faafc
Author: Donagh McCabe <email address hidden>
Date: Thu Jan 5 11:07:23 2012 +0000

    Bug #904830: use type==object-store instead of name==swift from service catalog

    The name field in the service catalog is an operator-specified, marketing name.
    The type field contains the canonical name for the service (i.e., swift is
    object-store).

    Change-Id: I8556b3e6fddd8784f259170195352478d9c6ae32

Changed in swift:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in swift:
milestone: none → 1.4.6
status: Fix Committed → 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.