[openstack-dev] [glance] Use Launcher/ProcessLauncher in glance

Tailor, Rajesh Rajesh.Tailor at nttdata.com
Tue Jul 22 13:56:24 UTC 2014


Hi all,

Please provide your valuable inputs on the proposal below mentioned.

Thanks,
Rajesh Tailor

From: Tailor, Rajesh
Sent: Thursday, July 17, 2014 12:38 PM
To: 'openstack-dev at lists.openstack.org'
Subject: [openstack-dev] [glance] Use Launcher/ProcessLauncher in glance

Hi all,

Why glance is not using Launcher/ProcessLauncher (oslo-incubator) for its wsgi service like it is used in other openstack projects i.e. nova, cinder, keystone etc.

As of now when SIGHUP signal is sent to glance-api parent process, it calls the callback handler and then throws OSError.
The OSError is thrown because os.wait system call was interrupted due to SIGHUP callback handler.
As a result of this parent process closes the server socket.
All the child processes also gets terminated without completing existing api requests because the server socket is already closed and the service doesn't restart.

Ideally when SIGHUP signal is received by the glance-api process, it should process all the pending requests and then restart the glance-api service.

If (oslo-incubator) Launcher/ProcessLauncher is used in glance then it will handle service restart on 'SIGHUP' signal properly.

Can anyone please let me know what will be the positive/negative impact of using Launcher/ProcessLauncher (oslo-incubator) in glance?

Thank You,
Rajesh Tailor


______________________________________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140722/9926b66c/attachment.html>


More information about the OpenStack-dev mailing list