[
https://issues.apache.org/jira/browse/CLOUDSTACK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727614#comment-13727614
]
Murali Reddy commented on CLOUDSTACK-3926:
------------------------------------------
seems like a regression in test due to 3388291cc571c5bb5835c411f04f08bbb1516024
isportable parameter is null in the associateIpAddress API fired by the test
DEBUG [cloud.api.ApiServlet] (162154563@qtp-38556509-7:) ===START===
0:0:0:0:0:0:0:1%0 -- GET
account=test-TestPortablePublicIPAcquire-F70QLQ&domainid=f9fb5584-fb64-11e2-be70-c45d8584068f&zoneid=b1627251-e612-4b3b-82ba-fc24f18d28d3&apiKey=x5o6DDzKT26HaV0gxyPIgl3_pVz5ztyhlSHs4tBhlzxWF7g9-ZxmXgPdcgUnuFFG4e1oEUdt47ERIdPyt_TbSg&command=associateIpAddress&signature=mS%2FHadt0ACle%2FdzEs0mNH2wUYs0%3D&response=json
possibly this change is causing associateIpAddress to be called with isportable
as Null
- def create(cls, apiclient, accountid=None, zoneid=None, domainid=None,
- isportable=None, services=None, networkid=None, projectid=None,
vpcid=None):
+ def create(cls, apiclient, accountid=None, zoneid=None, domainid=None,
services=None,
+ networkid=None, projectid=None, vpcid=None, isportable=None):
> portable public ip range test is failing because it is not able to
> disassociate the public IP.
> ----------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3926
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3926
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Network Controller
> Affects Versions: 4.2.0
> Reporter: Srikanteswararao Talluri
> Assignee: Murali Reddy
> Priority: Blocker
> Fix For: 4.2.0
>
>
> Steps to reproduce:
> ==============
> 1. create portable public ip range
> 2. acquire ip.
> 3. disassociate the ip.
> Execute cmd: asyncquery failed, due to: {errorcode : 530, errortext : u'ip
> address is used for source nat purposes and can not be disassociated.'}
> -------------------- >> begin captured stdout << ---------------------
> <marvin.integration.lib.base.PublicIPAddress instance at 0x3834e18>
> --------------------- >> end captured stdout << ----------------------
> Stacktrace
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File "/root/cloudstack/test/integration/smoke/test_portable_publicip.py",
> line 235, in test_createPortablePublicIPAcquire
> ip_address.delete(self.api_client)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 1110, in delete
> apiclient.disassociateIpAddress(cmd)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 879, in disassociateIpAddress
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 230, in marvin_request
> response = self.poll(asyncJobId, response_type)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 91, in poll
> "asyncquery", asyncResonse.jobresult)
> cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode :
> 530, errortext : u'ip address is used for source nat purposes and can not be
> disassociated.'}
> -------------------- >> begin captured stdout << ---------------------
> <marvin.integration.lib.base.PublicIPAddress instance at 0x3834e18>
> --------------------- >> end captured stdout << ----------------------
> I'll provide detailed log in a while
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira