cloudstack/engine
Abhishek Kumar 638779ca37
vm-import: fix unmanaged instance listing (#5400)
* vm-import: fix unmanaged instance listing

When the host and last host ID is not set for the VM, it may appear in the list of unmanaged instances.
This changes fixes the behaviour by filtering unmanaged instances list for host for following three criteria:
- host is set as host_id for the VM
- host is set as the last_host_id for the VM
- pod of the host is set as the pod_id for the VM and both host_id and last_host_id is NULL

* use SearchBuilder to fix query condition

* add paranthesis

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
2022-02-03 10:27:05 +05:30
..
api use physical size instead of virtual size for migration. (#5750) 2022-01-06 17:18:50 +05:30
components-api Updating pom.xml version numbers for release 4.16.1.0-SNAPSHOT 2021-11-09 22:50:22 -03:00
network Updating pom.xml version numbers for release 4.16.1.0-SNAPSHOT 2021-11-09 22:50:22 -03:00
orchestration Make sure other than user VMs can have multiple NICs in a network (#5896) 2022-01-31 19:05:27 +05:30
schema vm-import: fix unmanaged instance listing (#5400) 2022-02-03 10:27:05 +05:30
service Updating pom.xml version numbers for release 4.16.1.0-SNAPSHOT 2021-11-09 22:50:22 -03:00
storage [XenServer/XCP-ng] Pass the image store NFS version on storage commands (#5886) 2022-01-31 12:21:13 +05:30
pom.xml Updating pom.xml version numbers for release 4.16.1.0-SNAPSHOT 2021-11-09 22:50:22 -03:00