From 7c27a88386393ae52cb9aadf21fbb7383f0c2dcb Mon Sep 17 00:00:00 2001 From: Gerry Kopec Date: Fri, 5 Jul 2019 18:47:19 -0400 Subject: [PATCH] nova overrides: set long rpc timeout and cpu_mode long_rpc_timeout: timeout for long running live migration tasks Setting to 400s. This is reduced from the nova default of 1800s to give a more timely response and is based on an old custom patch to stx-nova where we allowed pre_live_migration to take 300s (if block migration) + 6s * number of vifs. libvirt/cpu_mode: set to host-model so guest can closely match host Story: 2003909 Task: 30059 Change-Id: Iab26aa7143697e21678eecfb3f3e161a6e0a786c Signed-off-by: Gerry Kopec --- .../stx-openstack-helm/manifests/manifest.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml index 7d3add66f8..da21198b1a 100644 --- a/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml +++ b/kubernetes/applications/stx-openstack/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yaml @@ -955,9 +955,10 @@ data: # Increase from default of 60 seconds to avoid services being # declared down during controller swacts, reboots, etc... service_down_time: 90 + long_rpc_timeout: 400 libvirt: - cpu_mode: none + cpu_mode: host-model live_migration_completion_timeout: 180 live_migration_permit_auto_converge: true mem_stats_period_seconds: 0