weizhouapache commented on issue #6698:
URL: https://github.com/apache/cloudstack/issues/6698#issuecomment-1382311703

   @Hudratronium 
   so it looks the intended Ips (10.129.0.10-10.129.0.19) donot belong to  the 
vlans (3,10,13,14).
   
   the vlans are returned by
   ```
   SELECT vlan.id, vlan.vlan_id, vlan.vlan_gateway, vlan.vlan_netmask, 
vlan.ip6_gateway, vlan.ip6_cidr, vlan.data_center_id, vlan.ip4_range, 
vlan.ip6_range, vlan.network_id, vlan.physical_network_id, vlan.vlan_type, 
vlan.uuid, vlan.removed, vlan.created FROM vlan  LEFT OUTER JOIN 
domain_vlan_map ON vlan.id=domain_vlan_map.vlan_db_id  LEFT OUTER JOIN 
account_vlan_map ON vlan.id=account_vlan_map.vlan_db_id WHERE 
vlan.data_center_id = 1  AND vlan.removed IS NULL  AND  
(domain_vlan_map.domain_id IS NULL ) AND (account_vlan_map.account_id IS NULL );
   ```
   
   if the intended vlan is not  dedicated to an account (check account_vlan_map 
table), the intended vlan might be dedicated to domain. please check the 
domain_vlan_map.


-- 
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]

Reply via email to