Rayees Namathponnan created CLOUDSTACK-3697:
-----------------------------------------------
Summary: Test case
test_project_resources.TestPublicIpAddress.test_07_associate_public_ip failed
delete LB due to incorrect command
Key: CLOUDSTACK-3697
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3697
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.2.0
Environment: Automation
4.2
Reporter: Rayees Namathponnan
Fix For: 4.2.0
Test case
integration.component.test_project_resources.TestPublicIpAddress.test_07_associate_public_ip
failed with below error
Error Message
Warning: Exception during cleanup : Execute cmd: deleteloadbalancerrule failed,
due to: errorCode: 431, errorText:Unable to execute API command
deleteloadbalancerrule due to invalid value. Invalid parameter id
value=34fe3445-0e5c-451e-95cc-f251d649aae7 due to incorrect long value format,
or entity does not exist or due to incorrect parameter annotation for the field
in api cmd class.
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestPublicIpAddress: DEBUG: Associating public IP for
project: 67dad14f-95fa-47e4-b501-20084c896c36
testclient.testcase.TestPublicIpAddress: DEBUG: Creating a NAT rule within
project, VM ID: ce4bb6d0-64c5-4424-8f81-66dc4de14b35
testclient.testcase.TestPublicIpAddress: DEBUG: created a NAT rule with ID:
072a4d6a-e6c9-4470-8e24-56734ec17f45
testclient.testcase.TestPublicIpAddress: DEBUG: Created LB rule for public IP:
{networkid : u'e78bb5f4-f860-487e-a5ef-15b2fd5866d7', domain :
u'Domain-NFXV3X', domainid : u'021bad31-98e1-40de-862b-ad20800940cc', projectid
: u'67dad14f-95fa-47e4-b501-20084c896c36', isstaticnat : False, zoneid :
u'56d972b5-7c9d-498b-933f-34a1b57814c3', allocated :
u'2013-07-21T03:20:57-0400', id : u'896fc3b2-d544-4046-8234-0ba20e7a4e2e',
physicalnetworkid : u'1c446a50-a77e-4e7b-a8aa-1e0500d2d113', issourcenat :
False, vlanid : u'88bf315f-614f-4cc7-a93e-2769a3a35596', state : u'Allocating',
forvirtualnetwork : True, zonename : u'Adv-KVM-Zone1', tags : [],
associatednetworkname : u'PrjAcct-Project-BLDJX0-6-network', vlanname :
u'1221', associatednetworkid : u'23739743-2aaa-4763-99d6-3a262e9d8020',
ipaddress : u'10.223.122.71', isportable : False, project : u'Project-BLDJX0',
issystem : False}
testclient.testcase.TestPublicIpAddress: DEBUG: Assigning VM:
ce4bb6d0-64c5-4424-8f81-66dc4de14b35 to LB rule:
34fe3445-0e5c-451e-95cc-f251d649aae7
testclient.testcase.TestPublicIpAddress: DEBUG: Created firewall rule:
f48aa705-d4f4-48e0-a3a3-5355779eff71
testclient.testcase.TestPublicIpAddress: DEBUG: Deploying VM for account:
test-JM8AAI
testclient.testcase.TestPublicIpAddress: DEBUG: VM state after deploy: Running
testclient.testcase.TestPublicIpAddress: DEBUG: Creating NAT rule for VM (ID:
10f311d4-d687-44ca-a398-f6fbf16f7d08) outside project
testclient.testcase.TestPublicIpAddress: DEBUG: Creating LB rule for public IP:
{networkid : u'e78bb5f4-f860-487e-a5ef-15b2fd5866d7', domain :
u'Domain-NFXV3X', domainid : u'021bad31-98e1-40de-862b-ad20800940cc', projectid
: u'67dad14f-95fa-47e4-b501-20084c896c36', isstaticnat : False, zoneid :
u'56d972b5-7c9d-498b-933f-34a1b57814c3', allocated :
u'2013-07-21T03:20:57-0400', id : u'896fc3b2-d544-4046-8234-0ba20e7a4e2e',
physicalnetworkid : u'1c446a50-a77e-4e7b-a8aa-1e0500d2d113', issourcenat :
False, vlanid : u'88bf315f-614f-4cc7-a93e-2769a3a35596', state : u'Allocating',
forvirtualnetwork : True, zonename : u'Adv-KVM-Zone1', tags : [],
associatednetworkname : u'PrjAcct-Project-BLDJX0-6-network', vlanname :
u'1221', associatednetworkid : u'23739743-2aaa-4763-99d6-3a262e9d8020',
ipaddress : u'10.223.122.71', isportable : False, project : u'Project-BLDJX0',
issystem : False} outside project
testclient.testcase.TestPublicIpAddress: DEBUG: Creating firewall rule for
public IP: {networkid : u'e78bb5f4-f860-487e-a5ef-15b2fd5866d7', domain :
u'Domain-NFXV3X', domainid : u'021bad31-98e1-40de-862b-ad20800940cc', projectid
: u'67dad14f-95fa-47e4-b501-20084c896c36', isstaticnat : False, zoneid :
u'56d972b5-7c9d-498b-933f-34a1b57814c3', allocated :
u'2013-07-21T03:20:57-0400', id : u'896fc3b2-d544-4046-8234-0ba20e7a4e2e',
physicalnetworkid : u'1c446a50-a77e-4e7b-a8aa-1e0500d2d113', issourcenat :
False, vlanid : u'88bf315f-614f-4cc7-a93e-2769a3a35596', state : u'Allocating',
forvirtualnetwork : True, zonename : u'Adv-KVM-Zone1', tags : [],
associatednetworkname : u'PrjAcct-Project-BLDJX0-6-network', vlanname :
u'1221', associatednetworkid : u'23739743-2aaa-4763-99d6-3a262e9d8020',
ipaddress : u'10.223.122.71', isportable : False, project : u'Project-BLDJX0',
issystem : False} outside project
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 345, in run
self.tearDown()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_project_resources.py",
line 967, in tearDown
raise Exception("Warning: Exception during cleanup : %s" % e)
Warning: Exception during cleanup : Execute cmd: deleteloadbalancerrule failed,
due to: errorCode: 431, errorText:Unable to execute API command
deleteloadbalancerrule due to invalid value. Invalid parameter id
value=34fe3445-0e5c-451e-95cc-f251d649aae7 due to incorrect long value format,
or entity does not exist or due to incorrect parameter annotation for the field
in api cmd class.
--
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