cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Kumar Edukulla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6627) [Automation] createNetwork API failing with error "Can only support create Private VLAN network with IPv4!"
Date Mon, 12 May 2014 10:57:15 GMT

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

Santhosh Kumar Edukulla commented on CLOUDSTACK-6627:
-----------------------------------------------------

Looking at this bug, I didn't see any issue in the CS code for this. 

1. Here we are verifying to create a ipv6 network with isolated pvlan support, and product
is appropriately reporting that creating pvlan  with ipv6 is not supported under NetworkServiceImpl.java(
line 1201)
 
        if (isolatedPvlan != null && ipv6) {
            throw new InvalidParameterValueException("Can only support create Private VLAN
network with IPv4!");
        }

2. The issue is with test case, we should verify for exception from CS.  Here, at below line,
it need to be verified for exception instead of return status (line 85) under test_pvlan.py.

  self.assertEqual(createNetworkResponse, FAILED, "Creating PVLAN with IPv6 should fail").

3. Fixed TC and tested, It now works.

> [Automation] createNetwork API failing with error "Can only support create Private VLAN
network with IPv4!"
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6627
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6627
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Controller
>    Affects Versions: 4.4.0
>         Environment: KVM and vmware
> build 4.4-forward
>            Reporter: Rayees Namathponnan
>            Priority: Blocker
>             Fix For: 4.4.0
>
>         Attachments: management-server.rar
>
>
> integration.smoke.test_pvlan.TestPVLAN.test_create_pvlan_network  failing latest run

> 2014-05-09 14:37:36,948 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-80f69f30) ===START===
 10.223.240.194 -- GET  apiKey=PqBwvR5XGUP5UMkcchdzGW9QtWAexG7mh
> 0JjGFlcpg7Vf6Xazb9RhhL4j7RAY-bGWpqt_IjM2W3Oy0ukiFF_3Q&startipv6=fc00%3A1234%3A%3A10&zoneid=8ec43c1f-ee32-4b1e-90d2-fce40313aafc&isolatedpvlan=567&displaytext
> =pvlan+network&ip6gateway=fc00%3A1234%3A%3A1&gateway=10.10.10.20&endipv6=fc00%3A1234%3A%3A20&networkofferingid=7&vlan=1234&netmask=255.255.255.0&response=jso
> n&name=pvlan+network&startip=10.10.10.10&ip6cidr=fc00%3A1234%3A%3A%2F64&command=createNetwork&signature=mHKCVFL1AM4NkVrEr%2FiW%2FdIj2NE%3D
> API failing with error "Can only support create Private VLAN network with IPv4!"
> 2014-05-09 14:37:36,971 DEBUG [o.a.c.i.RoleBasedEntityAccessChecker] (catalina-exec-11:ctx-80f69f30
ctx-39ae4a70 ctx-13ff8562) IAM access check for 2-null-nu
> ll-SystemCapability from cache: false
> 2014-05-09 14:37:36,971 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-11:ctx-80f69f30
ctx-39ae4a70 ctx-13ff8562) Root Access granted to Acct[e853580a-d7ae-
> 11e3-a7c8-1a6f7bb0d0a8-admin] by AffinityGroupAccessChecker
> 2014-05-09 14:37:37,011 INFO  [c.c.a.ApiServer] (catalina-exec-11:ctx-80f69f30 ctx-39ae4a70
ctx-13ff8562) Can only support create Private VLAN network with IPv4!
> 2014



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message