You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Gaurav Aradhye (JIRA)" <ji...@apache.org> on 2014/01/28 07:41:39 UTC

[jira] [Commented] (CLOUDSTACK-5959) [Automation] test_portable_ip test cases failing with IP overlap error in vmare

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

Gaurav Aradhye commented on CLOUDSTACK-5959:
--------------------------------------------

Rayees, this issue is seen when the portable ip range is not cleaned up in the previous build. In that case, the range we are adding will be already added in the region and hence the failure. I will check why cleanup has not happened in previous build and make necessary changes. But we need to remove any existing portable ip ranges before starting a new run.

> [Automation] test_portable_ip test cases failing with IP overlap error in vmare
> -------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5959
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5959
>             Project: CloudStack
>          Issue Type: Test
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Automation
>    Affects Versions: 4.4.0
>            Reporter: Rayees Namathponnan
>            Assignee: Gaurav Aradhye
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> run 102
> Most of the test cases from test_portable_ip failing in vmware,, this issue not observed in kvm 
> already configured config file with below information 
>     "portableIpRange": {
>         "gateway" : "10.223.243.1",
>         "netmask" : "255.255.255.192",
>         "startip" : "10.223.243.55",
>         "endip"   : "10.223.243.56",
>         "vlan"    : "3204"
>        }
> But test cases failing with below error 
> X9T_xmZM3BwYQMIrUheeA0ZJgdS04ylxP9jqPXLbtA&command=createPortableIpRange&signature=YjgmKQWHdzdC311eJgZrziWTAFY%3D&gateway=10.223.243.1 Response: { "createportableiprangeresponse" : {"uuidList":[],"errorcode":431,"cserrorcode":4350,"errortext":"Ip  range: 10.223.243.55-10.223.243.56 overlaps with a portable IP range already configured in the region 1"} }
> test_delete_portable_ip_range (integration.component.test_portable_ip.TestDeletePortablePublicIpRanges): CRITICAL: EXCEPTION: test_delete_portable_ip_range: Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 311, in run
>     self.setUp()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_portable_ip.py", line 316, in setUp
>     portable_ip_range_services)
>   File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2408, in create
>     return PortablePublicIpRange(apiclient.createPortableIpRange(cmd).__dict__)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2777, in createPortableIpRange
>     response = self.connection.marvinRequest(command, response_type=response, method=method)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 272, in marvinRequest
>     response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj
>     raise cloudstackException.cloudstackAPIException(respname, errMsg)
> cloudstackAPIException: Execute cmd: createportableiprange failed, due to: errorCode: 431, errorText:Ip  range: 10.223.243.55-10.223.243.56 overlaps with a portable IP range already configured in the region 1
> --------------------- >> end captured logging << ---------------------
> Stacktrace
>   File "/usr/local/lib/python2.7/unittest/case.py", line 311, in run
>     self.setUp()
>   File "/data/Repo2/qa/cloudstack/test/integration/component/test_portable_ip.py", line 316, in setUp
>     portable_ip_range_services)
>   File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 2408, in create
>     return PortablePublicIpRange(apiclient.createPortableIpRange(cmd).__dict__)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 2777, in createPortableIpRange
>     response = self.connection.marvinRequest(command, response_type=response, method=method)
>   File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 272, in marvinRequest
>     response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj
>     raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: createportableiprange failed, due to: errorCode: 431, errorText:Ip  range: 10.223.243.55-10.223.243.56 overlaps with a portable IP range already configured in the region 1



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