[openstack-dev] [cinder] Is there any way to put the driver backend error message to the horizon
liuxinguo
liuxinguo at huawei.com
Mon Apr 27 08:57:26 UTC 2015
Thanks for your suggestion, George. But when I looked into python-cinderclient (not very deep), I can not find the “wrapper around the python-cinderclient” you have mentioned.
Could you please give me a little more hint to find the “wrapper”?
Thanks,
Liu
发件人: George Peristerakis [mailto:gperiste at redhat.com]
发送时间: 2015年4月13日 23:22
收件人: OpenStack Development Mailing List (not for usage questions)
主题: Re: [openstack-dev] [cinder] Is there any way to put the driver backend error message to the horizon
Hi Lui,
I'm not familiar with the error you are trying to show, but Here's how Horizon typically works. In the case of cinder, we have a wrapper around the python-cinderclient which if the client sends a exception with a valid message, by default Horizon will display the exception message. The message can also be overridden in the translation file. So a good start is to look in python-cinderclient and see if you could produce a more meaningful message.
Cheers.
George
On 10/04/15 06:16 AM, liuxinguo wrote:
Hi,
When we create a volume in the horizon, there may occurrs some errors at the driver
backend, and the in horizon we just see a "error" in the volume status.
So is there any way to put the error information to the horizon so users can know what happened exactly just from the horizon?
Thanks,
Liu
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<mailto:OpenStack-dev-request at lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150427/fa6a9e99/attachment.html>
More information about the OpenStack-dev
mailing list