<div dir="ltr">Alex,<div><br></div><div>Any scratch of the solution you plan to propose? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 27, 2015 at 5:57 AM, liuxinguo <span dir="ltr"><<a href="mailto:liuxinguo@huawei.com" target="_blank">liuxinguo@huawei.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="white" lang="ZH-CN" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">Could you please give me a little more hint to find the “wrapper”?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">Liu<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:宋体;color:windowtext">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt;font-family:宋体;color:windowtext"> George Peristerakis [mailto:<a href="mailto:gperiste@redhat.com" target="_blank">gperiste@redhat.com</a>]
<br>
</span><b><span style="font-size:10.0pt;font-family:宋体;color:windowtext">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt;font-family:宋体;color:windowtext"> 2015</span><span style="font-size:10.0pt;font-family:宋体;color:windowtext">年<span lang="EN-US">4</span>月<span lang="EN-US">13</span>日<span lang="EN-US">
23:22<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> OpenStack Development Mailing List (not for usage questions)<br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> Re: [openstack-dev] [cinder] Is there any way to put the driver backend error message to the horizon<u></u><u></u></span></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">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.<br>
George<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 10/04/15 06:16 AM, liuxinguo wrote:<u></u><u></u></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre><span lang="EN-US">Hi,<u></u><u></u></span></pre>
<pre><span lang="EN-US"><u></u> <u></u></span></pre>
<pre><span lang="EN-US">When we create a volume in the horizon, there may occurrs some errors at the driver<u></u><u></u></span></pre>
<pre><span lang="EN-US">backend, and the in horizon we just see a "error" in the volume status.<u></u><u></u></span></pre>
<pre><span lang="EN-US"><u></u> <u></u></span></pre>
<pre><span lang="EN-US">So is there any way to put the error information to the horizon so users can know what happened exactly just from the horizon?<u></u><u></u></span></pre>
<pre><span lang="EN-US">Thanks,<u></u><u></u></span></pre>
<pre><span lang="EN-US">Liu<u></u><u></u></span></pre>
<pre><span lang="EN-US"><u></u> <u></u></span></pre>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
<br>
<u></u><u></u></span></p>
<pre><span lang="EN-US">__________________________________________________________________________<u></u><u></u></span></pre>
<pre><span lang="EN-US">OpenStack Development Mailing List (not for usage questions)<u></u><u></u></span></pre>
<pre><span lang="EN-US">Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><u></u><u></u></span></pre>
<pre><span lang="EN-US"><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><u></u><u></u></span></pre>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div></div></div>
</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></div>