summaryrefslogtreecommitdiff
path: root/nova/conf/compute.py
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-12-04 02:23:39 +0000
committerGerrit Code Review <review@openstack.org>2018-12-04 02:23:39 +0000
commit33c3759b855b621875d9d79d103bd30f356198ae (patch)
tree188cc20e173751826bd72af47525fcc615026125 /nova/conf/compute.py
parent1e8c2c0dcb3ff9225407b890a6c99658b35764bc (diff)
parentbbc2fcb8fb20dde1b81597c319392afb5b2c53fe (diff)
downloadnova-33c3759b855b621875d9d79d103bd30f356198ae.tar.gz
Merge "SIGHUP n-cpu to clear provider tree cache"
Diffstat (limited to 'nova/conf/compute.py')
-rw-r--r--nova/conf/compute.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/conf/compute.py b/nova/conf/compute.py
index 23b124fc03..d012235b64 100644
--- a/nova/conf/compute.py
+++ b/nova/conf/compute.py
@@ -652,6 +652,8 @@ Related options:
default=300,
min=0,
mutable=True,
+ # TODO(efried): Provide more/better explanation of what this option is
+ # all about. Reference bug(s). Unless we're just going to remove it.
help="""
Interval for updating nova-compute-side cache of the compute node resource
provider's aggregates and traits info.
@@ -662,6 +664,9 @@ node.
A value of zero disables cache refresh completely.
+The cache can be cleared manually at any time by sending SIGHUP to the compute
+process, causing it to be repopulated the next time the data is accessed.
+
Possible values:
* Any positive integer in seconds, or zero to disable refresh.