Horizon shows unhelpful error message by object deletion

Bug #1610229 reported by Mikhail
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

I work on Sahara Dashboard plugin. We use "DeleteAction" class from "table" module. We have a list of Node group Templates. During object deletion we can have some errors. (As a result of internal Sahara behavior).
User sees the message about the error: "Error: Unable to delete template: ml-master".
I think it will be more useful if we add an exception string to the error message. For instance: "Unable to delete template ml-master" by follow reason: "Node group template with id=1 are used in Cluster template".
We can add to https://github.com/openstack/horizon/blob/master/horizon/tables/actions.py#L866 error message from ex instance of Exception.

Mikhail (mlelyakin)
Changed in horizon:
assignee: nobody → Mikhail (mlelyakin)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

Changed in horizon:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Michael Lelyakin (<email address hidden>) on branch: master
Review: https://review.openstack.org/351777

Akihiro Motoki (amotoki)
Changed in horizon:
assignee: Mikhail (mlelyakin) → nobody
tags: added: error-reporting
Changed in horizon:
status: In Progress → Confirmed
importance: Undecided → Low
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.