[jira] [Commented] (CLOUDSTACK-3926) portable public ip range test is failing because it is not able to disassociate the public IP.

2013-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727641#comment-13727641
 ] 

ASF subversion and git services commented on CLOUDSTACK-3926:
-

Commit b4033d5ada754c2e031f71c472c3732861c4fbf0 in branch refs/heads/4.2 from 
[~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b4033d5 ]

CLOUDSTACK-3926: Add isportable=True explicitly

Signed-off-by: Prasanna Santhanam t...@apache.org
(cherry picked from commit 025ab82b043c9bb9ce59eba884d81c89c81bcb8e)


 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: Test
Affects Versions: 4.2.0
Reporter: Srikanteswararao Talluri
Assignee: Prasanna Santhanam
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


[jira] [Commented] (CLOUDSTACK-3926) portable public ip range test is failing because it is not able to disassociate the public IP.

2013-08-02 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727640#comment-13727640
 ] 

ASF subversion and git services commented on CLOUDSTACK-3926:
-

Commit 052d6e251b4f121146a149bfab693a822695f62a in branch refs/heads/master 
from [~tsp]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=052d6e2 ]

CLOUDSTACK-3926: Add isportable=True explicitly

Signed-off-by: Prasanna Santhanam t...@apache.org


 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: Test
Affects Versions: 4.2.0
Reporter: Srikanteswararao Talluri
Assignee: Prasanna Santhanam
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


[jira] [Commented] (CLOUDSTACK-3926) portable public ip range test is failing because it is not able to disassociate the public IP.

2013-08-02 Thread Srikanteswararao Talluri (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727414#comment-13727414
 ] 

Srikanteswararao Talluri commented on CLOUDSTACK-3926:
--

logs can be found at https://citrix.sharefile.com/d/s1c3a3cb9ab341388

 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
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


[jira] [Commented] (CLOUDSTACK-3926) portable public ip range test is failing because it is not able to disassociate the public IP.

2013-08-02 Thread Murali Reddy (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-F70QLQdomainid=f9fb5584-fb64-11e2-be70-c45d8584068fzoneid=b1627251-e612-4b3b-82ba-fc24f18d28d3apiKey=x5o6DDzKT26HaV0gxyPIgl3_pVz5ztyhlSHs4tBhlzxWF7g9-ZxmXgPdcgUnuFFG4e1oEUdt47ERIdPyt_TbSgcommand=associateIpAddresssignature=mS%2FHadt0ACle%2FdzEs0mNH2wUYs0%3Dresponse=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


[jira] [Commented] (CLOUDSTACK-3926) portable public ip range test is failing because it is not able to disassociate the public IP.

2013-08-02 Thread Murali Reddy (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727621#comment-13727621
 ] 

Murali Reddy commented on CLOUDSTACK-3926:
--

But this failure in the test revealed another bug with associateIpAddress API. 
Opened CLOUDSTACK-4045 IP address acquired with associateIpAddress is marked 
as source NAT, causing disassociateIpAddress to fail later

 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


[jira] [Commented] (CLOUDSTACK-3926) portable public ip range test is failing because it is not able to disassociate the public IP.

2013-08-01 Thread Prasanna Santhanam (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13727352#comment-13727352
 ] 

Prasanna Santhanam commented on CLOUDSTACK-3926:


Can you add the management server log? This looks like a CS failure.

 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
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