Enable mutable config in Manila
New releases of oslo.config support a 'mutable' parameter to Opts. This is only respected when the new method mutate_config_files is called instead of reload_config_files. Cinder delegates making this call to oslo.service. This was provided in patchset Icec3e664f3fe72614e373b2938e8dee53cf8bc5e Further patches will be needed to make select config options be marked as mutable. This change enables support for oslo provided config options to be updated via SIGHUP such as log level. Refer to cinder patch: I6499ae6c98d9489a257bb20febd6c1ddb9e17b86 Change-Id: I6499ae6c98d9489a123bb20febd6c1ddb9e17b86
This commit is contained in:
parent
9f622e2a50
commit
031f60683e
|
@ -364,7 +364,7 @@ class WSGIService(service.ServiceBase):
|
|||
|
||||
|
||||
def process_launcher():
|
||||
return service.ProcessLauncher(CONF)
|
||||
return service.ProcessLauncher(CONF, restart_method='mutate')
|
||||
|
||||
|
||||
# NOTE(vish): the global launcher is to maintain the existing
|
||||
|
|
Loading…
Reference in New Issue