[Openstack] [Horizon and Nova] Inclusion of exception message to UI error

Musso, Veronica A veronica.a.musso at intel.com
Mon Jan 13 20:54:07 UTC 2014


Hi!

Due this bug: https://bugs.launchpad.net/horizon/+bug/1210540 and its fix proposal: https://review.openstack.org/#/c/62026, I would like to discuss the inclusion of Nova's exception messages in the Horizon's dashboard.
nova/compute/api.py functions throws exceptions with a translatable messages, and they are caught by  "handle" function in horizon/tables/actions.py. This function ignores the exception message and displays a general one.
The idea is to modify "handle" function to show the exception messages to the users. The advantage is to have a better idea of the failure reason without reviewing logs, helping the end users with the troubleshooting. On the other hand, the disadvantage is it may lead to information disclosure or not translatable messages (if functions sending the exception do not translate the messages).

Then, what is the best approach to resolved the bug?

Thanks!

Best Regards,
VerĂ³nica Musso




More information about the Openstack mailing list