From 8ba809240697b439312e98d69ee04654b2e3283c Mon Sep 17 00:00:00 2001 From: Divya K Konoor Date: Sat, 17 Aug 2019 02:46:30 -0400 Subject: [PATCH] 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 --- cinder/service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cinder/service.py b/cinder/service.py index 439d768e0b4..84d10b9217f 100644 --- a/cinder/service.py +++ b/cinder/service.py @@ -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():