commit fcb5068e79490351359afdec9f05f42ebb022edf
Author: Mitsuhiro Tanino <email address hidden>
Date: Sat Jun 13 00:23:40 2015 -0400
Wait until service thread is done on service stop
In order to be able to perform graceful shutdown of services, we need
to wait for all the current service threads to finish before exiting
from the service process.
Oslo.service provides this facility through it's wait() method, so we
need to call it in Cinder Service stop() method which gets called when
graceful shutdown is requested by sending the process SIGINT or SIGTERM.
Reviewed: https:/ /review. openstack. org/191515 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=fcb5068e794 90351359afdec9f 05f42ebb022edf
Committed: https:/
Submitter: Jenkins
Branch: master
commit fcb5068e7949035 1359afdec9f05f4 2ebb022edf
Author: Mitsuhiro Tanino <email address hidden>
Date: Sat Jun 13 00:23:40 2015 -0400
Wait until service thread is done on service stop
In order to be able to perform graceful shutdown of services, we need
to wait for all the current service threads to finish before exiting
from the service process.
Oslo.service provides this facility through it's wait() method, so we
need to call it in Cinder Service stop() method which gets called when
graceful shutdown is requested by sending the process SIGINT or SIGTERM.
Partial-Bug: 1464822 53f9d89ff4e05db 8d029ef5e73
Change-Id: I972b80251cebe3