Rayees Namathponnan created CLOUDSTACK-7331:
-----------------------------------------------
Summary: [Automation] test_vpc_network_life_cycle_1_delete failed
while deleting VPC network
Key: CLOUDSTACK-7331
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7331
Project: CloudStack
Issue Type: Test
Security Level: Public (Anyone can view this level - this is the default.)
Components: Automation
Affects Versions: 4.5.0
Reporter: Rayees Namathponnan
Priority: Critical
Fix For: 4.5.0
integration.component.test_persistent_networks.TestVPCNetworkOperations.test_vpc_network_life_cycle_1_delete
This failure need more analysis, from the log look, like test case trying to
delete VPC , which used by 2 networks
Error Message
Job failed: {jobprocstatus : 0, created : u'2014-08-11T18:10:39-0700', cmd :
u'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd', userid :
u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid :
u'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b', jobresultcode : 530, jobresulttype :
u'object', jobresult : {errorcode : 530, errortext : u"Can't delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_vpc_network_life_cycle_1_delete | Status : EXCEPTION ===
--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ::::::::::::STARTED : TC: test_vpc_network_life_cycle_1_delete
:::::::::::
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'username':
'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
'domainid': u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', 'firstname': 'test',
'lastname': 'test', 'response': 'json', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'createAccount', 'accounttype': 0, 'signature':
'r41I7ga909Z8suAixwuNvXMPZXg=', 'password': 'password', 'email':
'[email protected]'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : createAccount=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?username=test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q&domainid=6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8&firstname=test&lastname=test&email=test-account%40test.com&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=createAccount&accounttype=0&signature=r41I7ga909Z8suAixwuNvXMPZXg%3D&password=password&response=json
HTTP/1.1" 200 1737
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {primarystorageavailable : u'Unlimited', domain : u'ROOT',
domainid : u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', vpclimit : u'Unlimited',
iplimit : u'Unlimited', volumelimit : u'Unlimited', memorytotal : 0,
secondarystorageavailable : u'Unlimited', vmtotal : 0, cputotal : 0, vpctotal :
0, id : u'a6046056-0ef6-41d3-a49d-24a3296f856a', cpuavailable : u'Unlimited',
snapshotlimit : u'Unlimited', networklimit : u'Unlimited', iptotal : 0,
volumetotal : 0, projectlimit : u'Unlimited', state : u'enabled', networktotal
: 0, accounttype : 0, networkavailable : u'Unlimited', primarystoragetotal : 0,
templatelimit : u'Unlimited', snapshottotal : 0, templateavailable :
u'Unlimited', vmlimit : u'Unlimited', vpcavailable : u'Unlimited',
memoryavailable : u'Unlimited', secondarystoragetotal : 0, templatetotal : 0,
projecttotal : 0, user : [{username :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
domainid : u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', firstname : u'test',
created : u'2014-08-11T18:09:30-0700', lastname : u'test', domain : u'ROOT', id
: u'7c010648-ba13-4b79-b20c-383670fdc77c', iscallerchilddomain : False, state :
u'enabled', accounttype : 0, email : u'[email protected]', isdefault :
False, accountid : u'a6046056-0ef6-41d3-a49d-24a3296f856a'}], groups : [],
projectavailable : u'Unlimited', isdefault : False, primarystoragelimit :
u'Unlimited', secondarystoragelimit : u'Unlimited', volumeavailable :
u'Unlimited', name :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
vmavailable : u'Unlimited', ipavailable : u'Unlimited', memorylimit :
u'Unlimited', cpulimit : u'Unlimited', snapshotavailable : u'Unlimited'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: creating a VPC network in the account:
test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'account':
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
'domainid': u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', 'name': 'vpc_vpn-ONQVTO',
'zoneid': u'169dbf29-8372-43f9-891d-8002e7d27f3f', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'displaytext': 'vpc-vpn-1TE8SQ', 'signature': 'R/qxO1S+pAhDwVzAWieBZT/QkW8=',
'command': 'createVPC', 'cidr': '10.1.1.1/16', 'response': 'json',
'vpcofferingid': u'326c1438-cede-4963-a279-51246156fdad'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : createVPC=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?account=test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q&domainid=6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8&name=vpc_vpn-ONQVTO&zoneid=169dbf29-8372-43f9-891d-8002e7d27f3f&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&displaytext=vpc-vpn-1TE8SQ&signature=R%2FqxO1S%2BpAhDwVzAWieBZT%2FQkW8%3D&command=createVPC&cidr=10.1.1.1%2F16&response=json&vpcofferingid=326c1438-cede-4963-a279-51246156fdad
HTTP/1.1" 200 118
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === Jobid: 379c00fe-9780-4a5e-b7b2-9bdabaa672d4 Started ===
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3595 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3590 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3585 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3580 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3575 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3570 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3565 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3560 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3555 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 367
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
cmd : u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin',
userid : u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 0, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobinstancetype :
u'None', accountid : u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === JobId:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 is Still Processing, Will
TimeOut in:3550 ====
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9gLNKR+QBAkr+wsmLDVH1KKxTNc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=379c00fe-9780-4a5e-b7b2-9bdabaa672d4&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=9gLNKR%2BQBAkr%2BwsmLDVH1KKxTNc%3D
HTTP/1.1" 200 1540
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
jobresult : {account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
domainid : u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', name : u'vpc_vpn-ONQVTO',
service : [{name : u'StaticNat', provider : [{name : u'VpcVirtualRouter'}]},
{name : u'Lb', provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Dhcp',
provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Vpn', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'SourceNat', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'PortForwarding', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'NetworkACL', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'Dns', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'UserData', provider : [{name :
u'VpcVirtualRouter'}]}], fordisplay : True, id :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', tags : [], domain : u'ROOT', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', regionlevelvpc : False, state :
u'Enabled', distributedvpcrouter : False, displaytext : u'vpc-vpn-1TE8SQ',
networkdomain : u'csc0auto.advanced', vpcofferingid :
u'326c1438-cede-4963-a279-51246156fdad', cidr : u'10.1.1.1/16', zonename :
u'Adv-KVM-Zone1', restartrequired : False, network : []}, cmd :
u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin', userid :
u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 1, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobresulttype :
u'object', jobinstancetype : u'None', accountid :
u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ===Jobid:379c00fe-9780-4a5e-b7b2-9bdabaa672d4 ; StartTime:Mon Aug 11
14:22:32 2014 ; EndTime:Mon Aug 11 14:23:22 2014 ; TotalTime:-50===
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:09:30-0700',
jobresult : {account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
domainid : u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', name : u'vpc_vpn-ONQVTO',
service : [{name : u'StaticNat', provider : [{name : u'VpcVirtualRouter'}]},
{name : u'Lb', provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Dhcp',
provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Vpn', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'SourceNat', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'PortForwarding', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'NetworkACL', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'Dns', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'UserData', provider : [{name :
u'VpcVirtualRouter'}]}], fordisplay : True, id :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', tags : [], domain : u'ROOT', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', regionlevelvpc : False, state :
u'Enabled', distributedvpcrouter : False, displaytext : u'vpc-vpn-1TE8SQ',
networkdomain : u'csc0auto.advanced', vpcofferingid :
u'326c1438-cede-4963-a279-51246156fdad', cidr : u'10.1.1.1/16', zonename :
u'Adv-KVM-Zone1', restartrequired : False, network : []}, cmd :
u'org.apache.cloudstack.api.command.admin.vpc.CreateVPCCmdByAdmin', userid :
u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 1, jobid :
u'379c00fe-9780-4a5e-b7b2-9bdabaa672d4', jobresultcode : 0, jobresulttype :
u'object', jobinstancetype : u'None', accountid :
u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'response': 'json', 'command': 'listVPCs', 'signature':
'nKhVxWK2hJzO+XTTQ2k3ADVWhCY=', 'id': u'd6751897-25ff-4f0d-a2b1-13b492953d81'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : listVPCs=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?id=d6751897-25ff-4f0d-a2b1-13b492953d81&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=listVPCs&response=json&signature=nKhVxWK2hJzO%2BXTTQ2k3ADVWhCY%3D
HTTP/1.1" 200 1180
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : [{account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
domainid : u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', name : u'vpc_vpn-ONQVTO',
service : [{name : u'StaticNat', provider : [{name : u'VpcVirtualRouter'}]},
{name : u'Lb', provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Dhcp',
provider : [{name : u'VpcVirtualRouter'}]}, {name : u'Vpn', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'SourceNat', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'PortForwarding', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'NetworkACL', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'Dns', provider : [{name :
u'VpcVirtualRouter'}]}, {name : u'UserData', provider : [{name :
u'VpcVirtualRouter'}]}], fordisplay : True, id :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', tags : [], domain : u'ROOT', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', regionlevelvpc : False, state :
u'Enabled', distributedvpcrouter : False, displaytext : u'vpc-vpn-1TE8SQ',
networkdomain : u'csc0auto.advanced', vpcofferingid :
u'326c1438-cede-4963-a279-51246156fdad', cidr : u'10.1.1.1/16', zonename :
u'Adv-KVM-Zone1', restartrequired : False, network : []}]
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'listRouters', 'signature': 'UdLMODkk4Dl+eE1+hn5M03KSgUY=',
'vpcid': u'd6751897-25ff-4f0d-a2b1-13b492953d81', 'response': 'json',
'listall': True}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : listRouters=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&vpcid=d6751897-25ff-4f0d-a2b1-13b492953d81&command=listRouters&signature=UdLMODkk4Dl%2BeE1%2Bhn5M03KSgUY%3D&response=json&listall=True
HTTP/1.1" 200 1827
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : [{domain : u'ROOT', domainid :
u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', linklocalip : u'169.254.0.137', zoneid
: u'169dbf29-8372-43f9-891d-8002e7d27f3f', linklocalmacaddress :
u'0e:00:a9:fe:00:89', linklocalnetworkid :
u'a8a3732e-4c32-49c7-a552-fd590ada4017', linklocalnetmask : u'255.255.0.0',
publicmacaddress : u'06:26:54:00:00:4a', gateway : u'10.223.122.65', hostname :
u'Rack2Host11.lab.vmops.com', id : u'bff6d408-4a3d-4f74-98b9-9e74f8d5145c',
publicip : u'10.223.122.81', state : u'Running', version : u'4.4.0', role :
u'VIRTUAL_ROUTER', serviceofferingid : u'2b9e078f-484f-4da8-acd2-b4fcd2ad9a9b',
zonename : u'Adv-KVM-Zone1', name : u'r-350-VM', podid :
u'49b087e6-171a-40a6-b875-04d53ff92050', nic : [{networkid :
u'a8a3732e-4c32-49c7-a552-fd590ada4017', macaddress : u'0e:00:a9:fe:00:89', id
: u'2b08bb96-f0c5-40c7-a2f0-f0a096c7a0e6', traffictype : u'Control', netmask :
u'255.255.0.0', ipaddress : u'169.254.0.137', gateway : u'169.254.0.1',
isdefault : False}, {networkid : u'0513915c-3891-480c-a34c-1a088be9934a',
macaddress : u'06:26:54:00:00:4a', isolationuri : u'vlan://1221', broadcasturi
: u'vlan://1221', traffictype : u'Public', netmask : u'255.255.255.192', id :
u'2ac9964e-0cfa-45fd-bc31-9b76daf61869', ipaddress : u'10.223.122.81', gateway
: u'10.223.122.65', isdefault : True}], redundantstate : u'UNKNOWN', hostid :
u'3eb129b9-164a-4a50-b2f4-b398f8d7027c', templateid :
u'6c180e7e-2197-11e4-9ac6-1a6f7bb0d0a8', requiresupgrade : False, publicnetmask
: u'255.255.255.192', account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
vpcid : u'd6751897-25ff-4f0d-a2b1-13b492953d81', isredundantrouter : False,
created : u'2014-08-11T18:09:30-0700', hypervisor : u'KVM', dns1 : u'8.8.8.8',
publicnetworkid : u'0513915c-3891-480c-a34c-1a088be9934a', serviceofferingname
: u'System Offering For Software Router'}]
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'response': 'json', 'listall': True, 'vpcid':
u'd6751897-25ff-4f0d-a2b1-13b492953d81', 'command': 'listPublicIpAddresses',
'signature': '6bFp93fAykBxAP6OT2R75mH5zcE='}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : listPublicIpAddresses=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&vpcid=d6751897-25ff-4f0d-a2b1-13b492953d81&command=listPublicIpAddresses&signature=6bFp93fAykBxAP6OT2R75mH5zcE%3D&response=json&listall=True
HTTP/1.1" 200 797
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : [{networkid : u'0513915c-3891-480c-a34c-1a088be9934a',
physicalnetworkid : u'8cf2dd88-61b7-45b5-9be9-79acc15981de', account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
domainid : u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', issourcenat : True,
zonename : u'Adv-KVM-Zone1', tags : [], isstaticnat : False, domain : u'ROOT',
vlanid : u'c3333f4a-5e6f-4476-a814-5dc51e15b285', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', vlanname : u'vlan://1221', vpcid :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', state : u'Allocated', id :
u'5f320e52-28aa-4cad-966f-b5e989ae97ed', forvirtualnetwork : True, allocated :
u'2014-08-11T18:09:30-0700', issystem : False, ipaddress : u'10.223.122.81',
fordisplay : True, isportable : False}]
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'domainid': u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', 'zoneid':
u'169dbf29-8372-43f9-891d-8002e7d27f3f', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'displaytext': 'Isolated Network', 'gateway': '10.1.1.1', 'networkofferingid':
u'1079d837-1006-4ed4-8275-3874dc03f352', 'netmask': '255.255.255.0',
'response': 'json', 'account':
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
'vpcid': u'd6751897-25ff-4f0d-a2b1-13b492953d81', 'name': 'Isolated Network',
'command': 'createNetwork', 'signature': 'hsQIbfPxp0VO60rOGLzVFunmCw4='}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : createNetwork=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?account=test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q&domainid=6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8&name=Isolated+Network&networkofferingid=1079d837-1006-4ed4-8275-3874dc03f352&zoneid=169dbf29-8372-43f9-891d-8002e7d27f3f&netmask=255.255.255.0&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&displaytext=Isolated+Network&signature=hsQIbfPxp0VO60rOGLzVFunmCw4%3D&command=createNetwork&response=json&gateway=10.1.1.1&vpcid=d6751897-25ff-4f0d-a2b1-13b492953d81
HTTP/1.1" 200 2056
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {domain : u'ROOT', specifyipranges : False, related :
u'd1634b59-3345-49a1-9e3e-570dda02bc74', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', domainid :
u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', displaytext : u'Isolated Network',
gateway : u'10.1.1.1', canusefordeploy : True, physicalnetworkid :
u'8cf2dd88-61b7-45b5-9be9-79acc15981de', networkdomain : u'csc0auto.advanced',
service : [{name : u'StaticNat'}, {capability : [{value : u'true', name :
u'DhcpAccrossMultipleSubnets', canchooseservicecapability : False}], name :
u'Dhcp'}, {capability : [{value : u's2svpn', name : u'VpnTypes',
canchooseservicecapability : False}, {value : u'pptp,l2tp,ipsec', name :
u'SupportedVpnTypes', canchooseservicecapability : False}], name : u'Vpn'},
{capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes',
canchooseservicecapability : False}, {value : u'false', name :
u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat'},
{name : u'PortForwarding'}, {capability : [{value : u'tcp,udp,icmp', name :
u'SupportedProtocols', canchooseservicecapability : False}], name :
u'NetworkACL'}, {capability : [{value : u'true', name :
u'AllowDnsSuffixModification', canchooseservicecapability : False}], name :
u'Dns'}, {name : u'UserData'}], strechedl2subnet : False, id :
u'd1634b59-3345-49a1-9e3e-570dda02bc74', state : u'Implemented', type :
u'Isolated', broadcasturi : u'vlan://2343', zonename : u'Adv-KVM-Zone1',
networkofferingavailability : u'Optional', networkofferingid :
u'1079d837-1006-4ed4-8275-3874dc03f352', tags : [], displaynetwork : True, vlan
: u'2343', networkofferingdisplaytext : u'VPC Network off-CZSZH7', traffictype
: u'Guest', netmask : u'255.255.255.0', vpcid :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', cidr : u'10.1.1.0/24', restartrequired
: False, broadcastdomaintype : u'Vlan', account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
ispersistent : True, name : u'Isolated Network', dns1 : u'8.8.8.8',
networkofferingconservemode : False, acltype : u'Account', networkofferingname
: u'VPC Network offering-B2EPH9', issystem : False}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'id': u'd1634b59-3345-49a1-9e3e-570dda02bc74', 'response': 'json', 'command':
'listNetworks', 'signature': 'LN36jg3UkgZ9yu2fYoxKpjOdVhY='}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : listNetworks=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?signature=LN36jg3UkgZ9yu2fYoxKpjOdVhY%3D&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=listNetworks&id=d1634b59-3345-49a1-9e3e-570dda02bc74&response=json
HTTP/1.1" 200 2069
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : [{domain : u'ROOT', specifyipranges : False, related :
u'd1634b59-3345-49a1-9e3e-570dda02bc74', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', domainid :
u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', displaytext : u'Isolated Network',
gateway : u'10.1.1.1', canusefordeploy : True, physicalnetworkid :
u'8cf2dd88-61b7-45b5-9be9-79acc15981de', networkdomain : u'csc0auto.advanced',
service : [{name : u'StaticNat'}, {capability : [{value : u'true', name :
u'DhcpAccrossMultipleSubnets', canchooseservicecapability : False}], name :
u'Dhcp'}, {capability : [{value : u's2svpn', name : u'VpnTypes',
canchooseservicecapability : False}, {value : u'pptp,l2tp,ipsec', name :
u'SupportedVpnTypes', canchooseservicecapability : False}], name : u'Vpn'},
{capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes',
canchooseservicecapability : False}, {value : u'false', name :
u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat'},
{name : u'PortForwarding'}, {capability : [{value : u'tcp,udp,icmp', name :
u'SupportedProtocols', canchooseservicecapability : False}], name :
u'NetworkACL'}, {capability : [{value : u'true', name :
u'AllowDnsSuffixModification', canchooseservicecapability : False}], name :
u'Dns'}, {name : u'UserData'}], strechedl2subnet : False, id :
u'd1634b59-3345-49a1-9e3e-570dda02bc74', state : u'Implemented', type :
u'Isolated', broadcasturi : u'vlan://2343', zonename : u'Adv-KVM-Zone1',
networkofferingavailability : u'Optional', networkofferingid :
u'1079d837-1006-4ed4-8275-3874dc03f352', tags : [], displaynetwork : True, vlan
: u'2343', networkofferingdisplaytext : u'VPC Network off-CZSZH7', traffictype
: u'Guest', netmask : u'255.255.255.0', vpcid :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', cidr : u'10.1.1.0/24', restartrequired
: False, broadcastdomaintype : u'Vlan', account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
ispersistent : True, name : u'Isolated Network', dns1 : u'8.8.8.8',
networkofferingconservemode : False, acltype : u'Account', networkofferingname
: u'VPC Network offering-B2EPH9', issystem : False}]
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'domainid': u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', 'zoneid':
u'169dbf29-8372-43f9-891d-8002e7d27f3f', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'displaytext': 'Isolated Network', 'gateway': '10.1.2.1', 'networkofferingid':
u'1079d837-1006-4ed4-8275-3874dc03f352', 'netmask': '255.255.255.0',
'response': 'json', 'account':
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
'vpcid': u'd6751897-25ff-4f0d-a2b1-13b492953d81', 'name': 'Isolated Network',
'command': 'createNetwork', 'signature': 'dbmEsqdyKBNcwdx5Aj9aFnEnxHI='}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : createNetwork=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?account=test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q&domainid=6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8&name=Isolated+Network&networkofferingid=1079d837-1006-4ed4-8275-3874dc03f352&zoneid=169dbf29-8372-43f9-891d-8002e7d27f3f&netmask=255.255.255.0&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&displaytext=Isolated+Network&signature=dbmEsqdyKBNcwdx5Aj9aFnEnxHI%3D&command=createNetwork&response=json&gateway=10.1.2.1&vpcid=d6751897-25ff-4f0d-a2b1-13b492953d81
HTTP/1.1" 200 2056
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {domain : u'ROOT', specifyipranges : False, related :
u'94bab41a-0d66-404f-8980-7f87f06782eb', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', domainid :
u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', displaytext : u'Isolated Network',
gateway : u'10.1.2.1', canusefordeploy : True, physicalnetworkid :
u'8cf2dd88-61b7-45b5-9be9-79acc15981de', networkdomain : u'csc0auto.advanced',
service : [{name : u'StaticNat'}, {capability : [{value : u'true', name :
u'DhcpAccrossMultipleSubnets', canchooseservicecapability : False}], name :
u'Dhcp'}, {capability : [{value : u's2svpn', name : u'VpnTypes',
canchooseservicecapability : False}, {value : u'pptp,l2tp,ipsec', name :
u'SupportedVpnTypes', canchooseservicecapability : False}], name : u'Vpn'},
{capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes',
canchooseservicecapability : False}, {value : u'false', name :
u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat'},
{name : u'PortForwarding'}, {capability : [{value : u'tcp,udp,icmp', name :
u'SupportedProtocols', canchooseservicecapability : False}], name :
u'NetworkACL'}, {capability : [{value : u'true', name :
u'AllowDnsSuffixModification', canchooseservicecapability : False}], name :
u'Dns'}, {name : u'UserData'}], strechedl2subnet : False, id :
u'94bab41a-0d66-404f-8980-7f87f06782eb', state : u'Implemented', type :
u'Isolated', broadcasturi : u'vlan://2337', zonename : u'Adv-KVM-Zone1',
networkofferingavailability : u'Optional', networkofferingid :
u'1079d837-1006-4ed4-8275-3874dc03f352', tags : [], displaynetwork : True, vlan
: u'2337', networkofferingdisplaytext : u'VPC Network off-CZSZH7', traffictype
: u'Guest', netmask : u'255.255.255.0', vpcid :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', cidr : u'10.1.2.0/24', restartrequired
: False, broadcastdomaintype : u'Vlan', account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
ispersistent : True, name : u'Isolated Network', dns1 : u'8.8.8.8',
networkofferingconservemode : False, acltype : u'Account', networkofferingname
: u'VPC Network offering-B2EPH9', issystem : False}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'id': u'94bab41a-0d66-404f-8980-7f87f06782eb', 'response': 'json', 'command':
'listNetworks', 'signature': '0mF5dDeN/mnEMJ+0kHj+gLst/XI='}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : listNetworks=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?signature=0mF5dDeN%2FmnEMJ%2B0kHj%2BgLst%2FXI%3D&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=listNetworks&id=94bab41a-0d66-404f-8980-7f87f06782eb&response=json
HTTP/1.1" 200 2069
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : [{domain : u'ROOT', specifyipranges : False, related :
u'94bab41a-0d66-404f-8980-7f87f06782eb', zoneid :
u'169dbf29-8372-43f9-891d-8002e7d27f3f', domainid :
u'6c15608e-2197-11e4-9ac6-1a6f7bb0d0a8', displaytext : u'Isolated Network',
gateway : u'10.1.2.1', canusefordeploy : True, physicalnetworkid :
u'8cf2dd88-61b7-45b5-9be9-79acc15981de', networkdomain : u'csc0auto.advanced',
service : [{name : u'StaticNat'}, {capability : [{value : u'true', name :
u'DhcpAccrossMultipleSubnets', canchooseservicecapability : False}], name :
u'Dhcp'}, {capability : [{value : u's2svpn', name : u'VpnTypes',
canchooseservicecapability : False}, {value : u'pptp,l2tp,ipsec', name :
u'SupportedVpnTypes', canchooseservicecapability : False}], name : u'Vpn'},
{capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes',
canchooseservicecapability : False}, {value : u'false', name :
u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat'},
{name : u'PortForwarding'}, {capability : [{value : u'tcp,udp,icmp', name :
u'SupportedProtocols', canchooseservicecapability : False}], name :
u'NetworkACL'}, {capability : [{value : u'true', name :
u'AllowDnsSuffixModification', canchooseservicecapability : False}], name :
u'Dns'}, {name : u'UserData'}], strechedl2subnet : False, id :
u'94bab41a-0d66-404f-8980-7f87f06782eb', state : u'Implemented', type :
u'Isolated', broadcasturi : u'vlan://2337', zonename : u'Adv-KVM-Zone1',
networkofferingavailability : u'Optional', networkofferingid :
u'1079d837-1006-4ed4-8275-3874dc03f352', tags : [], displaynetwork : True, vlan
: u'2337', networkofferingdisplaytext : u'VPC Network off-CZSZH7', traffictype
: u'Guest', netmask : u'255.255.255.0', vpcid :
u'd6751897-25ff-4f0d-a2b1-13b492953d81', cidr : u'10.1.2.0/24', restartrequired
: False, broadcastdomaintype : u'Vlan', account :
u'test-a-TestVPCNetworkOperations-test_vpc_network_life_cycle_1_delete-D8X26Q',
ispersistent : True, name : u'Isolated Network', dns1 : u'8.8.8.8',
networkofferingconservemode : False, acltype : u'Account', networkofferingname
: u'VPC Network offering-B2EPH9', issystem : False}]
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '9tQqQ/PlQrB0F6hRYntiTzaktuQ=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'deleteVPC', 'id': u'd6751897-25ff-4f0d-a2b1-13b492953d81',
'response': 'json'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : deleteVPC=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?response=json&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=deleteVPC&id=d6751897-25ff-4f0d-a2b1-13b492953d81&signature=9tQqQ%2FPlQrB0F6hRYntiTzaktuQ%3D
HTTP/1.1" 200 74
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: === Jobid: 55fb327b-ca86-4ae8-9489-4f50cc3e0b6b Started ===
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Payload: {'signature': '+N9U+U2MnYLnqtuYoetSwcc5pfc=', 'apiKey':
u'78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ',
'command': 'queryAsyncJobResult', 'response': 'json', 'jobid':
u'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection
(1): 10.223.49.195
requests.packages.urllib3.connectionpool: DEBUG: "GET
/client/api?jobid=55fb327b-ca86-4ae8-9489-4f50cc3e0b6b&apiKey=78MI-CP2cM9Oc6lGqvgXYmL_Cw3i-tLSPo4K4Vivv04g8OXByYZBG9zQe_MqXMqFKP-1IDmilhtG8Zgqx1exnQ&command=queryAsyncJobResult&response=json&signature=%2BN9U%2BU2MnYLnqtuYoetSwcc5pfc%3D
HTTP/1.1" 200 473
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-11T18:10:39-0700',
cmd : u'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd', userid :
u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid :
u'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b', jobresultcode : 530, jobresulttype :
u'object', jobresult : {errorcode : 530, errortext : u"Can't delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
ERROR: ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created
: u'2014-08-11T18:10:39-0700', cmd :
u'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd', userid :
u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid :
u'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b', jobresultcode : 530, jobresulttype :
u'object', jobresult : {errorcode : 530, errortext : u"Can't delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'} ====
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 105, in __poll
% async_response)
Exception: Job failed: {jobprocstatus : 0, created :
u'2014-08-11T18:10:39-0700', cmd :
u'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd', userid :
u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid :
u'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b', jobresultcode : 530, jobresulttype :
u'object', jobresult : {errorcode : 530, errortext : u"Can't delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: Response : FAILED
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.deleteVPC.deleteVPCCmd
object at 0x145d5390> Exception: ['Traceback (most recent call last):\n', '
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 374, in marvinRequest\n raise self.__lastError\n', 'Exception: Job
failed: {jobprocstatus : 0, created : u\'2014-08-11T18:10:39-0700\', cmd :
u\'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd\', userid :
u\'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8\', jobstatus : 2, jobid :
u\'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b\', jobresultcode : 530, jobresulttype :
u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u\'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8\'}\n']
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 374, in marvinRequest
raise self.__lastError
Exception: Job failed: {jobprocstatus : 0, created :
u'2014-08-11T18:10:39-0700', cmd :
u'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd', userid :
u'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8', jobstatus : 2, jobid :
u'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b', jobresultcode : 530, jobresulttype :
u'object', jobresult : {errorcode : 530, errortext : u"Can't delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8'}
test_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
CRITICAL: EXCEPTION: test_vpc_network_life_cycle_1_delete: ['Traceback (most
recent call last):\n', ' File "/usr/local/lib/python2.7/unittest/case.py",
line 318, in run\n testMethod()\n', ' File
"/usr/local/lib/python2.7/site-packages/ddt.py", line 114, in wrapper\n
return func(self, *args, **kwargs)\n', ' File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_persistent_networks.py",
line 1826, in test_vpc_network_life_cycle\n vpc.delete(self.apiclient)\n',
' File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py", line 3917,
in delete\n return apiclient.deleteVPC(cmd)\n', ' File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2168, in deleteVPC\n response = self.connection.marvinRequest(command,
response_type=response, method=method)\n', ' File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
379, in marvinRequest\n raise e\n', 'Exception: Job failed: {jobprocstatus :
0, created : u\'2014-08-11T18:10:39-0700\', cmd :
u\'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd\', userid :
u\'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8\', jobstatus : 2, jobid :
u\'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b\', jobresultcode : 530, jobresulttype :
u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u\'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8\'}\n']
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File "/usr/local/lib/python2.7/site-packages/ddt.py", line 114, in wrapper
return func(self, *args, **kwargs)
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_persistent_networks.py",
line 1826, in test_vpc_network_life_cycle
vpc.delete(self.apiclient)
File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py", line 3917,
in delete
return apiclient.deleteVPC(cmd)
File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 2168, in deleteVPC
response = self.connection.marvinRequest(command, response_type=response,
method=method)
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 379, in marvinRequest
raise e
'Job failed: {jobprocstatus : 0, created : u\'2014-08-11T18:10:39-0700\', cmd :
u\'org.apache.cloudstack.api.command.user.vpc.DeleteVPCCmd\', userid :
u\'c0533784-2197-11e4-9ac6-1a6f7bb0d0a8\', jobstatus : 2, jobid :
u\'55fb327b-ca86-4ae8-9489-4f50cc3e0b6b\', jobresultcode : 530, jobresulttype :
u\'object\', jobresult : {errorcode : 530, errortext : u"Can\'t delete VPC [VPC
[30-vpc_vpn-ONQVTO] as its used by 2 networks"}, accountid :
u\'c0532ca8-2197-11e4-9ac6-1a6f7bb0d0a8\'}\n-------------------- >> begin
captured stdout << ---------------------\n=== TestName:
test_vpc_network_life_cycle_1_delete | Status : EXCEPTION
===\n\n\n--------------------- >> end captured stdout <<
----------------------\n-------------------- >> begin captured logging <<
--------------------\ntest_vpc_network_life_cycle_1_delete
(integration.component.test_persistent_networks.TestVPCNetworkOperations):
DEBUG: ::::::::::::STARTED : TC: test_vpc_network_life_cycle_1_delete
--
This message was sent by Atlassian JIRA
(v6.2#6252)