I sort of fixed this by testing new data center data center from v4.6 to v4.2 and in 4.2 this worked

So I wonder why this is happening?

Thanks




On Sat, Jan 6, 2024 at 7:32 PM LS CHENG <lsc.oraes@gmail.com> wrote:
Hi

The compatibility is set to 4.7

Thanks




On Sat, Jan 6, 2024 at 5:40 PM NUNIN Roberto <Roberto.Nunin@comifar.it> wrote:

What are the Cluster and Datacenter compatibility version settings in new setup  ?


 





Roberto Nunin
ICT Infrastructure Senior Advisor
 
Gruppo Comifar
a PHOENIX company
Nucleo ind. Sant'Atto - S. Nicolò a Tordino
64100, Teramo - Italy
+393483019957
+39 0861 204 415 - int: 7415
Roberto.Nunin@comifar.it
 





Questo messaggio e' indirizzato esclusivamente al destinatario indicato e potrebbe contenere informazioni confidenziali, riservate o proprietarie. Qualora la presente venisse ricevuta per errore, si prega di segnalarlo immediatamente al mittente, cancellando l'originale e ogni sua copia e distruggendo eventuali copie cartacee. Ogni altro uso e' strettamente proibito e potrebbe essere fonte di violazione di legge.

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately, deleting the original and all copies and destroying any hard copies. Any other use is strictly prohibited and may be unlawful.


From: LS CHENG <lsc.oraes@gmail.com>
Sent: Saturday, January 6, 2024 4:10:28 PM
To: users <users@ovirt.org>
Subject: [EXTERNAL] [ovirt-users] Re: Nested Virtualization in AMD Ryzen
 
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe!



domcapabilities output

[root@kvm1 ~]# virsh -c qemu:///system?authfile=/etc/ovirt-hosted-engine/virsh_auth.conf domcapabilities |grep AMD
      <vendor>AMD</vendor>
      <model usable='no' vendor='AMD'>phenom</model>
      <model usable='no' vendor='AMD'>athlon</model>
      <model usable='no' vendor='AMD'>Opteron_G5</model>
      <model usable='no' vendor='AMD'>Opteron_G4</model>
      <model usable='yes' vendor='AMD'>Opteron_G3</model>
      <model usable='yes' vendor='AMD'>Opteron_G2</model>
      <model usable='yes' vendor='AMD'>Opteron_G1</model>
      <model usable='no' vendor='AMD'>EPYC-Rome</model>
      <model usable='no' vendor='AMD'>EPYC-Milan</model>
      <model usable='no' vendor='AMD'>EPYC-IBPB</model>
      <model usable='no' vendor='AMD'>EPYC</model>

On Sat, Jan 6, 2024 at 3:58 PM LS CHENG <lsc.oraes@gmail.com> wrote:
Hi

I notice that the CPU in kvm is detected as Opteron_G3 after running "virsh -r capabilities | grep model" and there is no support in ovirt UI, is it possible to added by modify the postal database in the engine?

From kvm the host seems good

[root@kvm1 ~]# virt-host-validate
  QEMU: Checking for hardware virtualization                                 : PASS
  QEMU: Checking if device /dev/kvm exists                                   : PASS
  QEMU: Checking if device /dev/kvm is accessible                            : PASS
  QEMU: Checking if device /dev/vhost-net exists                             : PASS
  QEMU: Checking if device /dev/net/tun exists                               : PASS
  QEMU: Checking for cgroup 'cpu' controller support                         : PASS
  QEMU: Checking for cgroup 'cpuacct' controller support                     : PASS
  QEMU: Checking for cgroup 'cpuset' controller support                      : PASS
  QEMU: Checking for cgroup 'memory' controller support                      : PASS
  QEMU: Checking for cgroup 'devices' controller support                     : PASS
  QEMU: Checking for cgroup 'blkio' controller support                       : PASS
  QEMU: Checking for device assignment IOMMU support                         : WARN (No ACPI IVRS table found, IOMMU either disabled in BIOS or not supported by this hardware platform)
  QEMU: Checking for secure guest support                                    : WARN (Unknown if this platform has Secure Guest support)


Thanks



On Sat, Jan 6, 2024 at 12:27 PM LS CHENG <lsc.oraes@gmail.com> wrote:
Hi all

I am running OLVM 4.5, this is a test setup which was running in my old workstation with Intel CPU and is nested virtualization (with VMWare Workstation), the host was running Windows 7 x64, I moved to AMD Ryzen 7950X3D a couple of days ago which runs Windows 11 x64 with 128GB memory then moved OLVM VM's from the old workstation to this new workstation.

The problem I face now is the KVM hosts shows this error

Host kvm1 moved to Non-Operational state as host CPU type is not supported in this cluster compatibility version or is not supported at all

I modified /etc/modprobe.d/kvm.conf and changed

options kvm_amd nested=0
to
options kvm_amd nested=1

reboot the kvm host but still getting same error, I verified the modification and seems good

[root@kvm1 ~]# cat /sys/module/kvm_amd/parameters/nested
1

In Windows 11 I have hyper-v off and Memory Integrity is also off.

Am I missing any additional steps?


Thanks