<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi Leehom,</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">IMO you should go ahead create a blueprint and submit a lite-specs in glance which will help other reviewers to understand your proposal.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br clear="all"></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks & Best Regards,<br><br></div>Abhishek Kekane<br></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Dec 25, 2018 at 2:42 PM Leehom Li (feli5) <<a href="mailto:feli5@cisco.com">feli5@cisco.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_5908277693686712539WordSection1">
<p class="MsoNormal"><span style="font-size:11pt">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I encountered an error when enable audit for glance.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">And a bug is fired to fix the conflict in keystone middleware project.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><a href="https://bugs.launchpad.net/keystonemiddleware/+bug/1809101" target="_blank">https://bugs.launchpad.net/keystonemiddleware/+bug/1809101</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Brief about the bug is both keystone audit middleware and glance are using req.context.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">They are conflict with each other.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I upload a patch to fix this issue for keystone audit middleware.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">But I think it would be nice to have glance consist with other OpenStack component like nova to store context in request.environ[‘glance.context’].<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">I checked the code of glance, use of req.context spread cross entire API level code, so I think it would be better to have a BP to trace about the change.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Needs your kind advice. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<table class="gmail-m_5908277693686712539MsoNormalTable" style="width:407.25pt" width="543" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td style="padding:0cm">
<p class="MsoNormal"><span style="font-size:11pt">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt">Leehom Li<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:rgb(102,102,102)"><a href="mailto:feli5@cisco.com" target="_blank">feli5@cisco.com</a><br>
Phone: <b>+86 512 8777 4186</b></span><span style="font-size:11pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</blockquote></div>