Enable mutable config in Cyborg
This patch makes sure Cyborg complies with the community Rocky goal for mutable config. Part of bp:mutable-config Change-Id: I6dec0492f59ee45501b1bff73453b1335aafb62b Signed-off-by: zhipengh <huangzhipeng@huawei.com>
This commit is contained in:
parent
e68b5b49f0
commit
3b93fda114
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user