From 8523ab569d007ca9fb01df351e8726e5c23c36c7 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 20 Apr 2020 16:13:08 +0800 Subject: [PATCH] Manage nova scheduler workers count Closes-Bug: 1873753 Change-Id: Ibf75b3fd3090d47b50c71d17f6c12177d16442ab --- ansible/roles/nova/templates/nova.conf.j2 | 1 + releasenotes/notes/bug-1873753-73fe82e70559f928.yaml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 releasenotes/notes/bug-1873753-73fe82e70559f928.yaml diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index 7df8eb5956..447a5c0aa6 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -160,6 +160,7 @@ max_attempts = 10 # periodic run must be disabled to avoid random failures (where both try to map) # -1 is default and means periodic discovery is disabled discover_hosts_in_cells_interval = -1 +workers = {{ openstack_service_workers }} [placement] auth_type = password diff --git a/releasenotes/notes/bug-1873753-73fe82e70559f928.yaml b/releasenotes/notes/bug-1873753-73fe82e70559f928.yaml new file mode 100644 index 0000000000..c93eb7d3a1 --- /dev/null +++ b/releasenotes/notes/bug-1873753-73fe82e70559f928.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Manage nova scheduler workers through ``openstack_service_workers`` + variable. `LP#1873753 `__