Merge "Enable mutable config in Cyborg"

This commit is contained in:
Zuul 2018-04-07 12:07:43 +00:00 committed by Gerrit Code Review
commit b296290e6a
4 changed files with 5 additions and 4 deletions

View File

@ -33,5 +33,5 @@ def main():
'AgentManager',
constants.AGENT_TOPIC)
launcher = service.launch(CONF, mgr)
launcher = service.launch(CONF, mgr, restart_method='mutate')
launcher.wait()

View File

@ -32,5 +32,6 @@ def main():
# Build and start the WSGI app
launcher = cyborg_service.process_launcher()
server = cyborg_service.WSGIService('cyborg_api', CONF.api.enable_ssl_api)
launcher.launch_service(server, workers=server.workers)
launcher.launch_service(server, workers=server.workers,
restart_method='mutate')
launcher.wait()

View File

@ -35,5 +35,5 @@ def main():
'ConductorManager',
constants.CONDUCTOR_TOPIC)
launcher = service.launch(CONF, mgr)
launcher = service.launch(CONF, mgr, restart_method='mutate')
launcher.wait()

View File

@ -89,7 +89,7 @@ def prepare_service(argv=None):
def process_launcher():
return service.ProcessLauncher(CONF)
return service.ProcessLauncher(CONF, restart_method='mutate')
class WSGIService(service.ServiceBase):