Masked error from Resource._validate_service_availability

Bug #1542361 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Rabi Mishra

Bug Description

User gets to see "ResourceTypeUnavailable: Service heat does not have required endpoint in service catalog for the resource type OS::Heat::StructuredDeployment", where as the actual error is something else.

For example in the engine logs we have,

2016-02-01 10:53:24.233 11434 ERROR heat.engine.resource Forbidden: Trustee has no delegated roles. (Disable debug mode to suppress these details.) (HTTP 403) (Request-ID: req-2223404b-43da-467d-8482-b3ec73bb18f8)

Rabi Mishra (rabi)
Changed in heat:
assignee: nobody → Rabi Mishra (rabi)
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/276776

Changed in heat:
status: New → In Progress
Changed in heat:
milestone: none → mitaka-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/276776
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=0f97918edc2413b44d9a01975ea87fa619b20742
Submitter: Jenkins
Branch: master

commit 0f97918edc2413b44d9a01975ea87fa619b20742
Author: Rabi Mishra <email address hidden>
Date: Fri Feb 5 16:40:21 2016 +0530

    Don't mask exceptions in is_service_available

    We seem to be masking client exceptions when checking
    resource availability, it would be good to provide the
    proper error message to the user.

    Change-Id: I9b82b3d5d8382f2c253febf84b8d68ab7f128c5d
    Closes-Bug: #1542361

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/heat 6.0.0.0b3

This issue was fixed in the openstack/heat 6.0.0.0b3 development milestone.

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.