<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 2:07 PM, Kekane, Abhishek <span dir="ltr"><<a href="mailto:Abhishek.Kekane@nttdata.com" target="_blank">Abhishek.Kekane@nttdata.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="EN-IN" link="blue" vlink="purple">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi Erno,<br>
<br>
<p>I agree that we must document what all config parameters will be reloaded after SIGHUP signal is processed, that's the reason why we have added DocImpact tag to patch <a href="https://review.openstack.org/#/c/117988/" target="_blank">https://review.openstack.org/#/c/117988/</a>. We will test what parameters are reloaded and
report them to the Doc team.</p>
<p><br></p></div></div></blockquote><div><br></div><div>The use of a DocImpact flag does not mean a doc person will take the assignment. The Glance team takes responsibility for any documentation needed for changes. </div><div><br></div><div>If it really is just configuration options that change, we have an automation script that generates new, changed, and deprecated configuration options and pulls out the descriptions from the code itself. However you may want more description about operating the Image Service in this way so an additional section would help people understand. </div><div><br></div><div>From reading the code comments it looks like another approach is preferred, so my describing the doc process is just so that others on the list know how DocImpact works. </div><div><br></div><div>Anne</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-IN" link="blue" vlink="purple"><div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><p>
</p>
<p><u><b>Our use case:</b></u></p>
<p><u><b><br>
</b></u></p>
<p>We want to use SIGHUP signal to reload filesystem store related config parameters namely "filesystem_store_datadir" and "filesystem_store_datadirs" which are very crucial in the production environment especially for people using NFS. In case, the filesystem
is approaching at full capacity, administrator can add more storage and configured it via the above parameters which will be taken into effect upon sending SIGHUP signal. Secondly, most of the OpenStack services uses service framework and it does handle reloading
of configuration files via SIGHUP signal which glance cannot without this patch.</p><span class="">
<p><br>
</p>
<p>Thanks & Regards,</p>
<p><br>
</p>
<p>Abhishek Kekane<br>
</p>
<br>
</span><div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Kekane, Abhishek<br>
<b>Sent:</b> Wednesday, September 03, 2014 9:39 AM<span class=""><br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
</span><b>Subject:</b> RE: [openstack-dev] [glance][feature freeze exception] Proposal for using Launcher/ProcessLauncher for launching services<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Hi All,</span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black">Please give your support me for applying the </span><span style="color:black">freeze exception for using oslo-incubator service framework in glance, based on the following blueprint:</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><a href="https://blueprints.launchpad.net/glance/+spec/use-common-service-framework" target="_blank">https://blueprints.launchpad.net/glance/+spec/use-common-service-framework</a></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have ensured that after making these changes everything is working smoothly.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="color:black">I have done the functional testing for following three scenarios:</span></p>
<p><span style="color:black"><span>1.<span style="font:7.0pt "Times New Roman"">
</span></span></span><span style="color:black">Enabled SSL and checked requests are processed by the Api service before and after SIGHUP signal</span></p>
<p><span style="color:black"><span>2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><span style="color:black">Disabled SSL and checked requests are processed by the Api service before and after SIGHUP signal</span></p>
<p><span style="color:black"><span>3.<span style="font:7.0pt "Times New Roman"">
</span></span></span><span style="color:black">I have also ensured reloading of the parameters like ilesystem_store_datadir, filesystem_store_datadirs are working effectively after sending the SIGHUP signal.</span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black">To test 1<sup>st</sup> and 2<sup>nd</sup> I have created a python script which will send multiple requests to glance at a time and added a chron job to send a SIGHUP signal to the parent process.</span></p>
<p class="MsoNormal"><span style="color:black">I have tested above script for 1 hour and confirmed every request has been processed successfully.</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:black">Please consider this feature to be a part of Juno release.</span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black">Thanks & Regards,</span></p>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="color:black">Abhishek Kekane</span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="color:#1f497d"> </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:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Kekane, Abhishek [mailto:<a href="mailto:Abhishek.Kekane@nttdata.com" target="_blank">Abhishek.Kekane@nttdata.com</a>]
<br>
<b>Sent:</b> 02 September 2014 19:11<br>
<b>To:</b> OpenStack Development Mailing List (<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>)<br>
<b>Subject:</b> [openstack-dev] [glance][feature freeze exception] Proposal for using Launcher/ProcessLauncher for launching services</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Hi All,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I'd like to ask for a feature freeze exception for using oslo-incubator service framework in glance, based on the following blueprint:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><a href="https://blueprints.launchpad.net/glance/+spec/use-common-service-framework" target="_blank">https://blueprints.launchpad.net/glance/+spec/use-common-service-framework</a></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">The code to implement this feature is under review at present.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">1. Sync oslo-incubator service module in glance: <a href="https://review.openstack.org/#/c/117135/2" target="_blank">
https://review.openstack.org/#/c/117135/2</a></p>
<p class="MsoNormal">2. Use Launcher/ProcessLauncher in glance: <a href="https://review.openstack.org/#/c/117988/" target="_blank">
https://review.openstack.org/#/c/117988/</a></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">If we have this feature in glance then we can able to use features like reload glance configuration file without restart, graceful shutdown etc.</p>
<p class="MsoNormal">Also it will use common code like other OpenStack projects nova, keystone, cinder does.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">We are ready to address all the concerns of the community if they have any.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks & Regards,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Abhishek Kekane</p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
______________________________________________________________________<br>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying
promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding</span></p>
</div>
</div>
</div></div></div>
</div><div><div class="h5">
<br clear="both">
______________________________________________________________________<br>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data. If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<br>
</div></div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</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></div>