cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Hoogland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5502) [Automation] createVlanIpRange API failing, if you pass VLAN
Date Fri, 20 Dec 2013 12:22:16 GMT

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

Daan Hoogland commented on CLOUDSTACK-5502:
-------------------------------------------

It seems by the description of the api "untagged" never was a valid value to submit.

    @Parameter(name=ApiConstants.VLAN, type=CommandType.STRING, description="the ID or VID
of the VLAN. If not specified," +
            " will be defaulted to the vlan of the network or if vlan of the network is null
- to Untagged")

it is misleading though, as it states that null will be treated as "untagged"
I will implement the lenient behavior of interpreting "untagged" as null, which will then
lead to setting it to either the network-vlan or "untagged" again. Hopefully this will suit
all scenario's that where not foreseen.

> [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.4#6159)

Mime
View raw message