Description of problem: When adding/editing a VM, there is a validation if the cluster CPU is correct. However, the validation fails if the VM uses custom compatibility version and the CPU has been removed/renamed between versions. Even if the custom cpu is set, the validation fails because it always checks the cluster cpu. Steps to Reproduce: 1.Create a 4.4 cluster with some Secure CPU 2.Create a VM in the cluster with custom compatibility version 4.3 and a custom cpu Actual results: The validation fails and a VM cannot be created. The error message says: The CPU type of the cluster is unknown. Its possible to change the cluster cpu or set a different one per VM. Expected results: The VM could be created if a custom compatibility version is selected as well as custom cpu. If no cpu is selected, the error message should be changed to: The CPU type of the cluster is unknown in the current compatibility version. Please select a custom cpu type.
(In reply to Lucia Jelinkova from comment #0) > Expected results: > The VM could be created if a custom compatibility version is selected as > well as custom cpu. If no cpu is selected, the error message should be > changed to: The CPU type of the cluster is unknown in the current > compatibility version. Please select a custom cpu type. Or to avoid this situation - if the we don't allow setting to set lower custom compatibility version, then to fail cluster upgrade when there's a VM/template that is set with custom compatibility version that is lower than the one we upgrade to
Verified on RHV 4.4.5-6. All looks good to me. Env: - Engine instance with RHV 4.4.5-6 (ovirt-engine-4.4.5.6-0.11.el8ev) and RHEL 8.3 installed. - 1 host with RHV 4.4.5-6 and RHEL 8.3 with vdsm-4.40.50.6-1.el8ev Steps: 1. Create a 4.3 data center and a 4.4 cluster. 2. Install the host and create a new NFS storage domain. 3. Create a VM with custom compatibility version 4.3 and a custom CPU. Results (As Expected): Actual results: 1. The 4.3 data center and the 4.4 cluster were created. 2. The host was installed and the NFS storage domain was created. 3. The VM was created successfully.
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.