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 `__