<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle18
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
ol
{margin-bottom:0cm}
ul
{margin-bottom:0cm}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" 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 https://review.openstack.org/#/c/117988/. We will test what parameters are reloaded and
report them to the Doc team.</p>
<p><br>
</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>
<p><br>
</p>
<p>Thanks & Regards,</p>
<p><br>
</p>
<p>Abhishek Kekane<br>
</p>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF318148"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Kekane, Abhishek<br>
<b>Sent:</b> Wednesday, September 03, 2014 9:39 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> RE: [openstack-dev] [glance][feature freeze exception] Proposal for using Launcher/ProcessLauncher for launching services<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<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 class="MsoListParagraph" style="text-indent:-18.0pt"><span style="color:black"><span style="">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 class="MsoListParagraph" style="text-indent:-18.0pt"><span style="color:black"><span style="">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 class="MsoListParagraph" style="text-indent:-18.0pt"><span style="color:black"><span style="">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:Abhishek.Kekane@nttdata.com]
<br>
<b>Sent:</b> 02 September 2014 19:11<br>
<b>To:</b> OpenStack Development Mailing List (openstack-dev@lists.openstack.org)<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>
<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>
</body>
</html>