Skip to content

Commit 47fb295

Browse files
amoralejopenshift-merge-bot[bot]
authored andcommitted
Set base cpu_model in nova-compute to ensure live-migration
In order to manage live-migration when different types of cpus in the cluster are present we need to set cpu_mode/cpu_models in nova.conf for compute nodes. This patch is adding it to all the watcher jobs. Signed-off-by: Alfredo Moralejo <[email protected]>
1 parent fa81c70 commit 47fb295

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ci/scenarios/edpm-no-notifications.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,8 @@ cifmw_update_containers_tag: >-
108108
{%- else -%}
109109
current-podified
110110
{%- endif -%}
111+
112+
cifmw_edpm_deploy_nova_compute_extra_config: |
113+
[libvirt]
114+
cpu_mode = custom
115+
cpu_models = Nehalem

ci/scenarios/edpm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,8 @@ cifmw_update_containers_tag: >-
123123
{%- else -%}
124124
current-podified
125125
{%- endif -%}
126+
127+
cifmw_edpm_deploy_nova_compute_extra_config: |
128+
[libvirt]
129+
cpu_mode = custom
130+
cpu_models = Nehalem

0 commit comments

Comments
 (0)