cloudstack/plugins/affinity-group-processors
Wei Zhou b215abc30a
server: do not check affinity groups if no vm group mappings (#9542)
this fixes the exception in smoke test test_affinity_groups

```
2024-08-19T08:34:15,132 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-87:[ctx-f7804a8e, job-9232]) (logid:b71ddec8) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin com.cloud.utils.exception.CloudRuntimeException: Unable to find on DB, due to: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')  FOR UPDATE' at line 1
    at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:441)
    at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:368)
    at com.cloud.utils.db.GenericDaoBase.search(GenericDaoBase.java:357)
    at com.cloud.utils.db.GenericDaoBase.lockRows(GenericDaoBase.java:343)
    at org.apache.cloudstack.affinity.dao.AffinityGroupDaoImpl.listByIds(AffinityGroupDaoImpl.java:171)
```
2024-08-21 10:27:33 +02:00
..
explicit-dedication Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30
host-affinity Merge branch '4.19' 2024-08-14 12:33:47 +02:00
host-anti-affinity server: do not check affinity groups if no vm group mappings (#9542) 2024-08-21 10:27:33 +02:00
non-strict-host-affinity Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30
non-strict-host-anti-affinity Updating pom.xml version numbers for release 4.19.2.0-SNAPSHOT 2024-07-19 10:29:26 +05:30