Masked error from Resource._validate_service_availability

Bug #1542361 reported by Rabi Mishra on 2016-02-05
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) on 2016-02-05
Changed in heat:
assignee: nobody → Rabi Mishra (rabi)

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

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

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  Edit
Everyone can see this information.

Other bug subscribers