Live migration fails despite identical CPUs/capabilities
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
charm bundle: openstack-2023.2
nova-compute: 28.0.1 channel 2023.2/stable
ubuntu: jammy .15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
I have two identical host, op1 and op4, DELL PowerEdge R7425 acting as nova-compute nodes (hypervisors).
ubuntu@
+----+-
| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |
+----+-
| 7 | op1.maas | QEMU | xxxxxxxxxxxx | up |
| 8 | op4.maas | QEMU | xxxxxxxxxxxx | up |
+----+-
1)microcode is the same:
root@op1:~# virsh capabilities |grep microcode
<microcode version=
root@op4:~# virsh capabilities |grep microcode
<microcode version=
2) libvirt capabilities features are identical:
root@op1:~# virsh capabilities |grep feature
<feature name='ht'/>
<feature name='monitor'/>
<feature name='osxsave'/>
<feature name='xsaves'/>
<feature name='cmp_legacy'/>
<feature name='extapic'/>
<feature name='skinit'/>
<feature name='wdt'/>
<feature name='tce'/>
<feature name='topoext'/>
<feature name='perfctr_
<feature name='perfctr_nb'/>
<feature name='invtsc'/>
<feature name='clzero'/>
<feature name='xsaveerptr'/>
<feature name='npt'/>
<feature name='lbrv'/>
<feature name='svm-lock'/>
<feature name='nrip-save'/>
<feature name='tsc-scale'/>
<feature name='vmcb-clean'/>
<feature name='flushbyas
<feature name='decodeass
<feature name='pause-
<feature name='pfthresho
<migration_
</migration
<features>
</features>
<features>
</features>
root@op4:~# virsh capabilities |grep feature
<feature name='ht'/>
<feature name='monitor'/>
<feature name='osxsave'/>
<feature name='xsaves'/>
<feature name='cmp_legacy'/>
<feature name='extapic'/>
<feature name='skinit'/>
<feature name='wdt'/>
<feature name='tce'/>
<feature name='topoext'/>
<feature name='perfctr_
<feature name='perfctr_nb'/>
<feature name='invtsc'/>
<feature name='clzero'/>
<feature name='xsaveerptr'/>
<feature name='npt'/>
<feature name='lbrv'/>
<feature name='svm-lock'/>
<feature name='nrip-save'/>
<feature name='tsc-scale'/>
<feature name='vmcb-clean'/>
<feature name='flushbyas
<feature name='decodeass
<feature name='pause-
<feature name='pfthresho
<migration_
</migration
<features>
</features>
<features>
</features>
3) NUMA idem
root@op1:~# lscpu | grep -i numa
NUMA node(s): 8
NUMA node0 CPU(s): 0,8,16,
NUMA node1 CPU(s): 2,10,18,
NUMA node2 CPU(s): 4,12,20,
NUMA node3 CPU(s): 6,14,22,
NUMA node4 CPU(s): 1,9,17,
NUMA node5 CPU(s): 3,11,19,
NUMA node6 CPU(s): 5,13,21,
NUMA node7 CPU(s): 7,15,23,
root@op4:~# lscpu | grep -i numa
NUMA node(s): 8
NUMA node0 CPU(s): 0,8,16,
NUMA node1 CPU(s): 2,10,18,
NUMA node2 CPU(s): 4,12,20,
NUMA node3 CPU(s): 6,14,22,
NUMA node4 CPU(s): 1,9,17,
NUMA node5 CPU(s): 3,11,19,
NUMA node6 CPU(s): 5,13,21,
NUMA node7 CPU(s): 7,15,23,
) live-migration
openstack server list --all-project
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| 6b75b329-
#openstack server migrate --live-migration 6b75b329-
No valid host was found. There are not enough hosts available. (HTTP 400) (Request-ID: req-a3489211-
log from nova-cloud-
https:/
where op4.maas is the source hypervisor and op1.maas is the destination one: they have the same hardware, RAM and ceph storage.
log from destination nova-compute
504b0aa43f982b0
res": 4, "threads": 2}, "features": ["pclmuldq", "tsc-scale", "clzero", "avx2", "osvw", "sse4a", "perfctr_core", "decodeassists", "3dnowprefetch", "rdrand", "fpu", "lbrv", "syscall", "apic"
, "cx8", "lm", "clflush", "pause-filter", "sha-ni", "sse4.1", "fxsr_opt", "avx", "sse4.2", "pfthreshold", "nrip-save", "lahf_lm", "smap", "xsavec", "cx16", "mtrr", "pge", "aes", "nx", "mmxe
xt", "fxsr", "misalignsse", "xsaveerptr", "fma", "svm-lock", "ssse3", "bmi1", "sse", "mce", "invtsc", "de", "msr", "fsgsbase", "pat", "bmi2", "vmcb-clean", "sse2", "cr8legacy", "vme", "skin
it", "arat", "tce", "npt", "sep", "ibpb", "perfctr_nb", "flushbyasid", "pse36", "mca", "popcnt", "smep", "cmp_legacy", "mmx", "wdt", "pdpe1gb", "tsc", "topoext", "xsaves", "xsave", "abm", "
rdseed", "xgetbv1", "xsaveopt", "pni", "adx", "monitor", "extapic", "svm", "pae", "cmov", "pse", "ht", "rdtscp", "movbe", "f16c", "clflushopt"]}
2024-04-15 18:15:40.776 2182518 ERROR nova.virt.
d504b0aa43f982b
description: | updated |
description: | updated |
summary: |
- Live migration fails despite identical CPUs with Host filter ignoring - hosts + Live migration fails despite identical CPUs/capabilities |
tags: | added: libvirt live-migration |
I can't see the paste, but this may be another case of the following:
https:/ /bugs.launchpad .net/nova/ +bug/2023035 /bugs.launchpad .net/nova/ +bug/2039803 /bugs.launchpad .net/nova/ +bug/2049231
https:/
https:/
If so the following may help you to work around the issue:
https:/ /docs.openstack .org/nova/ latest/ configuration/ config. html#workaround s.skip_ cpu_compare_ at_startup /docs.openstack .org/nova/ latest/ configuration/ config. html#workaround s.skip_ cpu_compare_ on_dest
https:/