cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Aradhye (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-7385) integration.component.test_persistent_networks.TestRestartPersistentNetwork.test_cleanup_persistent_network_1_true
Date Thu, 21 Aug 2014 14:49:12 GMT
Gaurav Aradhye created CLOUDSTACK-7385:
------------------------------------------

             Summary: integration.component.test_persistent_networks.TestRestartPersistentNetwork.test_cleanup_persistent_network_1_true
                 Key: CLOUDSTACK-7385
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7385
             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: Gaurav Aradhye
            Assignee: Gaurav Aradhye
             Fix For: 4.5.0


integration.component.test_persistent_networks.TestRestartPersistentNetwork.test_cleanup_persistent_network_1_true failed while creating LB rule.

The network offering used does not have anything for service provider of LB.

Execute cmd: createloadbalancerrule failed, due to: errorCode: 530, errorText:Failed to create load balancer rule: SSH
-------------------- >> begin captured stdout << ---------------------
=== TestName: test_cleanup_persistent_network_1_true | Status : EXCEPTION ===


--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'signature': 'NkvfIxXjm37fMP1qzpTof19L5uM=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'deleteServiceOffering', 'id': u'455dca18-7b5f-454c-b1e4-276713a1afd6', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : deleteServiceOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?response=json&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=deleteServiceOffering&id=455dca18-7b5f-454c-b1e4-276713a1afd6&signature=NkvfIxXjm37fMP1qzpTof19L5uM%3D HTTP/1.1" 200 60
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {success : u'true'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'signature': 'QW8yNTjMSoL0AF0aTS1VwHK7ZFE=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'deleteNetworkOffering', 'id': u'acd392e4-438e-40c0-a068-91f3c8934dac', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : deleteNetworkOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?response=json&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=deleteNetworkOffering&id=acd392e4-438e-40c0-a068-91f3c8934dac&signature=QW8yNTjMSoL0AF0aTS1VwHK7ZFE%3D HTTP/1.1" 200 60
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {success : u'true'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'listDomains', 'signature': 'abp39oNvouTjuE9WsvqUW8y27O4=', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : listDomains=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=listDomains&response=json&signature=abp39oNvouTjuE9WsvqUW8y27O4%3D HTTP/1.1" 200 986
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : [{path : u'ROOT', haschild : True, id : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', name : u'ROOT', level : 0}, {haschild : False, parentdomainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', level : 1, parentdomainname : u'ROOT', path : u'ROOT/Domain-CA9FGU', id : u'7d0c06b9-a5cd-4d21-a701-108d79a6297d', name : u'Domain-CA9FGU'}, {haschild : False, parentdomainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', level : 1, parentdomainname : u'ROOT', path : u'ROOT/Domain-WW4234', id : u'6bd17fc3-345d-4f9f-bea2-6a5854aa235a', name : u'Domain-WW4234'}, {haschild : False, parentdomainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', level : 1, parentdomainname : u'ROOT', path : u'ROOT/Domain-LPZXM3', id : u'49bd1486-970d-4a1f-b42c-71d57062ce9f', name : u'Domain-LPZXM3'}, {haschild : False, parentdomainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', level : 1, parentdomainname : u'ROOT', path : u'ROOT/Domain-ZUMSD5', id : u'dd7a49f8-eaa8-494b-845b-2b57bcba2b22', name : u'Domain-ZUMSD5'}]
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'name': 'Adv-VMware-Zone1', 'command': 'listZones', 'signature': 'jHZr2TRJPg1FQwpU2bFuduZbDlw=', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : listZones=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?response=json&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=listZones&name=Adv-VMware-Zone1&signature=jHZr2TRJPg1FQwpU2bFuduZbDlw%3D HTTP/1.1" 200 411
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : [{localstorageenabled : False, name : u'Adv-VMware-Zone1', guestcidraddress : u'10.1.1.0/24', tags : [], zonetoken : u'e608714b-49c8-33da-97e0-e2ef9a88710d', dns1 : u'8.8.8.8', securitygroupsenabled : False, allocationstate : u'Enabled', internaldns1 : u'10.223.240.232', dhcpprovider : u'VirtualRouter', networktype : u'Advanced', id : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f'}]
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'templatefilter': 'featured', 'command': 'listTemplates', 'signature': 'tnNsznt2Rg3SW3Q9iSeeRTY/PfY=', 'zoneid': u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : listTemplates=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?templatefilter=featured&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&zoneid=4764a7cf-be9e-4dbe-81da-c232e4f74e1f&command=listTemplates&signature=tnNsznt2Rg3SW3Q9iSeeRTY%2FPfY%3D&response=json HTTP/1.1" 200 818
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : [{domain : u'ROOT', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', ostypename : u'CentOS 5.3 (64-bit)', zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', displaytext : u'CentOS 5.3(64-bit) no GUI (vSphere)', ostypeid : u'5659b0f6-2773-11e4-a7b2-52b2d980df8a', passwordenabled : False, id : u'5654005c-2773-11e4-a7b2-52b2d980df8a', size : 2147483648, isready : True, format : u'OVA', templatetype : u'BUILTIN', zonename : u'Adv-VMware-Zone1', status : u'Download Complete', isdynamicallyscalable : True, tags : [], isfeatured : True, sshkeyenabled : False, isextractable : True, crossZones : True, account : u'system', name : u'CentOS 5.3(64-bit) no GUI (vSphere)', created : u'2014-08-19T01:07:19-0700', hypervisor : u'VMware', ispublic : True, checksum : u'5f4aee4536bf39e052949fb9409c8e9c'}]
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'cpunumber': 1, 'memory': 128, 'cpuspeed': 100, 'response': 'json', 'name': 'Tiny Instance', 'command': 'createServiceOffering', 'signature': 'Nufly9MMAxUaucA4B59yE4oa+SQ=', 'displaytext': 'Tiny Instance'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : createServiceOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&name=Tiny+Instance&memory=128&signature=Nufly9MMAxUaucA4B59yE4oa%2BSQ%3D&cpunumber=1&cpuspeed=100&command=createServiceOffering&displaytext=Tiny+Instance&response=json HTTP/1.1" 200 402
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {iscustomized : False, name : u'Tiny Instance', created : u'2014-08-19T07:45:53-0700', storagetype : u'shared', limitcpuuse : False, memory : 128, offerha : False, isvolatile : False, provisioningtype : u'thin', cpunumber : 1, cpuspeed : 100, displaytext : u'Tiny Instance', issystem : False, id : u'71776211-e5cf-448f-b2f3-4ddfcbb2af37', defaultuse : False}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'supportedservices': 'Dhcp,Dns,SourceNat,PortForwarding', 'traffictype': 'GUEST', 'displaytext': 'Test Nw off isolated persistent-HQORWK', 'serviceproviderlist[0].service': 'Dhcp', 'serviceproviderlist[1].provider': 'VirtualRouter', 'availability': 'Optional', 'serviceproviderlist[3].provider': 'VirtualRouter', 'serviceproviderlist[2].provider': 'VirtualRouter', 'ispersistent': 'True', 'conservemode': False, 'name': 'Test Nw off isolated persistent-KEJ8UW', 'guestiptype': 'Isolated', 'serviceproviderlist[2].service': 'SourceNat', 'serviceproviderlist[3].service': 'PortForwarding', 'serviceproviderlist[0].provider': 'VirtualRouter', 'command': 'createNetworkOffering', 'signature': 'g4LCbzCiIMuBBq5voFrN0MtK5PQ=', 'response': 'json', 'serviceproviderlist[1].service': 'Dns'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : createNetworkOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?serviceproviderlist%5B2%5D.provider=VirtualRouter&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&conservemode=False&serviceproviderlist%5B3%5D.provider=VirtualRouter&guestiptype=Isolated&signature=g4LCbzCiIMuBBq5voFrN0MtK5PQ%3D&supportedservices=Dhcp%2CDns%2CSourceNat%2CPortForwarding&traffictype=GUEST&serviceproviderlist%5B3%5D.service=PortForwarding&serviceproviderlist%5B0%5D.provider=VirtualRouter&ispersistent=True&displaytext=Test+Nw+off+isolated+persistent-HQORWK&serviceproviderlist%5B0%5D.service=Dhcp&serviceproviderlist%5B1%5D.provider=VirtualRouter&command=createNetworkOffering&response=json&serviceproviderlist%5B2%5D.service=SourceNat&availability=Optional&serviceproviderlist%5B1%5D.service=Dns&name=Test+Nw+off+isolated+persistent-KEJ8UW HTTP/1.1" 200 1043
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {supportsstrechedl2subnet : False, specifyipranges : False, conservemode : False, name : u'Test Nw off isolated persistent-KEJ8UW', service : [{name : u'Dhcp', provider : [{name : u'VirtualRouter'}]}, {capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : False}, {value : u'false', name : u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat', provider : [{name : u'VirtualRouter'}]}, {name : u'PortForwarding', provider : [{name : u'VirtualRouter'}]}, {name : u'Dns', provider : [{name : u'VirtualRouter'}]}, {name : u'Firewall', provider : [{name : u'VirtualRouter'}]}], networkrate : 200, guestiptype : u'Isolated', availability : u'Optional', traffictype : u'Guest', state : u'Disabled', ispersistent : True, displaytext : u'Test Nw off isolated persistent-HQORWK', specifyvlan : False, id : u'aa220488-5a42-448c-89c3-365c2a084b68', forvpc : False, serviceofferingid : u'03b1d9b6-db74-4b01-b208-787c608ba448', isdefault : False, egressdefaultpolicy : True}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'serviceproviderlist[4].service': 'Firewall', 'serviceproviderlist[8].service': 'SourceNat', 'supportedservices': 'Dhcp,Dns,SourceNat,PortForwarding,Vpn,Firewall,Lb,UserData,StaticNat', 'traffictype': 'GUEST', 'serviceproviderlist[5].service': 'Dns', 'displaytext': 'Netscaler-046AUL', 'serviceproviderlist[0].service': 'UserData', 'serviceproviderlist[4].provider': 'VirtualRouter', 'serviceproviderlist[1].provider': 'Netscaler', 'serviceproviderlist[6].provider': 'VirtualRouter', 'availability': 'Optional', 'serviceproviderlist[3].provider': 'VirtualRouter', 'serviceproviderlist[2].provider': 'VirtualRouter', 'ispersistent': 'True', 'conservemode': False, 'name': 'Netscaler-2QLMDH', 'guestiptype': 'Isolated', 'serviceproviderlist[7].provider': 'VirtualRouter', 'serviceproviderlist[5].provider': 'VirtualRouter', 'serviceproviderlist[7].service': 'Vpn', 'response': 'json', 'serviceproviderlist[2].service': 'StaticNat', 'serviceproviderlist[3].service': 'PortForwarding', 'serviceproviderlist[0].provider': 'VirtualRouter', 'serviceproviderlist[6].service': 'Dhcp', 'command': 'createNetworkOffering', 'signature': 'mGNqvkGrRsyfPkjbX1pAbBFPVSw=', 'serviceproviderlist[8].provider': 'VirtualRouter', 'serviceproviderlist[1].service': 'Lb'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : createNetworkOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&serviceproviderlist%5B2%5D.provider=VirtualRouter&serviceproviderlist%5B5%5D.service=Dns&displaytext=Netscaler-046AUL&serviceproviderlist%5B0%5D.service=UserData&serviceproviderlist%5B4%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.provider=Netscaler&availability=Optional&serviceproviderlist%5B6%5D.provider=VirtualRouter&serviceproviderlist%5B3%5D.service=PortForwarding&serviceproviderlist%5B5%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.service=SourceNat&serviceproviderlist%5B0%5D.provider=VirtualRouter&serviceproviderlist%5B8%5D.provider=VirtualRouter&serviceproviderlist%5B1%5D.service=Lb&serviceproviderlist%5B4%5D.service=Firewall&supportedservices=Dhcp%2CDns%2CSourceNat%2CPortForwarding%2CVpn%2CFirewall%2CLb%2CUserData%2CStaticNat&traffictype=GUEST&conservemode=False&response=json&name=Netscaler-2QLMDH&ispersistent=True&serviceproviderlist%5B3%5D.provider=VirtualRouter&guestiptype=Isolated&serviceproviderlist%5B7%5D.provider=VirtualRouter&serviceproviderlist%5B7%5D.service=Vpn&serviceproviderlist%5B2%5D.service=StaticNat&serviceproviderlist%5B6%5D.service=Dhcp&command=createNetworkOffering&signature=mGNqvkGrRsyfPkjbX1pAbBFPVSw%3D HTTP/1.1" 200 1628
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {supportsstrechedl2subnet : False, specifyipranges : False, conservemode : False, name : u'Netscaler-2QLMDH', service : [{capability : [{value : u'false', name : u'ElasticIp', canchooseservicecapability : False}, {value : u'false', name : u'AssociatePublicIP', canchooseservicecapability : False}], name : u'StaticNat', provider : [{name : u'VirtualRouter'}]}, {name : u'Dhcp', provider : [{name : u'VirtualRouter'}]}, {capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : False}, {value : u'false', name : u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat', provider : [{name : u'VirtualRouter'}]}, {name : u'PortForwarding', provider : [{name : u'VirtualRouter'}]}, {name : u'Dns', provider : [{name : u'VirtualRouter'}]}, {name : u'Firewall', provider : [{name : u'VirtualRouter'}]}, {capability : [{value : u'shared', name : u'SupportedLBIsolation', canchooseservicecapability : False}, {value : u'false', name : u'ElasticLb', canchooseservicecapability : False}, {value : u'false', name : u'InlineMode', canchooseservicecapability : False}], name : u'Lb', provider : [{name : u'Netscaler'}]}, {name : u'UserData', provider : [{name : u'VirtualRouter'}]}, {name : u'Vpn', provider : [{name : u'VirtualRouter'}]}], networkrate : 200, guestiptype : u'Isolated', availability : u'Optional', traffictype : u'Guest', state : u'Disabled', ispersistent : True, displaytext : u'Netscaler-046AUL', specifyvlan : False, id : u'65c69e30-e7ef-4c47-9c1a-be8cfd4b9c64', forvpc : False, serviceofferingid : u'03b1d9b6-db74-4b01-b208-787c608ba448', isdefault : False, egressdefaultpolicy : True}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'id': u'aa220488-5a42-448c-89c3-365c2a084b68', 'state': 'enabled', 'command': 'updateNetworkOffering', 'signature': 'EDWdu6JxtlL43eHONFgxLt4Q9GA=', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : updateNetworkOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&id=aa220488-5a42-448c-89c3-365c2a084b68&state=enabled&command=updateNetworkOffering&signature=EDWdu6JxtlL43eHONFgxLt4Q9GA%3D&response=json HTTP/1.1" 200 1042
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {supportsstrechedl2subnet : False, specifyipranges : False, conservemode : False, name : u'Test Nw off isolated persistent-KEJ8UW', service : [{name : u'Dhcp', provider : [{name : u'VirtualRouter'}]}, {capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : False}, {value : u'false', name : u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat', provider : [{name : u'VirtualRouter'}]}, {name : u'PortForwarding', provider : [{name : u'VirtualRouter'}]}, {name : u'Dns', provider : [{name : u'VirtualRouter'}]}, {name : u'Firewall', provider : [{name : u'VirtualRouter'}]}], networkrate : 200, guestiptype : u'Isolated', availability : u'Optional', traffictype : u'Guest', state : u'Enabled', ispersistent : True, displaytext : u'Test Nw off isolated persistent-HQORWK', specifyvlan : False, id : u'aa220488-5a42-448c-89c3-365c2a084b68', forvpc : False, serviceofferingid : u'03b1d9b6-db74-4b01-b208-787c608ba448', isdefault : False, egressdefaultpolicy : True}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'id': u'65c69e30-e7ef-4c47-9c1a-be8cfd4b9c64', 'state': 'enabled', 'command': 'updateNetworkOffering', 'signature': 'Eusksi45+aORQff6LkUl25DJCrs=', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : updateNetworkOffering=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&id=65c69e30-e7ef-4c47-9c1a-be8cfd4b9c64&state=enabled&command=updateNetworkOffering&signature=Eusksi45%2BaORQff6LkUl25DJCrs%3D&response=json HTTP/1.1" 200 1627
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {supportsstrechedl2subnet : False, specifyipranges : False, conservemode : False, name : u'Netscaler-2QLMDH', service : [{capability : [{value : u'false', name : u'ElasticIp', canchooseservicecapability : False}, {value : u'false', name : u'AssociatePublicIP', canchooseservicecapability : False}], name : u'StaticNat', provider : [{name : u'VirtualRouter'}]}, {name : u'Dhcp', provider : [{name : u'VirtualRouter'}]}, {capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : False}, {value : u'false', name : u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat', provider : [{name : u'VirtualRouter'}]}, {name : u'PortForwarding', provider : [{name : u'VirtualRouter'}]}, {name : u'Dns', provider : [{name : u'VirtualRouter'}]}, {name : u'Firewall', provider : [{name : u'VirtualRouter'}]}, {capability : [{value : u'shared', name : u'SupportedLBIsolation', canchooseservicecapability : False}, {value : u'false', name : u'ElasticLb', canchooseservicecapability : False}, {value : u'false', name : u'InlineMode', canchooseservicecapability : False}], name : u'Lb', provider : [{name : u'Netscaler'}]}, {name : u'UserData', provider : [{name : u'VirtualRouter'}]}, {name : u'Vpn', provider : [{name : u'VirtualRouter'}]}], networkrate : 200, guestiptype : u'Isolated', availability : u'Optional', traffictype : u'Guest', state : u'Enabled', ispersistent : True, displaytext : u'Netscaler-046AUL', specifyvlan : False, id : u'65c69e30-e7ef-4c47-9c1a-be8cfd4b9c64', forvpc : False, serviceofferingid : u'03b1d9b6-db74-4b01-b208-787c608ba448', isdefault : False, egressdefaultpolicy : True}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'listPhysicalNetworks', 'signature': 'F/l6X5i4PIQc+7w75ub6uR7zL+4=', 'zoneid': u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : listPhysicalNetworks=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?zoneid=4764a7cf-be9e-4dbe-81da-c232e4f74e1f&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=listPhysicalNetworks&response=json&signature=F%2Fl6X5i4PIQc%2B7w75ub6uR7zL%2B4%3D HTTP/1.1" 200 259
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : [{name : u'Sandbox-pnet', broadcastdomainrange : u'ZONE', vlan : u'3181-3203', zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', state : u'Enabled', id : u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6'}]
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'physicalnetworkid': u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'name': 'Netscaler', 'command': 'listNetworkServiceProviders', 'signature': 'I3Rx+f1T8f6tXNSNF7XzhUrvF5g=', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : listNetworkServiceProviders=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?physicalnetworkid=c6a0c65d-00a6-4cd6-b12f-8324abc255a6&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&name=Netscaler&command=listNetworkServiceProviders&signature=I3Rx%2Bf1T8f6tXNSNF7XzhUrvF5g%3D&response=json HTTP/1.1" 200 310
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : [{physicalnetworkid : u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6', servicelist : [u'Firewall', u'Lb', u'StaticNat'], name : u'Netscaler', state : u'Enabled', canenableindividualservice : True, id : u'c118c592-2ed8-4b8b-9120-8c294b44c891'}]
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'username': 'nsroot', 'physicalnetworkid': u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6', 'password': 'nsroot', 'url': 'https://10.223.240.174?publicinterface=1/1&privateinterface=1/2&numretries=2&lbdevicededicated=True', 'networkdevicetype': 'NetscalerVPXLoadBalancer', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'addNetscalerLoadBalancer', 'signature': '/OhxJPvlJ9DQVRlNBdmx0mhyT38=', 'response': 'json'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : addNetscalerLoadBalancer=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=nsroot&physicalnetworkid=c6a0c65d-00a6-4cd6-b12f-8324abc255a6&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&url=https%3A%2F%2F10.223.240.174%3Fpublicinterface%3D1%2F1%26privateinterface%3D1%2F2%26numretries%3D2%26lbdevicededicated%3DTrue&networkdevicetype=NetscalerVPXLoadBalancer&command=addNetscalerLoadBalancer&signature=%2FOhxJPvlJ9DQVRlNBdmx0mhyT38%3D&password=nsroot&response=json HTTP/1.1" 200 89
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: === Jobid: afe8ded4-58cc-45f7-988d-5e6f80facf9c Started ===
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'signature': 'DLxD2aKP4cH2c4UUW5XTfqYHFbg=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'afe8ded4-58cc-45f7-988d-5e6f80facf9c'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=afe8ded4-58cc-45f7-988d-5e6f80facf9c&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=queryAsyncJobResult&response=json&signature=DLxD2aKP4cH2c4UUW5XTfqYHFbg%3D HTTP/1.1" 200 329
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:45:53-0700', cmd : u'com.cloud.api.commands.AddNetscalerLoadBalancerCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 0, jobid : u'afe8ded4-58cc-45f7-988d-5e6f80facf9c', jobresultcode : 0, accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: === JobId:afe8ded4-58cc-45f7-988d-5e6f80facf9c is Still Processing, Will TimeOut in:3595 ====
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Payload: {'signature': 'DLxD2aKP4cH2c4UUW5XTfqYHFbg=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'afe8ded4-58cc-45f7-988d-5e6f80facf9c'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=afe8ded4-58cc-45f7-988d-5e6f80facf9c&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=queryAsyncJobResult&response=json&signature=DLxD2aKP4cH2c4UUW5XTfqYHFbg%3D HTTP/1.1" 200 468
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:45:53-0700', cmd : u'com.cloud.api.commands.AddNetscalerLoadBalancerCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 2, jobid : u'afe8ded4-58cc-45f7-988d-5e6f80facf9c', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Invalid interface name specified for public and private interfaces.'}, accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): ERROR: ==== __poll: Exception Occurred :Job failed: {jobprocstatus : 0, created : u'2014-08-19T07:45:53-0700', cmd : u'com.cloud.api.commands.AddNetscalerLoadBalancerCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 2, jobid : u'afe8ded4-58cc-45f7-988d-5e6f80facf9c', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Invalid interface name specified for public and private interfaces.'}, accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'} ====
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-19T07:45:53-0700', cmd : u'com.cloud.api.commands.AddNetscalerLoadBalancerCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 2, jobid : u'afe8ded4-58cc-45f7-988d-5e6f80facf9c', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Invalid interface name specified for public and private interfaces.'}, accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): DEBUG: Response : FAILED
test_project_operations (integration.component.test_persistent_networks.TestProjectAccountOperations): ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.addNetscalerLoadBalancer.addNetscalerLoadBalancerCmd object at 0x2061ab10> 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-19T07:45:53-0700', cmd : u'com.cloud.api.commands.AddNetscalerLoadBalancerCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 2, jobid : u'afe8ded4-58cc-45f7-988d-5e6f80facf9c', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Invalid interface name specified for public and private interfaces.'}, accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}\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-19T07:45:53-0700', cmd : u'com.cloud.api.commands.AddNetscalerLoadBalancerCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 2, jobid : u'afe8ded4-58cc-45f7-988d-5e6f80facf9c', jobresultcode : 530, jobresulttype : u'object', jobresult : {errorcode : 530, errortext : u'Invalid interface name specified for public and private interfaces.'}, accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ::::::::::::STARTED : TC: test_cleanup_persistent_network_1_true :::::::::::
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'username': 'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', 'domainid': u'56509a2a-2773-11e4-a7b2-52b2d980df8a', 'firstname': 'test', 'lastname': 'test', 'response': 'json', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'createAccount', 'accounttype': 0, 'signature': 'Drfn73iX/N0egCR/dgr8trx9S/I=', 'password': 'password', 'email': 'test-account@test.com'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : createAccount=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?username=test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75&domainid=56509a2a-2773-11e4-a7b2-52b2d980df8a&firstname=test&lastname=test&email=test-account%40test.com&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=createAccount&accounttype=0&signature=Drfn73iX%2FN0egCR%2Fdgr8trx9S%2FI%3D&password=password&response=json HTTP/1.1" 200 1743
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {primarystorageavailable : u'Unlimited', domain : u'ROOT', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', vpclimit : u'Unlimited', iplimit : u'Unlimited', volumelimit : u'Unlimited', memorytotal : 0, secondarystorageavailable : u'Unlimited', vmtotal : 0, cputotal : 0, vpctotal : 0, id : u'7a4f3546-b6e8-4a47-b224-b19bb482ad9e', 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_cleanup_persistent_network_1_true-7QQF75', account : u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', firstname : u'test', created : u'2014-08-19T07:45:58-0700', lastname : u'test', domain : u'ROOT', id : u'e6570e10-6953-4d48-aed4-b3a24ef38bc9', iscallerchilddomain : False, state : u'enabled', accounttype : 0, email : u'test-account@test.com', isdefault : False, accountid : u'7a4f3546-b6e8-4a47-b224-b19bb482ad9e'}], groups : [], projectavailable : u'Unlimited', isdefault : False, primarystoragelimit : u'Unlimited', secondarystoragelimit : u'Unlimited', volumeavailable : u'Unlimited', name : u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', vmavailable : u'Unlimited', ipavailable : u'Unlimited', memorylimit : u'Unlimited', cpulimit : u'Unlimited', snapshotavailable : u'Unlimited'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'domainid': u'56509a2a-2773-11e4-a7b2-52b2d980df8a', 'zoneid': u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'displaytext': 'Isolated Network', 'networkofferingid': u'aa220488-5a42-448c-89c3-365c2a084b68', 'response': 'json', 'account': u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', 'name': 'Isolated Network', 'command': 'createNetwork', 'signature': 'GFNJc5izF9xb5zRPmX4MLM1xLcA='}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : createNetwork=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?account=test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75&domainid=56509a2a-2773-11e4-a7b2-52b2d980df8a&name=Isolated+Network&networkofferingid=aa220488-5a42-448c-89c3-365c2a084b68&zoneid=4764a7cf-be9e-4dbe-81da-c232e4f74e1f&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&displaytext=Isolated+Network&signature=GFNJc5izF9xb5zRPmX4MLM1xLcA%3D&command=createNetwork&response=json HTTP/1.1" 200 2164
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {domain : u'ROOT', specifyipranges : False, related : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', displaytext : u'Isolated Network', gateway : u'10.1.1.1', canusefordeploy : True, physicalnetworkid : u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6', networkdomain : u'cs138auto.advanced', service : [{capability : [{value : u'true', name : u'DhcpAccrossMultipleSubnets', canchooseservicecapability : False}], name : u'Dhcp'}, {capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : False}, {value : u'true', name : u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat'}, {name : u'PortForwarding'}, {capability : [{value : u'true', name : u'AllowDnsSuffixModification', canchooseservicecapability : False}], name : u'Dns'}, {capability : [{value : u'tcp,udp,icmp', name : u'SupportedProtocols', canchooseservicecapability : False}, {value : u'true', name : u'MultipleIps', canchooseservicecapability : False}, {value : u'ingress, egress', name : u'SupportedTrafficDirection', canchooseservicecapability : False}, {value : u'tcp,udp,icmp, all', name : u'SupportedEgressProtocols', canchooseservicecapability : False}, {value : u'per public ip', name : u'TrafficStatistics', canchooseservicecapability : False}], name : u'Firewall'}], strechedl2subnet : False, id : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', state : u'Implemented', type : u'Isolated', broadcasturi : u'vlan://3181', zonename : u'Adv-VMware-Zone1', networkofferingavailability : u'Optional', networkofferingid : u'aa220488-5a42-448c-89c3-365c2a084b68', tags : [], displaynetwork : True, vlan : u'3181', networkofferingdisplaytext : u'Test Nw off isolated persistent-HQORWK', traffictype : u'Guest', netmask : u'255.255.255.0', cidr : u'10.1.1.0/24', restartrequired : False, broadcastdomaintype : u'Vlan', account : u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', ispersistent : True, name : u'Isolated Network', dns1 : u'8.8.8.8', networkofferingconservemode : False, acltype : u'Account', networkofferingname : u'Test Nw off isolated persistent-KEJ8UW', issystem : False}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'id': u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', 'response': 'json', 'listall': True, 'command': 'listNetworks', 'signature': 'R+I1mD7BKbCNTYEB7VLWhfXKDKc='}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : listNetworks=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&response=json&command=listNetworks&signature=R%2BI1mD7BKbCNTYEB7VLWhfXKDKc%3D&id=235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa&listall=True HTTP/1.1" 200 2177
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : [{domain : u'ROOT', specifyipranges : False, related : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', displaytext : u'Isolated Network', gateway : u'10.1.1.1', canusefordeploy : True, physicalnetworkid : u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6', networkdomain : u'cs138auto.advanced', service : [{capability : [{value : u'true', name : u'DhcpAccrossMultipleSubnets', canchooseservicecapability : False}], name : u'Dhcp'}, {capability : [{value : u'peraccount', name : u'SupportedSourceNatTypes', canchooseservicecapability : False}, {value : u'true', name : u'RedundantRouter', canchooseservicecapability : False}], name : u'SourceNat'}, {name : u'PortForwarding'}, {capability : [{value : u'true', name : u'AllowDnsSuffixModification', canchooseservicecapability : False}], name : u'Dns'}, {capability : [{value : u'tcp,udp,icmp', name : u'SupportedProtocols', canchooseservicecapability : False}, {value : u'true', name : u'MultipleIps', canchooseservicecapability : False}, {value : u'ingress, egress', name : u'SupportedTrafficDirection', canchooseservicecapability : False}, {value : u'tcp,udp,icmp, all', name : u'SupportedEgressProtocols', canchooseservicecapability : False}, {value : u'per public ip', name : u'TrafficStatistics', canchooseservicecapability : False}], name : u'Firewall'}], strechedl2subnet : False, id : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', state : u'Implemented', type : u'Isolated', broadcasturi : u'vlan://3181', zonename : u'Adv-VMware-Zone1', networkofferingavailability : u'Optional', networkofferingid : u'aa220488-5a42-448c-89c3-365c2a084b68', tags : [], displaynetwork : True, vlan : u'3181', networkofferingdisplaytext : u'Test Nw off isolated persistent-HQORWK', traffictype : u'Guest', netmask : u'255.255.255.0', cidr : u'10.1.1.0/24', restartrequired : False, broadcastdomaintype : u'Vlan', account : u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', ispersistent : True, name : u'Isolated Network', dns1 : u'8.8.8.8', networkofferingconservemode : False, acltype : u'Account', networkofferingname : u'Test Nw off isolated persistent-KEJ8UW', issystem : False}]
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Listing routers for network: Isolated Network
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'networkid': u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'listRouters', 'signature': 'IsPzJdUzi489qH6q1k+Hch0p6CY=', 'response': 'json', 'listall': True}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : listRouters=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?networkid=235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=listRouters&signature=IsPzJdUzi489qH6q1k%2BHch0p6CY%3D&response=json&listall=True HTTP/1.1" 200 2308
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : [{domain : u'ROOT', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', guestmacaddress : u'02:00:7e:9c:00:01', linklocalip : u'10.223.250.151', zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', linklocalmacaddress : u'02:00:31:c0:01:23', linklocalnetworkid : u'bfbd1398-818d-4057-9175-40dbcbc0d32c', linklocalnetmask : u'255.255.255.192', publicmacaddress : u'06:f0:c4:00:00:43', gateway : u'10.223.243.1', networkdomain : u'cs138auto.advanced', guestnetworkid : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', hostname : u'10.223.250.131', id : u'3d59ae79-546d-49c1-beb2-27fb08a5c1cf', publicip : u'10.223.243.10', state : u'Running', version : u'4.3.0', role : u'VIRTUAL_ROUTER', serviceofferingid : u'03b1d9b6-db74-4b01-b208-787c608ba448', zonename : u'Adv-VMware-Zone1', name : u'r-538-TestVM', podid : u'a71538c5-c822-4e76-9a54-22f8a1f0df94', nic : [{networkid : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', macaddress : u'02:00:7e:9c:00:01', isolationuri : u'vlan://3181', type : u'Isolated', id : u'a75c38f6-a376-4134-9c6b-a66fa49c51cd', traffictype : u'Guest', netmask : u'255.255.255.0', ipaddress : u'10.1.1.1', networkname : u'Isolated Network', broadcasturi : u'vlan://3181', isdefault : False}, {networkid : u'bfbd1398-818d-4057-9175-40dbcbc0d32c', macaddress : u'02:00:31:c0:01:23', id : u'9f14ac31-397f-4ece-ac1a-ea0835e922e2', traffictype : u'Control', netmask : u'255.255.255.192', ipaddress : u'10.223.250.151', gateway : u'10.223.250.129', isdefault : False}, {networkid : u'af1e5367-c4e9-42b5-8484-2651ad405b39', macaddress : u'06:f0:c4:00:00:43', isolationuri : u'vlan://510', broadcasturi : u'vlan://510', traffictype : u'Public', netmask : u'255.255.255.192', id : u'acff0005-7cfd-44e9-a9e1-d920ce55a9c6', ipaddress : u'10.223.243.10', gateway : u'10.223.243.1', isdefault : True}], redundantstate : u'UNKNOWN', templateid : u'56543be4-2773-11e4-a7b2-52b2d980df8a', requiresupgrade : False, publicnetmask : u'255.255.255.192', account : u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', hostid : u'd961f90a-9327-4081-9cb3-cba748f20992', isredundantrouter : False, created : u'2014-08-19T07:45:59-0700', hypervisor : u'VMware', dns1 : u'8.8.8.8', publicnetworkid : u'af1e5367-c4e9-42b5-8484-2651ad405b39', guestnetmask : u'255.255.255.0', guestipaddress : u'10.1.1.1', serviceofferingname : u'System Offering For Software Router'}]
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'listHosts', 'signature': '+DInz5cK5dcqJQ4wddlGASQZU38=', 'type': 'Routing', 'response': 'json', 'listall': True}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : listHosts=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=listHosts&signature=%2BDInz5cK5dcqJQ4wddlGASQZU38%3D&type=Routing&response=json&listall=True HTTP/1.1" 200 3391
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : [{cpuwithoverprovisioning : u'8800.0', version : u'4.5.0-SNAPSHOT', memorytotal : 17098514432, zoneid : u'f6328b7b-c087-4dd8-b332-9081fc87a42f', cpunumber : 4, managementserverid : 90928106758026, cpuallocated : u'11.36%', memoryused : 2054568, id : u'37f84908-0124-43d1-9a63-9410cfde6923', cpuused : u'0.8%', hypervisorversion : u'5.0', clusterid : u'cc15136c-b0d1-4fff-87b1-053bc85f1bd0', capabilities : u'hvm', state : u'Up', memoryallocated : 1610612736, networkkbswrite : 0, cpuspeed : 2200, cpusockets : 1, type : u'Routing', events : u'AgentConnected; AgentDisconnected; PingTimeout; StartAgentRebalance; ShutdownRequested; Remove; ManagementServerDown; HostDown; Ping', zonename : u'Adv-VMware-Zone2', podid : u'8a2d39c4-db6f-402d-88f5-01a24745bf33', clustertype : u'ExternalManaged', hahost : False, lastpinged : u'1970-01-16T14:04:00-0800', ipaddress : u'10.223.250.66', disconnected : u'2014-08-19T01:20:40-0700', name : u'10.223.250.66', networkkbsread : 0, created : u'2014-08-19T00:59:05-0700', clustername : u'10.223.52.12/SC-CLOUD-QA03-DC2/esxcluster2', hypervisor : u'VMware', islocalstorageactive : False, resourcestate : u'Enabled', podname : u'POD02'}, {cpuwithoverprovisioning : u'8796.0', version : u'4.5.0-SNAPSHOT', memorytotal : 17098514432, zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', cpunumber : 4, managementserverid : 90928106758026, cpuallocated : u'21.6%', memoryused : 2017704, id : u'd459d274-3960-4caa-bdf6-6815ccf8ed2e', cpuused : u'3.98%', hypervisorversion : u'5.0', clusterid : u'aa09aa2a-475a-4f26-90fc-c7aa0f726932', capabilities : u'hvm', state : u'Up', memoryallocated : 1879048192, networkkbswrite : 0, cpuspeed : 2199, cpusockets : 1, type : u'Routing', events : u'AgentConnected; AgentDisconnected; PingTimeout; StartAgentRebalance; ShutdownRequested; Remove; ManagementServerDown; HostDown; Ping', zonename : u'Adv-VMware-Zone1', podid : u'a71538c5-c822-4e76-9a54-22f8a1f0df94', clustertype : u'ExternalManaged', hahost : False, lastpinged : u'1970-01-16T14:04:00-0800', ipaddress : u'10.223.250.130', disconnected : u'2014-08-19T01:20:40-0700', name : u'10.223.250.130', networkkbsread : 0, created : u'2014-08-19T00:56:31-0700', clustername : u'10.223.52.12/SC-CLOUD-QA03/esxcluster', hypervisor : u'VMware', islocalstorageactive : False, resourcestate : u'Enabled', podname : u'POD01'}, {cpuwithoverprovisioning : u'8796.0', version : u'4.5.0-SNAPSHOT', memorytotal : 17098514432, zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', cpunumber : 4, managementserverid : 90928106758026, cpuallocated : u'45.48%', memoryused : 3073448, id : u'd961f90a-9327-4081-9cb3-cba748f20992', cpuused : u'18.38%', hypervisorversion : u'5.0', clusterid : u'aa09aa2a-475a-4f26-90fc-c7aa0f726932', capabilities : u'hvm', state : u'Up', memoryallocated : 2013265920, networkkbswrite : 0, cpuspeed : 2199, cpusockets : 1, type : u'Routing', events : u'AgentConnected; AgentDisconnected; PingTimeout; StartAgentRebalance; ShutdownRequested; Remove; ManagementServerDown; HostDown; Ping', zonename : u'Adv-VMware-Zone1', podid : u'a71538c5-c822-4e76-9a54-22f8a1f0df94', clustertype : u'ExternalManaged', hahost : False, lastpinged : u'1970-01-16T14:04:00-0800', ipaddress : u'10.223.250.131', disconnected : u'2014-08-19T01:20:40-0700', name : u'10.223.250.131', networkkbsread : 0, created : u'2014-08-19T00:56:28-0700', clustername : u'10.223.52.12/SC-CLOUD-QA03/esxcluster', hypervisor : u'VMware', islocalstorageactive : False, resourcestate : u'Enabled', podname : u'POD01'}]
sshClient: DEBUG: ====Trying SSH Connection: Host:10.223.49.197 User:root                                   Port:22 RetryCnt:60===
paramiko.transport: DEBUG: starting thread (client mode): 0x2064c850L
paramiko.transport: INFO: Connected (version 2.0, client OpenSSH_5.3)
paramiko.transport: DEBUG: kex algos:[u'diffie-hellman-group-exchange-sha256', u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa', u'ssh-dss'] client encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-cbc', u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-cbc@lysator.liu.se'] server encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-cbc', u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', u'rijndael-cbc@lysator.liu.se'] client mac:[u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96'] server mac:[u'hmac-md5', u'hmac-sha1', u'umac-64@openssh.com', u'hmac-sha2-256', u'hmac-sha2-512', u'hmac-ripemd160', u'hmac-ripemd160@openssh.com', u'hmac-sha1-96', u'hmac-md5-96'] client compress:[u'none', u'zlib@openssh.com'] server compress:[u'none', u'zlib@openssh.com'] client lang:[u''] server lang:[u''] kex follows?False
paramiko.transport: DEBUG: Ciphers agreed: local=aes128-ctr, remote=aes128-ctr
paramiko.transport: DEBUG: using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none
paramiko.transport: DEBUG: Switch to new keys ...
paramiko.transport: DEBUG: Adding ssh-rsa host key for 10.223.49.197: dffd39002f33ede4272e9246a0b10afc
paramiko.transport: DEBUG: Trying discovered key d73731e045a189d941928d25f66aa458 in /root/.ssh/id_rsa
paramiko.transport: DEBUG: userauth is OK
paramiko.transport: INFO: Authentication (publickey) successful!
sshClient: DEBUG: ===SSH to Host 10.223.49.197 port : 22 SUCCESSFUL===
paramiko.transport: DEBUG: [chan 1] Max packet in: 34816 bytes
paramiko.transport: DEBUG: [chan 1] Max packet out: 32768 bytes
paramiko.transport: INFO: Secsh channel 1 opened.
paramiko.transport: DEBUG: [chan 1] Sesch channel 1 request ok
paramiko.transport: DEBUG: [chan 1] EOF received (1)
sshClient: DEBUG: {Cmd: ping -c 1 10.223.250.151 via Host: 10.223.49.197} {returns: [u'PING 10.223.250.151 (10.223.250.151) 56(84) bytes of data.', u'64 bytes from 10.223.250.151: icmp_seq=1 ttl=59 time=0.791 ms', u'', u'--- 10.223.250.151 ping statistics ---', u'1 packets transmitted, 1 received, 0% packet loss, time 0ms', u'rtt min/avg/max/mdev = 0.791/0.791/0.791/0.000 ms']}
paramiko.transport: DEBUG: EOF in transport thread
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Associating public IP for network: 235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'networkid': u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', 'account': u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', 'domainid': u'56509a2a-2773-11e4-a7b2-52b2d980df8a', 'zoneid': u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'associateIpAddress', 'signature': 's3UDoiZfAjL4gIKQWzon9XdxdiU=', 'response': 'json'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : associateIpAddress=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?networkid=235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa&account=test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75&domainid=56509a2a-2773-11e4-a7b2-52b2d980df8a&zoneid=4764a7cf-be9e-4dbe-81da-c232e4f74e1f&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=associateIpAddress&signature=s3UDoiZfAjL4gIKQWzon9XdxdiU%3D&response=json HTTP/1.1" 200 127
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: === Jobid: d6485ba8-d2a8-4994-a6cb-ed04e6bb7751 Started ===
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'signature': 'A7NDdEMKXEX7Wq95SDMdi1LRTi4=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'd6485ba8-d2a8-4994-a6cb-ed04e6bb7751'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=d6485ba8-d2a8-4994-a6cb-ed04e6bb7751&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=queryAsyncJobResult&response=json&signature=A7NDdEMKXEX7Wq95SDMdi1LRTi4%3D HTTP/1.1" 200 437
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:47:42-0700', cmd : u'org.apache.cloudstack.api.command.admin.address.AssociateIPAddrCmdByAdmin', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 0, jobid : u'd6485ba8-d2a8-4994-a6cb-ed04e6bb7751', jobresultcode : 0, jobinstanceid : u'd9348394-4eee-4d94-9853-bb708a8fbcd0', jobinstancetype : u'IpAddress', accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: === JobId:d6485ba8-d2a8-4994-a6cb-ed04e6bb7751 is Still Processing, Will TimeOut in:3595 ====
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'signature': 'A7NDdEMKXEX7Wq95SDMdi1LRTi4=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'd6485ba8-d2a8-4994-a6cb-ed04e6bb7751'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=d6485ba8-d2a8-4994-a6cb-ed04e6bb7751&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=queryAsyncJobResult&response=json&signature=A7NDdEMKXEX7Wq95SDMdi1LRTi4%3D HTTP/1.1" 200 1271
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:47:42-0700', jobresult : {ipaddress : {networkid : u'af1e5367-c4e9-42b5-8484-2651ad405b39', domain : u'ROOT', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', isstaticnat : False, zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', allocated : u'2014-08-19T07:47:42-0700', id : u'd9348394-4eee-4d94-9853-bb708a8fbcd0', physicalnetworkid : u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6', fordisplay : True, issourcenat : False, vlanid : u'79a3fc45-78e6-4937-aafd-42e345ba3013', state : u'Allocating', forvirtualnetwork : True, zonename : u'Adv-VMware-Zone1', tags : [], associatednetworkname : u'Isolated Network', vlanname : u'vlan://510', associatednetworkid : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', ipaddress : u'10.223.243.11', isportable : False, account : u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', issystem : False}}, cmd : u'org.apache.cloudstack.api.command.admin.address.AssociateIPAddrCmdByAdmin', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 1, jobid : u'd6485ba8-d2a8-4994-a6cb-ed04e6bb7751', jobresultcode : 0, jobinstanceid : u'd9348394-4eee-4d94-9853-bb708a8fbcd0', jobresulttype : u'object', jobinstancetype : u'IpAddress', accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ===Jobid:d6485ba8-d2a8-4994-a6cb-ed04e6bb7751 ; StartTime:Tue Aug 19 01:55:15 2014 ; EndTime:Tue Aug 19 01:55:20 2014 ; TotalTime:-5===
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:47:42-0700', jobresult : {ipaddress : {networkid : u'af1e5367-c4e9-42b5-8484-2651ad405b39', domain : u'ROOT', domainid : u'56509a2a-2773-11e4-a7b2-52b2d980df8a', isstaticnat : False, zoneid : u'4764a7cf-be9e-4dbe-81da-c232e4f74e1f', allocated : u'2014-08-19T07:47:42-0700', id : u'd9348394-4eee-4d94-9853-bb708a8fbcd0', physicalnetworkid : u'c6a0c65d-00a6-4cd6-b12f-8324abc255a6', fordisplay : True, issourcenat : False, vlanid : u'79a3fc45-78e6-4937-aafd-42e345ba3013', state : u'Allocating', forvirtualnetwork : True, zonename : u'Adv-VMware-Zone1', tags : [], associatednetworkname : u'Isolated Network', vlanname : u'vlan://510', associatednetworkid : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', ipaddress : u'10.223.243.11', isportable : False, account : u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', issystem : False}}, cmd : u'org.apache.cloudstack.api.command.admin.address.AssociateIPAddrCmdByAdmin', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 1, jobid : u'd6485ba8-d2a8-4994-a6cb-ed04e6bb7751', jobresultcode : 0, jobinstanceid : u'd9348394-4eee-4d94-9853-bb708a8fbcd0', jobresulttype : u'object', jobinstancetype : u'IpAddress', accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'protocol': 'TCP', 'endport': 22, 'cidrlist': '0.0.0.0/0', 'ipaddressid': u'd9348394-4eee-4d94-9853-bb708a8fbcd0', 'command': 'createFirewallRule', 'signature': 'p0wwpp79AvITsOQR4DfWcbcZTpk=', 'startport': 22, 'response': 'json'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : createFirewallRule=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&protocol=TCP&endport=22&cidrlist=0.0.0.0%2F0&ipaddressid=d9348394-4eee-4d94-9853-bb708a8fbcd0&command=createFirewallRule&signature=p0wwpp79AvITsOQR4DfWcbcZTpk%3D&startport=22&response=json HTTP/1.1" 200 127
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: === Jobid: e53577fe-8d01-4e38-9790-02a52f7fa28b Started ===
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'signature': '3E4rMJNlqruKHkNtr9e0Khct/7Q=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'e53577fe-8d01-4e38-9790-02a52f7fa28b'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=e53577fe-8d01-4e38-9790-02a52f7fa28b&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=queryAsyncJobResult&response=json&signature=3E4rMJNlqruKHkNtr9e0Khct%2F7Q%3D HTTP/1.1" 200 436
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:47:47-0700', cmd : u'org.apache.cloudstack.api.command.user.firewall.CreateFirewallRuleCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 0, jobid : u'e53577fe-8d01-4e38-9790-02a52f7fa28b', jobresultcode : 0, jobinstanceid : u'26e04974-0f8e-4f81-a76f-233186d478a4', jobinstancetype : u'FirewallRule', accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: === JobId:e53577fe-8d01-4e38-9790-02a52f7fa28b is Still Processing, Will TimeOut in:3595 ====
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'signature': '3E4rMJNlqruKHkNtr9e0Khct/7Q=', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'queryAsyncJobResult', 'response': 'json', 'jobid': u'e53577fe-8d01-4e38-9790-02a52f7fa28b'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : queryAsyncJobResult=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?jobid=e53577fe-8d01-4e38-9790-02a52f7fa28b&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=queryAsyncJobResult&response=json&signature=3E4rMJNlqruKHkNtr9e0Khct%2F7Q%3D HTTP/1.1" 200 785
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:47:47-0700', jobresult : {networkid : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', startport : u'22', endport : u'22', fordisplay : True, cidrlist : u'0.0.0.0/0', tags : [], ipaddressid : u'd9348394-4eee-4d94-9853-bb708a8fbcd0', state : u'Active', protocol : u'tcp', ipaddress : u'10.223.243.11', id : u'26e04974-0f8e-4f81-a76f-233186d478a4'}, cmd : u'org.apache.cloudstack.api.command.user.firewall.CreateFirewallRuleCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 1, jobid : u'e53577fe-8d01-4e38-9790-02a52f7fa28b', jobresultcode : 0, jobinstanceid : u'26e04974-0f8e-4f81-a76f-233186d478a4', jobresulttype : u'object', jobinstancetype : u'FirewallRule', accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ===Jobid:e53577fe-8d01-4e38-9790-02a52f7fa28b ; StartTime:Tue Aug 19 01:55:20 2014 ; EndTime:Tue Aug 19 01:55:25 2014 ; TotalTime:-5===
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Response : {jobprocstatus : 0, created : u'2014-08-19T07:47:47-0700', jobresult : {networkid : u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', startport : u'22', endport : u'22', fordisplay : True, cidrlist : u'0.0.0.0/0', tags : [], ipaddressid : u'd9348394-4eee-4d94-9853-bb708a8fbcd0', state : u'Active', protocol : u'tcp', ipaddress : u'10.223.243.11', id : u'26e04974-0f8e-4f81-a76f-233186d478a4'}, cmd : u'org.apache.cloudstack.api.command.user.firewall.CreateFirewallRuleCmd', userid : u'9e75b628-2773-11e4-a7b2-52b2d980df8a', jobstatus : 1, jobid : u'e53577fe-8d01-4e38-9790-02a52f7fa28b', jobresultcode : 0, jobinstanceid : u'26e04974-0f8e-4f81-a76f-233186d478a4', jobresulttype : u'object', jobinstancetype : u'FirewallRule', accountid : u'9e75ab42-2773-11e4-a7b2-52b2d980df8a'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: Payload: {'networkid': u'235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa', 'account': u'test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75', 'domainid': u'56509a2a-2773-11e4-a7b2-52b2d980df8a', 'algorithm': 'roundrobin', 'signature': 'vu1SpS09q3cAHXjaqUSfqXeQZ5o=', 'publicipid': u'd9348394-4eee-4d94-9853-bb708a8fbcd0', 'apiKey': u'vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA', 'command': 'createLoadBalancerRule', 'privateport': 22, 'publicport': 2222, 'response': 'json', 'name': 'SSH'}
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): DEBUG: ========Sending GET Cmd : createLoadBalancerRule=======
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 10.223.49.197
requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?networkid=235cd1c4-6b4e-4c4f-8aed-76abc2b5f1fa&account=test-a-TestVPCNetworkOperations-test_cleanup_persistent_network_1_true-7QQF75&domainid=56509a2a-2773-11e4-a7b2-52b2d980df8a&name=SSH&algorithm=roundrobin&privateport=22&publicipid=d9348394-4eee-4d94-9853-bb708a8fbcd0&apiKey=vw7clWnz7nCvrzKW0XaCorzOi1Tg4-U0gv0D-tpjtBaP0CoaV5BVER0Z710FgwR6yUiReoWg56bJJpJkHIKJyA&command=createLoadBalancerRule&signature=vu1SpS09q3cAHXjaqUSfqXeQZ5o%3D&publicport=2222&response=json HTTP/1.1" 530 144
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): ERROR: Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 308, in __parseAndGetResponse\n    response_cls)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 150, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', 'CloudstackAPIException: Execute cmd: createloadbalancerrule failed, due to: errorCode: 530, errorText:Failed to create load balancer rule: SSH\n']
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 308, in __parseAndGetResponse
    response_cls)
  File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 150, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
CloudstackAPIException: Execute cmd: createloadbalancerrule failed, due to: errorCode: 530, errorText:Failed to create load balancer rule: SSH
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): ERROR: marvinRequest : CmdName: <marvin.cloudstackAPI.createLoadBalancerRule.createLoadBalancerRuleCmd object at 0x20703310> 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', 'CloudstackAPIException: Execute cmd: createloadbalancerrule failed, due to: errorCode: 530, errorText:Failed to create load balancer rule: SSH\n']
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 374, in marvinRequest
    raise self.__lastError
CloudstackAPIException: Execute cmd: createloadbalancerrule failed, due to: errorCode: 530, errorText:Failed to create load balancer rule: SSH
test_cleanup_persistent_network_1_true (integration.component.test_persistent_networks.TestRestartPersistentNetwork): CRITICAL: EXCEPTION: test_cleanup_persistent_network_1_true: ['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 "/data/Repo2/qa/cloudstack/test/integration/component/test_persistent_networks.py", line 1485, in test_cleanup_persistent_network\n    networkid=isolated_persistent_network.id, domainid=account.domainid)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py", line 2159, in create\n    return LoadBalancerRule(apiclient.createLoadBalancerRule(cmd).__dict__)\n', '  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1104, in createLoadBalancerRule\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', 'CloudstackAPIException: Execute cmd: createloadbalancerrule failed, due to: errorCode: 530, errorText:Failed to create load balancer rule: SSH\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 "/data/Repo2/qa/cloudstack/test/integration/component/test_persistent_networks.py", line 1485, in test_cleanup_persistent_network
    networkid=isolated_persistent_network.id, domainid=account.domainid)
  File "/usr/local/lib/python2.7/site-packages/marvin/lib/base.py", line 2159, in create
    return LoadBalancerRule(apiclient.createLoadBalancerRule(cmd).__dict__)
  File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1104, in createLoadBalancerRule
    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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message