[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868141#comment-13868141
 ] 

Marcus Sorensen commented on CLOUDSTACK-5502:
---------------------------------------------

To clarify, an empty string is not null, that has fallen through the null check 
on public networks for a long time and had problems later (from my testing, I 
never used empty string for vlan) for advanced networking. In 4.2 and older, 
untagged was valid, obviously not null, and just used the public network as-set 
by the admin based on traffic label.

We can leave an empty string as invalid, set it to null and fail sooner, but 
from the beginning of the thread it sounds like basic network admins were being 
instructed to use an empty string (which basic networking intreprets as 
untagged).

> [Automation] createVlanIpRange API failing, if you pass VLAN 
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5502
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5502
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.3.0
>         Environment: KVM Basic Zone with SG
>            Reporter: Rayees Namathponnan
>            Assignee: Daan Hoogland
>            Priority: Blocker
>             Fix For: 4.3.0
>
>
> This issue found in KVM basic zone with SG automation run;  test cases from 
> below suite filed 
> integration.component.test_multiple_ip_ranges.
> Steps to reproduce 
> Step 1 :  Create basic zone with SG
> Step 2 : Crete IP VLAN Range with below command (pass vlan=untagged)
> http://xxx.xxxx.xxx.xxx:8096/?command=createVlanIpRange&gateway=10.223.251.1&forvirtualnetwork=false&startip=10.223.251.3&podid=0253bcbf-e636-4776-9e8c-216b70d195a2&zoneid=a9912aa8-a231-44d9-a70b-9d53e6db2d27&netmask=255.255.255.192&vlan=untagged
> Result;
> API command failed with error 
> { "createvlaniprangeresponse" : 
> {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Vlan doesn't 
> match vlan of the network"} }
> this API command works only, if you are not passing any VLAN



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to