Implements live_migration_permit_auto_converge parameter in nova.conf
Change-Id: Ic50537e53b362aa079ce005371e2688ceb9d3028
Closes-Bug: PROD-19901
diff --git a/README.rst b/README.rst
index 9af981f..c5606e8 100644
--- a/README.rst
+++ b/README.rst
@@ -714,6 +714,26 @@
compute:
max_concurrent_live_migrations: 1 # (1 is the default)
+Live migration with auto converge
+----------------------------------
+
+Auto converge throttles down CPU if a progress of on-going live migration is slow.
+https://docs.openstack.org/ocata/config-reference/compute/config-options.html
+
+.. code-block:: yaml
+
+ nova:
+ compute:
+ libvirt:
+ live_migration_permit_auto_converge: False # (False is the default)
+
+.. code-block:: yaml
+
+ nova:
+ controller:
+ libvirt:
+ live_migration_permit_auto_converge: False # (False is the default)
+
Enhanced logging with logging.conf
----------------------------------
diff --git a/nova/files/ocata/nova-compute.conf.Debian b/nova/files/ocata/nova-compute.conf.Debian
index bb1af40..885294a 100644
--- a/nova/files/ocata/nova-compute.conf.Debian
+++ b/nova/files/ocata/nova-compute.conf.Debian
@@ -6384,6 +6384,9 @@
# * live_migration_permit_post_copy
# (boolean value)
#live_migration_permit_auto_converge=false
+{%- if compute.libvirt.live_migration_permit_auto_converge is defined %}
+live_migration_permit_auto_converge={{ compute.libvirt.live_migration_permit_auto_converge|lower }}
+{%- endif %}
#
# Determine the snapshot image format when sending to the image service.
diff --git a/nova/files/ocata/nova-controller.conf.Debian b/nova/files/ocata/nova-controller.conf.Debian
index e758573..42a7a0e 100644
--- a/nova/files/ocata/nova-controller.conf.Debian
+++ b/nova/files/ocata/nova-controller.conf.Debian
@@ -6345,6 +6345,9 @@
# * live_migration_permit_post_copy
# (boolean value)
#live_migration_permit_auto_converge=false
+{%- if controller.get('libvirt', {}).live_migration_permit_auto_converge is defined %}
+live_migration_permit_auto_converge={{ controller.libvirt.live_migration_permit_auto_converge|lower }}
+{%- endif %}
#
# Determine the snapshot image format when sending to the image service.
diff --git a/nova/files/pike/nova-compute.conf.Debian b/nova/files/pike/nova-compute.conf.Debian
index bc912de..cbd80f1 100644
--- a/nova/files/pike/nova-compute.conf.Debian
+++ b/nova/files/pike/nova-compute.conf.Debian
@@ -6415,6 +6415,9 @@
# * live_migration_permit_post_copy
# (boolean value)
#live_migration_permit_auto_converge=false
+{%- if compute.libvirt.live_migration_permit_auto_converge is defined %}
+live_migration_permit_auto_converge={{ compute.libvirt.live_migration_permit_auto_converge|lower }}
+{%- endif %}
#
# Determine the snapshot image format when sending to the image service.
diff --git a/nova/files/pike/nova-controller.conf.Debian b/nova/files/pike/nova-controller.conf.Debian
index b1b18d7..96e1d0f 100644
--- a/nova/files/pike/nova-controller.conf.Debian
+++ b/nova/files/pike/nova-controller.conf.Debian
@@ -6349,6 +6349,9 @@
# * live_migration_permit_post_copy
# (boolean value)
#live_migration_permit_auto_converge=false
+{%- if controller.get('libvirt', {}).live_migration_permit_auto_converge is defined %}
+live_migration_permit_auto_converge={{ controller.libvirt.live_migration_permit_auto_converge|lower }}
+{%- endif %}
#
# Determine the snapshot image format when sending to the image service.