[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sheng Yang resolved CLOUDSTACK-1482.
------------------------------------

    Resolution: Cannot Reproduce

Cannot reproduce with latest 4.1 branch.

Here is the commands I tried:

a1ce-37ea-8d6c-d73ced85439a</zonetoken><dhcpprovider>VirtualRouter</dhcpprovider><localstorageenabled>false</localstorageenabled></zone></updatezoneresponse>
 200 661
2013-03-06 14:24:31,444 INFO  [cloud.api.ApiServer] (ApiServer-9:null) 
(userId=1 accountId=1 sessionId=null) /127.0.0.1 -- GET 
/?command=createNetwork&zoneId=edf1ed88-db9f-48f4-9ff2-a3326f905614&networkOfferingId=e3bda2a3-a56a-44a2-846b-c7f9f43fc658&physicalnetworkid=a4165044-6067-4647-b12d-5bdf57915ab3&name=ipv6&displayText=ipv6&vlan=1610&acltype=domain&ip6gateway=FC00:3:1610::&ip6cidr=FC00:3:1610::/64&startipv6=FC00:3:1610::f014:1&endipv6=FC00:3:1610::f014:ff
 HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?><createnetworkresponse 
cloud-stack-version="4.1.0-SNAPSHOT"><network><id>fa740da2-8bea-4430-ac28-385853fbe33f</id><name>ipv6</name><displaytext>ipv6</displaytext><broadcastdomaintype>Vlan</broadcastdomaintype><traffictype>Guest</traffictype><zoneid>edf1ed88-db9f-48f4-9ff2-a3326f905614</zoneid><zonename>zone-81</zonename><networkofferingid>e3bda2a3-a56a-44a2-846b-c7f9f43fc658</networkofferingid><networkofferingname>DefaultSharedNetworkOffering</networkofferingname><networkofferingdisplaytext>Offering
 for Shared 
networks</networkofferingdisplaytext><networkofferingavailability>Optional</networkofferingavailability><issystem>false</issystem><state>Setup</state><related>fa740da2-8bea-4430-ac28-385853fbe33f</related><broadcasturi>vlan://1610</broadcasturi><dns1>8.8.8.8</dns1><type>Shared</type><vlan>1610</vlan><acltype>Domain</acltype><subdomainaccess>true</subdomainaccess><domainid>bd3be5c2-86aa-11e2-a3ff-f0def136a364</domainid><domain>ROOT</domain><service><name>Dhcp</name></service><service><name>UserData</name></service><service><name>Dns</name><capability><name>AllowDnsSuffixModification</name><value>true</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><networkdomain>cs1cloud.internal</networkdomain><physicalnetworkid>a4165044-6067-4647-b12d-5bdf57915ab3</physicalnetworkid><restartrequired>false</restartrequired><specifyipranges>true</specifyipranges><canusefordeploy>true</canusefordeploy><ispersistent>false</ispersistent><ip6gateway>fc00:3:1610::</ip6gateway><ip6cidr>fc00:3:1610::/64</ip6cidr></network></createnetworkresponse>
 200 1635

2013-03-06 14:24:31,571 INFO  [cloud.api.ApiServer] (ApiServer-10:null) 
(userId=1 accountId=1 sessionId=null) /127.0.0.1 -- GET 
/?command=createNetwork&zoneId=edf1ed88-db9f-48f4-9ff2-a3326f905614&networkOfferingId=e3bda2a3-a56a-44a2-846b-c7f9f43fc658&physicalnetworkid=a4165044-6067-4647-b12d-5bdf57915ab3&name=ipv6&displayText=ipv6&vlan=1610&acltype=domain&gateway=10.223.161.1&netmask=255.255.255.192&startip=10.223.161.41&endip=10.223.161.43
 HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?><createnetworkresponse 
cloud-stack-version="4.1.0-SNAPSHOT"><network><id>5d549398-d235-49a7-9e66-a8a2ee44f4cf</id><name>ipv6</name><displaytext>ipv6</displaytext><broadcastdomaintype>Vlan</broadcastdomaintype><traffictype>Guest</traffictype><gateway>10.223.161.1</gateway><netmask>255.255.255.192</netmask><cidr>10.223.161.0/26</cidr><zoneid>edf1ed88-db9f-48f4-9ff2-a3326f905614</zoneid><zonename>zone-81</zonename><networkofferingid>e3bda2a3-a56a-44a2-846b-c7f9f43fc658</networkofferingid><networkofferingname>DefaultSharedNetworkOffering</networkofferingname><networkofferingdisplaytext>Offering
 for Shared 
networks</networkofferingdisplaytext><networkofferingavailability>Optional</networkofferingavailability><issystem>false</issystem><state>Setup</state><related>5d549398-d235-49a7-9e66-a8a2ee44f4cf</related><broadcasturi>vlan://1610</broadcasturi><dns1>8.8.8.8</dns1><type>Shared</type><vlan>1610</vlan><acltype>Domain</acltype><subdomainaccess>true</subdomainaccess><domainid>bd3be5c2-86aa-11e2-a3ff-f0def136a364</domainid><domain>ROOT</domain><service><name>Dhcp</name></service><service><name>UserData</name></service><service><name>Dns</name><capability><name>AllowDnsSuffixModification</name><value>true</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><networkdomain>cs1cloud.internal</networkdomain><physicalnetworkid>a4165044-6067-4647-b12d-5bdf57915ab3</physicalnetworkid><restartrequired>false</restartrequired><specifyipranges>true</specifyipranges><canusefordeploy>true</canusefordeploy><ispersistent>false</ispersistent></network></createnetworkresponse>
 200 1655

2013-03-06 14:24:52,353 INFO  [cloud.api.ApiServer] (ApiServer-1:null) 
(userId=1 accountId=1 sessionId=null) /127.0.0.1 -- GET 
/?command=createNetwork&zoneId=edf1ed88-db9f-48f4-9ff2-a3326f905614&networkOfferingId=e3bda2a3-a56a-44a2-846b-c7f9f43fc658&physicalnetworkid=a4165044-6067-4647-b12d-5bdf57915ab3&name=ipv6&displayText=ipv6&vlan=1610&acltype=domain&ip6gateway=FC00:3:1610::&ip6cidr=FC00:3:1610::/64&startipv6=FC00:3:1610::f010:1&endipv6=FC00:3:1610::f010:ff
 HTTP/1.1 200 <?xml version="1.0" encoding="UTF-8"?><createnetworkresponse 
cloud-stack-version="4.1.0-SNAPSHOT"><network><id>71c4fb7e-cac8-4a68-be73-62d21fc793ab</id><name>ipv6</name><displaytext>ipv6</displaytext><broadcastdomaintype>Vlan</broadcastdomaintype><traffictype>Guest</traffictype><zoneid>edf1ed88-db9f-48f4-9ff2-a3326f905614</zoneid><zonename>zone-81</zonename><networkofferingid>e3bda2a3-a56a-44a2-846b-c7f9f43fc658</networkofferingid><networkofferingname>DefaultSharedNetworkOffering</networkofferingname><networkofferingdisplaytext>Offering
 for Shared 
networks</networkofferingdisplaytext><networkofferingavailability>Optional</networkofferingavailability><issystem>false</issystem><state>Setup</state><related>71c4fb7e-cac8-4a68-be73-62d21fc793ab</related><broadcasturi>vlan://1610</broadcasturi><dns1>8.8.8.8</dns1><type>Shared</type><vlan>1610</vlan><acltype>Domain</acltype><subdomainaccess>true</subdomainaccess><domainid>bd3be5c2-86aa-11e2-a3ff-f0def136a364</domainid><domain>ROOT</domain><service><name>Dhcp</name></service><service><name>UserData</name></service><service><name>Dns</name><capability><name>AllowDnsSuffixModification</name><value>true</value><canchooseservicecapability>false</canchooseservicecapability></capability></service><networkdomain>cs1cloud.internal</networkdomain><physicalnetworkid>a4165044-6067-4647-b12d-5bdf57915ab3</physicalnetworkid><restartrequired>false</restartrequired><specifyipranges>true</specifyipranges><canusefordeploy>true</canusefordeploy><ispersistent>false</ispersistent><ip6gateway>fc00:3:1610::</ip6gateway><ip6cidr>fc00:3:1610::/64</ip6cidr></network></createnetworkresponse>
 200 1635
                
> 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

Reply via email to