Add ability to disable serial throttling for mnaio installs

This allows the setting of an ansible osa_disable_serial variable
  that drops in a config to set all of the serial settings to 100%
  to disable throttling.  The exception being keystone as it has a
  race condition that prevents it.  The default is 'false' and can
  be set in the MNAIO_ANSIBLE_PARAMETERS var before running the
  build.sh script.

Change-Id: I5850d882d465b7ef10b317076bb135934f1ceba2
Closes-Bug: 1752475
This commit is contained in:
Shannon Mitchell 2018-02-28 20:49:04 -06:00
parent 2ebd3d789f
commit 0435d26b54
3 changed files with 28 additions and 0 deletions

View File

@ -79,6 +79,17 @@
when: when:
- pre_config_osa | default(true) | bool - pre_config_osa | default(true) | bool
- name: Drop config to disable serial throttle settings
template:
src: "osa/user_unserial_variables.yml"
dest: /etc/openstack_deploy/user_unserial_variables.yml
mode: "0644"
owner: root
group: root
when:
- pre_config_osa | default(true) | bool
- osa_disable_serial | default(false) | bool
- name: Ensure the user_variables file is populated - name: Ensure the user_variables file is populated
lineinfile: lineinfile:
path: /etc/openstack_deploy/user_variables.yml path: /etc/openstack_deploy/user_variables.yml

View File

@ -126,3 +126,4 @@ osa_enable_dashboard: true
osa_enable_network: true osa_enable_network: true
osa_enable_meter: true osa_enable_meter: true
osa_enable_object_storage: true osa_enable_object_storage: true
osa_disable_serial: false

View File

@ -0,0 +1,16 @@
cinder_api_serial: 100%
cinder_scheduler_serial: 100%
cinder_backend_serial: 100%
glance_api_serial: 100%
glance_registry_serial: 100%
neutron_server_serial: 100%
neutron_agent_serial: 100%
neutron_other_serial: 100%
nova_conductor_serial: 100%
nova_scheduler_serial: 100%
nova_api_serial: 100%
nova_console_serial: 100%
nova_compute_serial: 100%
nova_serial: 100%
#keystone_serial: 100% # Do NOT enable due to race condition with authorized_keys module.