← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1702270] [NEW] glance-api does not exit gracefully on sigkill and sigterm signal

 

Public bug reported:

When user sends either sigkill or sigterm signal to glance-api's parent
process then it exits immediately without completing the current
request. As per openstack serivce standards it should wait until current
request is completed and should not accept new request for processing
till exiting.

Note:
For kill signal parent process exits immediately where as child process keeps running forever whereas for terminate signal parent and child processes exits immediately.

Expected behavior:
1. glance-api should complete current request before exiting
2. glance-api should not accept new request for processing

** Affects: glance
     Importance: Undecided
     Assignee: Abhishek Kekane (abhishek-kekane)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1702270

Title:
  glance-api does not exit gracefully on sigkill and sigterm signal

Status in Glance:
  New

Bug description:
  When user sends either sigkill or sigterm signal to glance-api's
  parent process then it exits immediately without completing the
  current request. As per openstack serivce standards it should wait
  until current request is completed and should not accept new request
  for processing till exiting.

  Note:
  For kill signal parent process exits immediately where as child process keeps running forever whereas for terminate signal parent and child processes exits immediately.

  Expected behavior:
  1. glance-api should complete current request before exiting
  2. glance-api should not accept new request for processing

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1702270/+subscriptions