Enable mutate for cinder scheduler

Enable cinder service to launch with restart_method as mutate
so that cinder scheduler can enable debug dynamically

Change-Id: I3048efa77a6935f097ba8f96e887ccc2a1db0018
Closes-Bug: 1840487
This commit is contained in:
Divya K Konoor 2019-08-17 02:46:30 -04:00
parent 1962d17cad
commit 8ba8092406

View File

@ -602,7 +602,8 @@ def serve(server, workers=None):
if _launcher:
raise RuntimeError(_('serve() can only be called once'))
_launcher = service.launch(CONF, server, workers=workers)
_launcher = service.launch(CONF, server, workers=workers,
restart_method='mutate')
def wait():