[ https://issues.apache.org/jira/browse/CLOUDSTACK-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sangeetha Hariharan updated CLOUDSTACK-1482: -------------------------------------------- Summary: IPV6 - We are not allowed to create a shared IPV6 network with a VLAN which already is associated with a IPV4 network. (was: IPV6 - We are allowed to create a shared IPV6 network with a VLAN which already is associated with a IPV4 network.) > IPV6 - We are not allowed to create a shared IPV6 network with a VLAN which > already is associated with a IPV4 network. > ---------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1482 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1482 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0 > Environment: Latest build from NetworkRefactor Branch > Reporter: Sangeetha Hariharan > Assignee: Sheng Yang > Priority: Critical > Fix For: 4.1.0 > > > There are 2 use cases here : > Use case 1: > N1 - VLAN1 which is ipv4 enabled > Will we be allowed to create a new network with VLAN1 which is ipv6 enabled? > Use case 2 : > N1 - VLAN1 which is ipv4 enabled > Will we be allowed to update the existing network to allow support of ipv6 as > well ( using createVlan? ) > Will there is support for both use cases? > Currently ,When I attempt to create a IPV4 network using the same VLAN, I get > the following error message: > “There is a isolated/shared network with vlan id: 1373 already exists in zone > 1” > > What is the expected behavior in such cases? Should we be allowed to have a > shared IPV4 network and a shared ipv6 network on the same VLAN? > > > 2013-03-01 02:00:32,858 INFO [cloud.api.ApiServer] (catalina-exec-11:null) > (userId=2 accountId=2 sessionId=132FBBC9A6CDF6B3F1ECE52AC6D492E4) > 10.217.252.59 -- GET command=createNe > twork&zoneId=78d00583-322d-40f8-baf8-fd47b0329a76&networkOfferingId=b9eee2a6-cfc6-4495-bf25-3e4afef1941a&physicalnetworkid=31e62af7-bb32-4f0c-9948-3c82da3cb047&name=1373-ipv64&dis > playText=1373-ipv64&vlan=1373&acltype=domain&gateway=10.223.137.193&netmask=255.255.255.192&startip=10.223.137.240&endip=10.223.137.254&networkdomain=hello1373&response=json&sessi > onkey=UUJYnWHxMA93LyZYo6Bcb%2F%2FI%2FcA%3D&_=1362103300154 431 There is a > isolated/shared network with vlan id: 1373 already exists in zone 1 > > mysql> select * from networks; > +-----+---------------+--------------------------------------+---------------+--------------+-----------------------+------------------+---------------+------------------+----------------+-------------------+--------+---------------------+---------------------+----------------+---------------------+---------+---------+-----------+------------+------+------+-----------+------------+----------+----------------+----------------+------------+------------------+---------------------+---------------------+-------------------+--------+ > | id | name | uuid | display_text > | traffic_type | broadcast_domain_type | broadcast_uri | gateway | > cidr | ip6_gateway | ip6_cidr | mode | > network_offering_id | physical_network_id | data_center_id | guru_name > | state | related | domain_id | account_id | dns1 | dns2 | guru_data | > set_fields | acl_type | network_domain | reservation_id | guest_type | > restart_required | created | removed | > specify_ip_ranges | vpc_id | > +-----+---------------+--------------------------------------+---------------+--------------+-----------------------+------------------+---------------+------------------+----------------+-------------------+--------+---------------------+---------------------+----------------+---------------------+---------+---------+-----------+------------+------+------+-----------+------------+----------+----------------+----------------+------------+------------------+---------------------+---------------------+-------------------+--------+ > | 200 | NULL | 6214ed94-a146-4bab-89d0-f6adbd09784c | NULL > | Public | Vlan | NULL | NULL | > NULL | NULL | NULL | Static | > 1 | NULL | 1 | PublicNetworkGuru | Setup > | 200 | 1 | 1 | NULL | NULL | NULL | 0 | > NULL | NULL | NULL | NULL | 0 | > 2013-02-28 07:50:01 | NULL | 1 | NULL | > | 201 | NULL | 828e5979-f498-4d07-83ee-48b5dad3c81a | NULL > | Management | Native | NULL | NULL | > NULL | NULL | NULL | Static | > 2 | NULL | 1 | PodBasedNetworkGuru | Setup > | 201 | 1 | 1 | NULL | NULL | NULL | 0 | > NULL | NULL | NULL | NULL | 0 | > 2013-02-28 07:50:01 | NULL | 0 | NULL | > | 202 | NULL | d82203c5-6624-4c91-8db4-985b606b6b89 | NULL > | Control | LinkLocal | NULL | 169.254.0.1 | > 169.254.0.0/16 | NULL | NULL | Static | > 3 | NULL | 1 | ControlNetworkGuru | Setup > | 202 | 1 | 1 | NULL | NULL | NULL | 0 | > NULL | NULL | NULL | NULL | 0 | > 2013-02-28 07:50:01 | NULL | 0 | NULL | > | 203 | NULL | fb94680e-5994-4a5b-8c2c-9afecaeb158a | NULL > | Storage | Native | NULL | NULL | > NULL | NULL | NULL | Static | > 4 | NULL | 1 | StorageNetworkGuru | Setup > | 203 | 1 | 1 | NULL | NULL | NULL | 0 | > NULL | NULL | NULL | NULL | 0 | > 2013-02-28 07:50:01 | NULL | 1 | NULL | > | 204 | test1370-dual | a90b0c76-0468-4f24-969f-3c0958b1e518 | test1370-dual > | Guest | Vlan | vlan://1370 | 10.223.137.1 | > 10.223.137.0/27 | fc00:3:1370::1 | fc00:3:1370::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Setup > | 204 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1370 | NULL | Shared | 0 | > 2013-02-28 08:07:51 | NULL | 1 | NULL | > | 205 | test1371 | 34840f1a-374c-49e9-a3f6-23fca32d94bb | test1371-dual > | Guest | Vlan | vlan://1371-dual | 10.223.137.65 | > 10.223.137.64/26 | fc00:3:1371::1 | fc00:3:1371::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Destroy > | 205 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1371 | NULL | Shared | 0 | > 2013-02-28 08:08:00 | 2013-02-28 08:14:40 | 1 | NULL | > | 206 | test1371-dual | ce7e6325-d851-41bd-a8b3-1817990f3495 | test1371-dual > | Guest | Vlan | vlan://1371 | 10.223.137.65 | > 10.223.137.64/26 | fc00:3:1371::1 | fc00:3:1371::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Setup > | 206 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1371 | NULL | Shared | 0 | > 2013-02-28 08:15:08 | NULL | 1 | NULL | > | 207 | test1373 | 44496afb-da85-4ea6-bf10-2b9a32c6ef70 | test1373 > | Guest | Vlan | vlan://1373 | NULL | > NULL | fc00:3:1373::1 | fc00:3:1373::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Setup > | 207 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1373 | NULL | Shared | 0 | > 2013-02-28 08:20:31 | NULL | 1 | NULL | > | 208 | test1374 | a5fe9fbb-9867-4008-976e-bd2afbac092f | test1374 > | Guest | Vlan | vlan://1374 | NULL | > NULL | fc00:3:1374::1 | fc00:3:1374::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Destroy > | 208 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1374 | NULL | Shared | 0 | > 2013-02-28 08:20:39 | 2013-02-28 08:21:57 | 1 | NULL | > | 209 | test1380 | 2d628e7e-c7b7-4a2a-8f8c-5dc5538cbfef | test1380 > | Guest | Vlan | vlan://1380 | NULL | > NULL | fc00:3:1380::1 | fc00:3:1380::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Setup > | 209 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1374 | NULL | Shared | 0 | > 2013-02-28 08:22:47 | NULL | 1 | NULL | > | 210 | test1382 | dee77160-ac1e-4ae6-a69e-6b69c77fae15 | test1382 > | Guest | Vlan | vlan://1382 | NULL | > NULL | fc00:3:1382::1 | fc00:3:1382::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Setup > | 210 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1382 | NULL | Shared | 0 | > 2013-03-01 08:51:44 | NULL | 1 | NULL | > | 211 | test1383 | 8aeeb860-3c8c-4463-8924-cfa81181f4ef | test1383 > | Guest | Vlan | vlan://1383 | NULL | > NULL | fc00:3:1383::1 | fc00:3:1383::1/64 | Dhcp | > 7 | 200 | 1 | DirectNetworkGuru | Setup > | 211 | 1 | 1 | NULL | NULL | NULL | 0 | > Domain | hello1383 | NULL | Shared | 0 | > 2013-03-01 08:51:54 | NULL | 1 | NULL | > +-----+---------------+--------------------------------------+---------------+--------------+-----------------------+------------------+---------------+------------------+----------------+-------------------+--------+---------------------+---------------------+----------------+---------------------+---------+---------+-----------+------------+------+------+-----------+------------+----------+----------------+----------------+------------+------------------+---------------------+---------------------+-------------------+--------+ > 12 rows in set (0.00 sec) > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira