Rayees Namathponnan created CLOUDSTACK-5959:
-----------------------------------------------
Summary: [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
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)