<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 28, 2014 at 8:12 AM, Tailor, Rajesh <span dir="ltr"><<a href="mailto:Rajesh.Tailor@nttdata.com" target="_blank">Rajesh.Tailor@nttdata.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I have submitted the patch "Made provision for glance service to use Launcher" to the community gerrit.<br>
Pl refer: <a href="https://review.openstack.org/#/c/110012/" target="_blank">https://review.openstack.org/#/c/110012/</a><br>
<br>
I have also set the workflow to 'work in progress'. I will start working on writing unit tests for the proposed<br>
changes, after positive feedback for the same.<br>
<br>
Could you please give your comments on this.<br>
<br>
Could you also please suggest me whether to file a launchpad bug or a blueprint, to propose these changes in the glance project ?<br></blockquote><div><br></div><div>Submitting to <a href="http://github.com/openstack/glance-specs">github.com/openstack/glance-specs</a> would be best. Thanks.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im HOEnZb"><br>
Thanks,<br>
Rajesh Tailor<br>
<br>
-----Original Message-----<br>
</div><div class="HOEnZb"><div class="h5">From: Tailor, Rajesh [mailto:<a href="mailto:Rajesh.Tailor@nttdata.com">Rajesh.Tailor@nttdata.com</a>]<br>
Sent: Wednesday, July 23, 2014 12:13 PM<br>
To: OpenStack Development Mailing List (not for usage questions)<br>
Subject: Re: [openstack-dev] [glance] Use Launcher/ProcessLauncher in glance<br>
<br>
Hi Jay,<br>
Thank you for your response.<br>
I will soon submit patch for the same.<br>
<br>
Thanks,<br>
Rajesh Tailor<br>
<br>
-----Original Message-----<br>
From: Jay Pipes [mailto:<a href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>]<br>
Sent: Tuesday, July 22, 2014 8:07 AM<br>
To: <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>
Subject: Re: [openstack-dev] [glance] Use Launcher/ProcessLauncher in glance<br>
<br>
On 07/17/2014 03:07 AM, Tailor, Rajesh wrote:<br>
> Hi all,<br>
><br>
> Why glance is not using Launcher/ProcessLauncher (oslo-incubator) for<br>
> its wsgi service like it is used in other openstack projects i.e.<br>
> nova, cinder, keystone etc.<br>
<br>
Glance uses the same WSGI service launch code as the other OpenStack project from which that code was copied: Swift.<br>
<br>
> As of now when SIGHUP signal is sent to glance-api parent process, it<br>
> calls the callback handler and then throws OSError.<br>
><br>
> The OSError is thrown because os.wait system call was interrupted due<br>
> to SIGHUP callback handler.<br>
><br>
> As a result of this parent process closes the server socket.<br>
><br>
> All the child processes also gets terminated without completing<br>
> existing api requests because the server socket is already closed and<br>
> the service doesn't restart.<br>
><br>
> Ideally when SIGHUP signal is received by the glance-api process, it<br>
> should process all the pending requests and then restart the<br>
> glance-api service.<br>
><br>
> If (oslo-incubator) Launcher/ProcessLauncher is used in glance then it<br>
> will handle service restart on 'SIGHUP' signal properly.<br>
><br>
> Can anyone please let me know what will be the positive/negative<br>
> impact of using Launcher/ProcessLauncher (oslo-incubator) in glance?<br>
<br>
Sounds like you've identified at least one good reason to move to oslo-incubator's Launcher/ProcessLauncher. Feel free to propose patches which introduce that change to Glance. :)<br>
<br>
> Thank You,<br>
><br>
> Rajesh Tailor<br>
> ______________________________________________________________________<br>
> Disclaimer:This email and any attachments are sent in strictest<br>
> confidence for the sole use of the addressee and may contain legally<br>
> privileged, confidential, and proprietary data. If you are not the<br>
> intended recipient, please advise the sender by replying promptly to<br>
> this email and then delete and destroy this email and any attachments<br>
> without any further use, copying or forwarding<br>
<br>
Please advise your corporate IT department that the above disclaimer on your emails is annoying, is entirely disregarded by 99.999% of the real world, has no legal standing or enforcement, and may be a source of problems with people's mailing list posts being sent into spam boxes.<br>
<br>
All the best,<br>
-jay<br>
<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>
______________________________________________________________________<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>
<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>
______________________________________________________________________<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>
<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>
</div></div></blockquote></div><br></div></div>