Bug 1041155 - [RFE][nova]: Reload Configuration without service restart
Summary: [RFE][nova]: Reload Configuration without service restart
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_none upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:48 UTC by RHOS Integration
Modified: 2016-07-05 04:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 17:04:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1067025 0 unspecified CLOSED The init script actions reload and force-reload are not implemented correctly 2021-02-22 00:41:40 UTC

Internal Links: 1067025

Description RHOS Integration 2013-12-12 13:48:30 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/config-reload-no-restart.

Description:

Problem: We shouldn't need to restart the service just to reload some simple config options. But we also can't hope to convert all config at once.

Note, we are building on existing support here: https://blueprints.launchpad.net/oslo/+spec/cfg-reload-config-files

Suggested route:
* mark options we can reload without restart with "can_update_without_restart=True", default to false
* add a new param to reload config: without_restart=True
* if True, we only update config values that are marked with can_update_without_restart=True, and log a warning for any other changes that are spotted
* we can then convert a few easy options to can_update_without_restart=True
* other will be able to follow the pattern

We can trigger the reload using a file watcher, using something similar to: https://pypi.python.org/pypi/watchdog

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.