mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-9623: Deploying virtual machine fails due to "Couldn't find vlanId" in Basic Zone
(cherry picked from commit 280f3be4e6)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
e6855db78a
commit
645283abc4
|
|
@ -391,6 +391,8 @@ public class IpAddressManagerImpl extends ManagerBase implements IpAddressManage
|
|||
AssignIpAddressFromPodVlanSearch = _ipAddressDao.createSearchBuilder();
|
||||
AssignIpAddressFromPodVlanSearch.and("dc", AssignIpAddressFromPodVlanSearch.entity().getDataCenterId(), Op.EQ);
|
||||
AssignIpAddressFromPodVlanSearch.and("allocated", AssignIpAddressFromPodVlanSearch.entity().getAllocatedTime(), Op.NULL);
|
||||
AssignIpAddressFromPodVlanSearch.and("vlanId", AssignIpAddressFromPodVlanSearch.entity().getVlanId(), Op.IN);
|
||||
|
||||
SearchBuilder<VlanVO> podVlanSearch = _vlanDao.createSearchBuilder();
|
||||
podVlanSearch.and("type", podVlanSearch.entity().getVlanType(), Op.EQ);
|
||||
podVlanSearch.and("networkId", podVlanSearch.entity().getNetworkId(), Op.EQ);
|
||||
|
|
|
|||
Loading…
Reference in New Issue