Nevermind. Fixed it updating the database directly:

UPDATE vm_static SET custom_compatibility_version = '4.4' WHERE custom_compatibility_version = '4.3';

Regards.

El 2022-10-13 11:55, nico...@devels.es escribió:
Hi,

I'm running oVirt 4.4 and recently I changed the Data Center
compatibility version from 4.3 to 4.4.

Now turns out that some Pools are unable to restart machines,
returning this error:

  Cannot run VM. The Custom Compatibility Version of VM ... (4.3) is
not supported in Data Center compatibility version 4.4.

I cannot edit manually the custom compatibility version of VMs, as
pools won't allow that.

Is there any manual way to fix it? I tried to do it via Python SDK but
it doesn't seem to work...

  vm = vms_serv.list(name='X')[0]
  ver = vm.custom_compatibility_version
  ver.minor = 4
  vm.custom_compatibility_version = ver
  vmsv = sys_serv.vms_service().vm_service(id=vm.id)
  vmsv.upfate(vm=vm)

It doesn't seem to do any difference, though.

Any help is really appreciated, as many our users can't use theis VMs.

Thanks.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SWU7PYWUSTKHLV427MXW43Y63S6QBEYM/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2KJAL37OQUVS6KBRXNYLWV45PGLWEOYQ/

Reply via email to