shwstppr commented on issue #6698:
URL: https://github.com/apache/cloudstack/issues/6698#issuecomment-1236831141
@Hudratronium can you please share logs/API call for adding the new ip
range. Also, the cmk output of `list vlanipranges`
I don't think there should be an entry in `cloud.domain_vlan_map` when the
range is reserved for system vms. Entry in this table is added only when the
following code conditions are met for the range
```
} else if (domain != null && !forSystemVms) {
// This VLAN is domain-wide, so create a DomainVlanMapVO
entry
final DomainVlanMapVO domainVlanMapVO = new
DomainVlanMapVO(domain.getId(), vlan.getId());
_domainVlanMapDao.persist(domainVlanMapVO);
} else if (podId != null) {
// This VLAN is pod-wide, so create a PodVlanMapVO entry
final PodVlanMapVO podVlanMapVO = new
PodVlanMapVO(podId, vlan.getId());
podVlanMapDao.persist(podVlanMapVO);
}
```
So the range is dedicated to a domain only when it is not marked for
systemvms. Error could be due to the fact that the range is not marked for
systemvms but assigned to a domain which prevents listing its IPs from
user.cloud_ip_address when CPVM is created.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]