Bug 1041014

Summary: [RFE][nova]: Graceful service shutdown
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-novaAssignee: Nikola Dipanov <ndipanov>
Status: CLOSED ERRATA QA Contact: Ami Jeain <ajeain>
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: ajeain, eglynn, markmc, ndipanov, ohochman, sclewis, sgordon, slong, vpopovic, yeylon
Target Milestone: Upstream M1Keywords: FutureFeature, Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/graceful-shutdown
Whiteboard: upstream_milestone_icehouse-1 upstream_status_implemented upstream_definition_approved
Fixed In Version: openstack-nova-2014.1-3.el7ost Doc Type: Enhancement
Doc Text:
Compute services are now able to shutdown gracefully by disabling the processing of new requests when a service shutdown is requested but allowing requests already in process to complete before terminating.
Story Points: ---
Clone Of:
: 1081867 (view as bug list) Environment:
Last Closed: 2014-07-08 15:29:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1081867    

Description RHOS Integration 2013-12-12 13:25:11 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/graceful-shutdown.

Description:

Enable Nova services to be terminated gracefully.  Disable processing of new requests, but allow new requests to complete before terminating the process.

During a software upgrade, this would allow service instances to be swapped out, while still completing existing requests.

Steps:
1) Disable message "listening".
2) Disable periodic task timer.
3) Wait for existing requests and periodic tasks to complete.
4) Kill process.

Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-23 20:42:54 UTC
Moving to POST based on upstream status (Implemented).

Comment 5 Nikola Dipanov 2014-03-21 15:34:10 UTC
The support for this was added in early Icehous, but was broken by accident as can be seen from the linked upstream bug.

Upstream patch for the bug is also attached and should be part of the RC-1 tarballs.

Comment 18 errata-xmlrpc 2014-07-08 15:29:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0853.html