Cinder api version detection fails

Bug #1382659 reported by Randall Burt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Randall Burt

Bug Description

Cinder client plugin API version detection will fail when the EndpointNotFound exception is thrown from keystone client and not from cinderclient.

Revision history for this message
Randall Burt (randall-burt) wrote :

Turns out that when Cinder v2 support was added, the "fake" keystone client was changed to raise Cinder exceptions when a url wasn't found instead of the proper keystone exception.

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

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

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

Reviewed: https://review.openstack.org/129365
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=59085e2d6678be4368169e3dba29c3407bf9c519
Submitter: Jenkins
Branch: master

commit 59085e2d6678be4368169e3dba29c3407bf9c519
Author: Randall Burt <email address hidden>
Date: Fri Oct 17 14:39:25 2014 -0500

    Catch correct exception for Cinder api version detection

    Catch the EndpointNotFound exception raised by Keystone rather
    than the one thrown by Cinder since keystoneclient raises keystone
    exceptions and not cinder exceptions. Also update the fake
    keystone client to mirror this behavior.

    Change-Id: I9f4579cf55fc697470dd8803553d7968e22a6bec
    Closes-Bug: #1382659

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-1 → 2015.1.0
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.