summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
authorEric Fried <efried@us.ibm.com>2018-11-06 17:48:53 -0600
committerEric Fried <openstack@fried.cc>2019-01-17 14:31:31 +0000
commit4319dc195bb3b0650a58c642e0d74e836265241d (patch)
tree99e2553443a1370a23257df811da3a64d63e2e0c /playbooks
parent570ad369928c296aac59a3e81ceb45a4ff2e19a7 (diff)
downloadnova-4319dc195bb3b0650a58c642e0d74e836265241d.tar.gz
Turn off rp association refresh in nova-next
Set [compute]resource_provider_association_refresh=0 to turn off all periodic refreshing of the provider cache in the report client. Note that this probably will have zero effect in the nova-next job other than making sure that that setting doesn't blow up the world. Because the job is always doing something, there's never a lull long enough for the refresh timers to expire anyway, so no periodic refreshing was happening even before this change. Change-Id: I072b3fa4847db14e5a3f03c775a377e3514224f1
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/legacy/nova-next/run.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/legacy/nova-next/run.yaml b/playbooks/legacy/nova-next/run.yaml
index 5004bd4f71..e24fdadac1 100644
--- a/playbooks/legacy/nova-next/run.yaml
+++ b/playbooks/legacy/nova-next/run.yaml
@@ -29,6 +29,12 @@
# Enable TLS between the noVNC proxy & compute nodes; this requires
# the tls-proxy service to be enabled.
+
+ # Switch off the provider association refresh, which should reduce the
+ # number of placement calls in steady state.
+ # TODO(efried): Due to bug #1802143, nova-cpu.conf gets overwritten
+ # after post-config|$NOVA_CPU_CONF gets effected, so use $NOVA_CONF
+ # instead for now.
cmd: |
set -e
set -x
@@ -38,6 +44,10 @@
NOVA_CONSOLE_PROXY_COMPUTE_TLS=True
PLACEMENT_DB_ENABLED=True
+ [[post-config|$NOVA_CONF]]
+ [compute]
+ resource_provider_association_refresh = 0
+
EOF
executable: /bin/bash
chdir: '{{ ansible_user_dir }}/workspace'