<div dir="ltr">Hey Erlon,<div><br></div><div>The summit etherpad is here: <a href="https://etherpad.openstack.org/p/liberty-cinder-async-reporting">https://etherpad.openstack.org/p/liberty-cinder-async-reporting</a></div><div><br></div><div>It links to what we discussed in Paris. I will be filling it out this week. Also note, I have submitted this topic for a cross-project session: <a href="https://docs.google.com/spreadsheets/d/1vCTZBJKCMZ2xBhglnuK3ciKo3E8UMFo5S5lmIAYMCSE/edit#gid=827503418">https://docs.google.com/spreadsheets/d/1vCTZBJKCMZ2xBhglnuK3ciKo3E8UMFo5S5lmIAYMCSE/edit#gid=827503418</a></div><div><br></div><div>-Alex</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 4, 2015 at 3:30 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 lang="ZH-CN" link="blue" vlink="purple">
<div>
<p class="MsoNormal" style="margin-left:0cm">
<u></u><span lang="EN-US" style="font-size:10.0pt;font-family:Symbol;color:#434343"><span>·<span style="font:7.0pt "Times New Roman"">        
</span></span></span><u></u><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m just trying to have a  <a><span style="color:#1f497d;text-decoration:none">analysis</span></a>
 into it, maybe can begin with </span><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">the “wrapper around the python-cinderclient” as George Peristerakis suggested.</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#434343"><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 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">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> Erlon Cruz [mailto:<a href="mailto:sombrafam@gmail.com" target="_blank">sombrafam@gmail.com</a>]
<br>
</span><b><span style="font-size:10.0pt">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> 2015</span><span style="font-size:10.0pt">年<span lang="EN-US">4</span>月<span lang="EN-US">27</span>日<span lang="EN-US"> 20:07<br>
</span><span class=""><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> OpenStack Development Mailing List (not for usage questions)<br>
</span></span><b>抄送<span lang="EN-US">:</span></b><span lang="EN-US"> Luozhen; Fanyaohong<br>
</span></span></p><div><div class="h5"><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></div></div><p></p>
</div><div><div class="h5">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Alex,<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Any scratch of the solution you plan to propose? <u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On Mon, Apr 27, 2015 at 5:57 AM, liuxinguo <<a href="mailto:liuxinguo@huawei.com" target="_blank">liuxinguo@huawei.com</a>> wrote:<u></u><u></u></span></p>
<div>
<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.</span><span lang="EN-US"><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”?</span><span lang="EN-US"><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"> </span><span lang="EN-US"><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,</span><span lang="EN-US"><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</span><span lang="EN-US"><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"> </span><span lang="EN-US"><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"> </span><span lang="EN-US"><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">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> George Peristerakis [mailto:<a href="mailto:gperiste@redhat.com" target="_blank">gperiste@redhat.com</a>]
<br>
</span><b><span style="font-size:10.0pt">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> 2015</span><span style="font-size:10.0pt">年<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</span></span><span lang="EN-US"><u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<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" style="margin-bottom:12.0pt"><span lang="EN-US"><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>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><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><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</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>