Reload Configuration without service restart
Administrator should not need to restart the service just to reload some config options.
Also, if one of the option is modified by administrator, reload_config_files call will reload all the configuration options at once.
Suggested route:
Mark options which you can reload without restart with "can_update_
"can_update_
You need to specify it explicitly for those options which need to be reloaded without restart.
For example,
cfg.StrOpt(
'the Filesystem backend store writes images.'),
Add new parameter update_
If this parameter is True, then only update config values that are marked with can_update_
Administrator can configure "update_
Add callback handler to validate the reloaded option.
For example,
CONF.register_
This callback_handler will be added to each of the option which having "can_update_
Blueprint information
- Status:
- Not started
- Approver:
- Doug Hellmann
- Priority:
- Undefined
- Drafter:
- Abhishek Kekane
- Direction:
- Needs approval
- Assignee:
- Abhishek Kekane
- Definition:
- New
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add spec for config-
You should not set a milestone target unless the blueprint has been properly prioritized by the project drivers.
Work Items
Dependency tree

* Blueprints in grey have been implemented.