[openstack-dev] [oslo] How should oslo.service handle SIGINT?

Davanum Srinivas davanum at gmail.com
Mon Jul 20 17:22:10 UTC 2015


@Elena,

What are the pro's and con's of "having a handler" as this was the
existing behavior for all the projects that picked up code from
oslo-incubator for this behavior?

-- dims

On Mon, Jul 20, 2015 at 1:12 PM, Elena Ezhova <eezhova at mirantis.com> wrote:
> Hi!
>
> Not so long ago oslo.service had a handler for SIGINT and on receiving this
> signal a process killed all children with SIGTERM and exited.
> Change [1], that added graceful shutdown on SIGTERM, removed all SIGINT
> handlers and currently all services that consume oslo.service generate
> KeyboardInterrupt exceptions on receiving SIGINT.
>
> My question is whether such behavior is what users and operators expect or
> having a handler is still the preferred way?
>
>
> Thanks, Elena
>
> [1]
> https://github.com/openstack/oslo.service/commit/fa9aa6b665f75e610f2b91a7d310f6499bd71770
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Davanum Srinivas :: https://twitter.com/dims



More information about the OpenStack-dev mailing list