[openstack-dev] [cinder] Is there any way to put the driver backend error message to the horizon
liuxinguo
liuxinguo at huawei.com
Mon May 4 07:30:35 UTC 2015
· I’m just trying to have a analysis<app:ds:analysis> into it, maybe can begin with the “wrapper around the python-cinderclient” as George Peristerakis suggested.
发件人: Erlon Cruz [mailto:sombrafam at gmail.com]
发送时间: 2015年4月27日 20:07
收件人: OpenStack Development Mailing List (not for usage questions)
抄送: Luozhen; Fanyaohong
主题: Re: [openstack-dev] [cinder] Is there any way to put the driver backend error message to the horizon
Alex,
Any scratch of the solution you plan to propose?
On Mon, Apr 27, 2015 at 5:57 AM, liuxinguo <liuxinguo at huawei.com<mailto:liuxinguo at huawei.com>> wrote:
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<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
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@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/20150504/4da192a3/attachment.html>
More information about the OpenStack-dev
mailing list