yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54723
[Bug 1610229] [NEW] Horizon shows unhelpful error message by object deletion
Public bug reported:
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.
** Affects: horizon
Importance: Undecided
Assignee: Mikhail (mlelyakin)
Status: New
** Changed in: horizon
Assignee: (unassigned) => Mikhail (mlelyakin)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1610229
Title:
Horizon shows unhelpful error message by object deletion
Status in OpenStack Dashboard (Horizon):
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1610229/+subscriptions