Masked error from Resource._validate_service_availability

Bug #1542361 reported by Rabi Mishra on 2016-02-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
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

Changed in heat:
status: New → In Progress
Changed in heat:
milestone: none → mitaka-3
importance: Undecided → Medium

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 development milestone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers