Rayees Namathponnan created CLOUDSTACK-3961:
-----------------------------------------------
Summary: [Automation] Failed to create LB rule in test case
TestVMDeployVPC.test_07_delete_network_with_rules
Key: CLOUDSTACK-3961
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3961
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation, Test
Affects Versions: 4.2.0
Environment: Automation
Reporter: Rayees Namathponnan
Fix For: 4.2.0
Test case
integration.component.test_vpc_vms_deployment.TestVMDeployVPC.test_07_delete_network_with_rules
failed to create LB rule
Execute cmd: createloadbalancerrule failed, due to: errorCode: 530,
errorText:Failed to create load balancer rule: SSH
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestVMDeployVPC: DEBUG: Creating a VPC offering..
testclient.testcase.TestVMDeployVPC: DEBUG: Check if the VPC offering is
created successfully?
testclient.testcase.TestVMDeployVPC: DEBUG: VPC offering is created
successfully - VPC off-2MEVUE
testclient.testcase.TestVMDeployVPC: DEBUG: Enabling the VPC offering created
testclient.testcase.TestVMDeployVPC: DEBUG: creating a VPC network in the
account: test-YJ705G
testclient.testcase.TestVMDeployVPC: DEBUG: Check if the VPC network is created
successfully?
testclient.testcase.TestVMDeployVPC: DEBUG: VPC network validated -
TestVPC-LP7HLI
testclient.testcase.TestVMDeployVPC: DEBUG: Creating network with network
offering: 99875261-5eae-413f-94ac-c02da2b4fc0e
testclient.testcase.TestVMDeployVPC: DEBUG: Created network with ID:
31116a68-3b10-49fe-8360-ba1002749e12
testclient.testcase.TestVMDeployVPC: DEBUG: Creating network with network
offering: 86ae23ca-f7da-405e-98da-39051628f325
testclient.testcase.TestVMDeployVPC: DEBUG: Created network with ID:
d12a75f6-c714-482d-9678-1285681a3964
testclient.testcase.TestVMDeployVPC: DEBUG: deploying VMs in network: Test
Network
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
31116a68-3b10-49fe-8360-ba1002749e12
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed another VM in network:
31116a68-3b10-49fe-8360-ba1002749e12
testclient.testcase.TestVMDeployVPC: DEBUG: deploying VMs in network: Test
Network
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
d12a75f6-c714-482d-9678-1285681a3964
testclient.testcase.TestVMDeployVPC: DEBUG: Deployed VM in network:
d12a75f6-c714-482d-9678-1285681a3964
testclient.testcase.TestVMDeployVPC: DEBUG: Check if deployed VMs are in
running state?
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
170e8320-57b6-4732-9982-ba89317d0881, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
91474c90-12ce-4c78-91a1-b12abfb80cac, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
99bd4d34-40e1-4d17-adac-54e672a2c9e4, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: VM name:
99defa04-8752-47bf-a619-ae8d32500f39, VM state: Running
testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for network:
Test Network
testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.81 with
network 31116a68-3b10-49fe-8360-ba1002749e12
testclient.testcase.TestVMDeployVPC: DEBUG: Adding NetwrokACl rules to make NAT
rule accessible
testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for network:
Test Network
testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.82 with
network 31116a68-3b10-49fe-8360-ba1002749e12
testclient.testcase.TestVMDeployVPC: DEBUG: Enabling static NAT for IP:
10.223.122.82
testclient.testcase.TestVMDeployVPC: DEBUG: Static NAT enabled for IP:
10.223.122.82
testclient.testcase.TestVMDeployVPC: DEBUG: Associating public IP for network:
TestVPC-LP7HLI
testclient.testcase.TestVMDeployVPC: DEBUG: Associated 10.223.122.84 with
network d12a75f6-c714-482d-9678-1285681a3964
testclient.testcase.TestVMDeployVPC: DEBUG: Creating LB rule for IP address:
10.223.122.84
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_vpc_vms_deployment.py",
line 1986, in test_07_delete_network_with_rules
domainid=self.account.domainid
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py",
line 1529, in create
return LoadBalancerRule(apiclient.createLoadBalancerRule(cmd).__dict__)
File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 981, in createLoadBalancerRule
response = self.connection.marvin_request(command, response_type=response,
method=method)
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 222, in marvin_request
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: createloadbalancerrule failed, due to: errorCode: 530,
errorText:Failed to create load balancer rule: SSH
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestVMDeployVPC: DEBUG: Creating a VPC offering..
--
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