<div dir="ltr">I prefer to the sub-state with a bit more detail. It will be simple for horizon or others to get the more detail error message from cinder.<div><br></div><div>Maybe we can define some template messages(according to kinds of error reason, more general) to avoid specify driver info back to end user.<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-14 0:24 GMT+08:00 Duncan Thomas <span dir="ltr"><<a href="mailto:duncan.thomas@gmail.com" target="_blank">duncan.thomas@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>George<br><br></div>What has been said is that:<br></div>1) With an async API, there is no error from the client in the request. e.g. for a create, the request returns success well before the backend has been contacted about the request. There is no path back to the client with which to send an error.<br><br></div>2) Quite often there is a desire for the admin to see error messages, but not the tenant - this is especially true for managed / public clouds.<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On 13 April 2015 at 18:21, George Peristerakis <span dir="ltr"><<a href="mailto:gperiste@redhat.com" target="_blank">gperiste@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Lui,<br>
<br>
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.<br>
<br>
<br>
Cheers.<span><font color="#888888"><br>
George</font></span><div><div><br>
<br>
<div>On 10/04/15 06:16 AM, liuxinguo wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<pre>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
</pre>
<br>
<fieldset></fieldset>
<br>
</div></div><span><pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</span></blockquote>
<br>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Duncan Thomas</div>
</font></span></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><pre>Best Wishes For You!</pre></div>
</div>