You can try

curl -k -X GET -u admin@internal:<password> -H 'Accept: application/xml'
https://
<ENGINE_FQDN>/ovirt-engine/api/vms?search=custom_compatibility_level%3D4.1

should list all the vms with custom_compatibility_level 4.1

On Mon, Jan 7, 2019 at 10:09 AM <p.stanifo...@leedsbeckett.ac.uk> wrote:

> Hello when we did a live upgrade of our VDC from 4.1 to 4.2 we had a large
> number of VMs running that had a Custom Compatibility Version set to 4.1 to
> allow them to keep running while the cluster and VDC were upgraded.
> Unfortunately there was a large number of snapshots taken be the users
> before they were restarted their VMs so they have the
> Custom_Compatibility_Version set to 4.1 and so can't run in the 4.2 VDC, is
> there a way to search for them in the API or SDK because I can only find
> them in the events log when they fail to start.
>
> Thanks,
>               Paul S.
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4A5WZ3ULHI7IAG44P3T5RTH5LPXK6BJT/
>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WOWCBU3AYLXWEP5GL2HHJUT32Y74UHCQ/

Reply via email to