Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 443681011C for ; Fri, 18 Apr 2014 08:01:26 +0000 (UTC) Received: (qmail 31085 invoked by uid 500); 18 Apr 2014 02:25:21 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 30989 invoked by uid 500); 18 Apr 2014 02:25:19 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 30886 invoked by uid 500); 18 Apr 2014 02:25:17 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 30865 invoked by uid 99); 18 Apr 2014 02:25:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 02:25:17 +0000 Date: Fri, 18 Apr 2014 02:25:17 +0000 (UTC) From: "Chandan Purushothama (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-6444) [Automation] Fix the script "test_primary_storage.py" - Wrong iscsi path format - it should be /targetIQN/LUN MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chandan Purushothama created CLOUDSTACK-6444: ------------------------------------------------ Summary: [Automation] Fix the script "test_primary_storage.py"= - Wrong iscsi path format - it should be /targetIQN/LUN=20 Key: CLOUDSTACK-6444 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6444 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the defa= ult.) Components: Automation Affects Versions: 4.4.0 Reporter: Chandan Purushothama Priority: Blocker Fix For: 4.4.0 Attachments: management-server.log.2014-04-16.gz Error Message: Execute cmd: createstoragepool failed, due to: errorCode: 530, errorText:No= ne -------------------- >> begin captured logging << -------------------- test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: ::::::::::::STARTED : TC: test_01_primary_st= orage_iscsi ::::::::::: test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: sending GET request: listZones {} test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Computed Signature by Marvin: zCinw6XM4JSpQF= 6uNjzREWyHshQ=3D requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connectio= n (1): 10.223.240.161 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3D= MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySL= QkvQ9K6Dh0Q&command=3DlistZones&signature=3DzCinw6XM4JSpQF6uNjzREWyHshQ%3D&= response=3Djson HTTP/1.1" 200 735 test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/a= pi?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW3= 6icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistZones&signature=3DzCinw6XM4JSpQF6uNjz= REWyHshQ%3D&response=3Djson Response: { "listzonesresponse" : { "count":2 ,= "zone" : [ {"id":"4fbc4494-e655-49b6-bda1-7ad8eb641732","name":"test0","dn= s1":"10.223.240.232","dns2":"10.223.240.234","internaldns1":"10.223.240.232= ","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"Ena= bled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6cf","dhcpprovider":"Vi= rtualRouter","localstorageenabled":false,"tags":[]}, {"id":"55fe83ca-4160-4= 0b2-89cb-63cadf8b90f9","name":"test1","dns1":"10.223.240.234","dns2":"10.22= 3.240.232","internaldns1":"10.223.240.232","networktype":"Basic","securityg= roupsenabled":true,"allocationstate":"Enabled","zonetoken":"3973cd3a-d2ed-3= 242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","localstorageenabled"= :false,"tags":[]} ] } } test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: sending GET request: listPods {'zoneid': u'4= fbc4494-e655-49b6-bda1-7ad8eb641732'} test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Computed Signature by Marvin: Q5eN6r9ACb1qiP= i7CI3wiB6wh0k=3D requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connectio= n (1): 10.223.240.161 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3D= MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySL= QkvQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&z= oneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.1" 200 = 314 test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/a= pi?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW3= 6icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3w= iB6wh0k%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson Re= sponse: { "listpodsresponse" : { "count":1 ,"pod" : [ {"id":"d99714b2-7164= -4d85-b5a6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bd= a1-7ad8eb641732","zonename":"test0","gateway":"10.223.251.1","netmask":"255= .255.255.192","startip":"10.223.251.4","endip":"10.223.251.14","allocations= tate":"Enabled"} ] } } test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: sending GET request: listClusters {'zoneid':= u'4fbc4494-e655-49b6-bda1-7ad8eb641732'} test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Computed Signature by Marvin: CGgAerZxK5EJBr= 34YnPiWBJHqWg=3D requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connectio= n (1): 10.223.240.161 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3D= MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySL= QkvQ9K6Dh0Q&command=3DlistClusters&signature=3DCGgAerZxK5EJBr34YnPiWBJHqWg%= 3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.1" = 200 430 test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/a= pi?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW3= 6icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistClusters&signature=3DCGgAerZxK5EJBr34= YnPiWBJHqWg%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djso= n Response: { "listclustersresponse" : { "count":1 ,"cluster" : [ {"id":"b= 9cbf572-cab9-4e5e-abbb-2c294f69b3d4","name":"test0clus0","podid":"d99714b2-= 7164-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","zoneid":"4fbc4494-e655-= 49b6-bda1-7ad8eb641732","zonename":"test0","hypervisortype":"XenServer","cl= ustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Manag= ed","cpuovercommitratio":"1.0","memoryovercommitratio":"1.0"} ] } } test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: sending GET request: listHosts {'clusterid':= u'b9cbf572-cab9-4e5e-abbb-2c294f69b3d4'} test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Computed Signature by Marvin: OLCPGM+IJ+v+d1= E46nX4f1+LVWs=3D requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connectio= n (1): 10.223.240.161 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3D= MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySL= QkvQ9K6Dh0Q&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=3Dlist= Hosts&signature=3DOLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=3Djson HT= TP/1.1" 200 2217 test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/a= pi?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW3= 6icuUoFQkySLQkvQ9K6Dh0Q&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&co= mmand=3DlistHosts&signature=3DOLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&respon= se=3Djson Response: { "listhostsresponse" : { "count":2 ,"host" : [ {"id":= "58c64192-2080-4eea-bb9b-229a9eb5e6f8","name":"marron.lab.vmops.com","state= ":"Up","disconnected":"2014-04-16T15:45:02-0700","type":"Routing","ipaddres= s":"10.223.251.3","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename= ":"test0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0po= d0","version":"4.4.0-SNAPSHOT","hypervisor":"XenServer","cpusockets":1,"cpu= number":4,"cpuspeed":2200,"cpuallocated":"11.36%","cpuwithoverprovisioning"= :"8800.0","memorytotal":15678472704,"memoryallocated":1610612736,"capabilit= ies":"xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p ,= hvm-3.0-x86_64","lastpinged":"1970-01-16T11:08:49-0800","managementserveri= d":112957957439171,"clusterid":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","clus= tername":"test0clus0","clustertype":"CloudManaged","islocalstorageactive":f= alse,"created":"2014-04-16T15:22:31-0700","events":"PingTimeout; Remove; Ag= entConnected; ManagementServerDown; HostDown; AgentDisconnected; StartAgent= Rebalance; Ping; ShutdownRequested","resourcestate":"Enabled","hypervisorve= rsion":"6.2.0","hahost":false}, {"id":"3fd1eaca-b436-484a-bfc7-db96754ddd9f= ","name":"violeta.lab.vmops.com","state":"Up","disconnected":"2014-04-16T15= :45:02-0700","type":"Routing","ipaddress":"10.223.251.2","zoneid":"4fbc4494= -e655-49b6-bda1-7ad8eb641732","zonename":"test0","podid":"d99714b2-7164-4d8= 5-b5a6-c0caf12eb57a","podname":"test0pod0","version":"4.4.0-SNAPSHOT","hype= rvisor":"XenServer","cpusockets":1,"cpunumber":4,"cpuspeed":2200,"cpualloca= ted":"0%","cpuwithoverprovisioning":"8800.0","memorytotal":15678472704,"mem= oryallocated":0,"capabilities":"xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-= x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64","lastpinged":"1970-01-16T11:08:4= 9-0800","managementserverid":112957957439171,"clusterid":"b9cbf572-cab9-4e5= e-abbb-2c294f69b3d4","clustername":"test0clus0","clustertype":"CloudManaged= ","islocalstorageactive":false,"created":"2014-04-16T15:21:55-0700","events= ":"PingTimeout; Remove; AgentConnected; ManagementServerDown; HostDown; Age= ntDisconnected; StartAgentRebalance; Ping; ShutdownRequested","resourcestat= e":"Enabled","hypervisorversion":"6.2.0","hahost":false} ] } } test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: sending GET request: createStoragePool {'nam= e': 'Primary iSCSI', 'url': 'iscsi://10.147.28.8/iqn.1992-08.com.netapp:sn.= 142268127/2535', 'podid': u'd99714b2-7164-4d85-b5a6-c0caf12eb57a', 'cluster= id': u'b9cbf572-cab9-4e5e-abbb-2c294f69b3d4', 'zoneid': u'4fbc4494-e655-49b= 6-bda1-7ad8eb641732'} test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Computed Signature by Marvin: +LuTsFn/55NzD7= /+kfLMrZ8oDvY=3D requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connectio= n (1): 10.223.240.161 requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3D= MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySL= QkvQ9K6Dh0Q&name=3DPrimary+iSCSI&url=3Discsi%3A%2F%2F10.147.28.8%2Fiqn.1992= -08.com.netapp%3Asn.142268127%2F2535&podid=3Dd99714b2-7164-4d85-b5a6-c0caf1= 2eb57a&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=3D4fbc4494-e= 655-49b6-bda1-7ad8eb641732&command=3DcreateStoragePool&signature=3D%2BLuTsF= n%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=3Djson HTTP/1.1" 530 84 test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client/a= pi?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW3= 6icuUoFQkySLQkvQ9K6Dh0Q&name=3DPrimary+iSCSI&url=3Discsi%3A%2F%2F10.147.28.= 8%2Fiqn.1992-08.com.netapp%3Asn.142268127%2F2535&podid=3Dd99714b2-7164-4d85= -b5a6-c0caf12eb57a&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid= =3D4fbc4494-e655-49b6-bda1-7ad8eb641732&command=3DcreateStoragePool&signatu= re=3D%2BLuTsFn%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=3Djson Response: { "cr= eatestoragepoolresponse" : {"uuidList":[],"errorcode":530,"cserrorcode":999= 9} } test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestP= rimaryStorageServices): CRITICAL: EXCEPTION: test_01_primary_storage_iscsi:= Traceback (most recent call last): File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run testMethod() File "/root/asf/cloudstack/test/integration/smoke/test_primary_storage.py= ", line 207, in test_01_primary_storage_iscsi podid=3Dself.pod.id File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.= py", line 1916, in create return StoragePool(apiclient.createStoragePool(cmd).__dict__) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudst= ackAPIClient.py", line 1623, in createStoragePool response =3D self.connection.marvinRequest(command, response_type=3Dres= ponse, method=3Dmethod) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.= py", line 272, in marvinRequest response =3D jsonHelper.getResultObj(response.json(), response_type) File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line = 148, in getResultObj raise cloudstackException.cloudstackAPIException(respname, errMsg) cloudstackAPIException: Execute cmd: createstoragepool failed, due to: erro= rCode: 530, errorText:None --------------------- >> end captured logging << --------------------- Stacktrace File "/usr/local/lib/python2.7/unittest/case.py", line 327, in run testMethod() File "/root/asf/cloudstack/test/integration/smoke/test_primary_storage.py= ", line 207, in test_01_primary_storage_iscsi podid=3Dself.pod.id File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.= py", line 1916, in create return StoragePool(apiclient.createStoragePool(cmd).__dict__) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudst= ackAPIClient.py", line 1623, in createStoragePool response =3D self.connection.marvinRequest(command, response_type=3Dres= ponse, method=3Dmethod) File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.= py", line 272, in marvinRequest response =3D jsonHelper.getResultObj(response.json(), response_type) File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line = 148, in getResultObj raise cloudstackException.cloudstackAPIException(respname, errMsg) 'Execute cmd: createstoragepool failed, due to: errorCode: 530, errorText:N= one\n-------------------- >> begin captured logging << --------------------= \ntest_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: ::::::::::::STARTED : TC: test_01_primary_= storage_iscsi :::::::::::\ntest_01_primary_storage_iscsi (integration.smoke= .test_primary_storage.TestPrimaryStorageServices): DEBUG: sending GET reque= st: listZones {}\ntest_01_primary_storage_iscsi (integration.smoke.test_pri= mary_storage.TestPrimaryStorageServices): DEBUG: Computed Signature by Marv= in: zCinw6XM4JSpQF6uNjzREWyHshQ=3D\nrequests.packages.urllib3.connectionpoo= l: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.package= s.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCM= gv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&comm= and=3DlistZones&signature=3DzCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=3Djson = HTTP/1.1" 200 735\ntest_01_primary_storage_iscsi (integration.smoke.test_pr= imary_storage.TestPrimaryStorageServices): DEBUG: Request: http://10.223.24= 0.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL= 5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistZones&signature=3D= zCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=3Djson Response: { "listzonesrespon= se" : { "count":2 ,"zone" : [ {"id":"4fbc4494-e655-49b6-bda1-7ad8eb641732"= ,"name":"test0","dns1":"10.223.240.232","dns2":"10.223.240.234","internaldn= s1":"10.223.240.232","networktype":"Basic","securitygroupsenabled":true,"al= locationstate":"Enabled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6cf"= ,"dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]}, {"i= d":"55fe83ca-4160-40b2-89cb-63cadf8b90f9","name":"test1","dns1":"10.223.240= .234","dns2":"10.223.240.232","internaldns1":"10.223.240.232","networktype"= :"Basic","securitygroupsenabled":true,"allocationstate":"Enabled","zonetoke= n":"3973cd3a-d2ed-3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","l= ocalstorageenabled":false,"tags":[]} ] } }\ntest_01_primary_storage_iscsi (= integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: = sending GET request: listPods {\'zoneid\': u\'4fbc4494-e655-49b6-bda1-7ad8e= b641732\'}\ntest_01_primary_storage_iscsi (integration.smoke.test_primary_s= torage.TestPrimaryStorageServices): DEBUG: Computed Signature by Marvin: Q5= eN6r9ACb1qiPi7CI3wiB6wh0k=3D\nrequests.packages.urllib3.connectionpool: INF= O: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urll= ib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itB= uPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3D= listPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=3D4fbc4494-e655-= 49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.1" 200 314\ntest_01_primary_s= torage_iscsi (integration.smoke.test_primary_storage.TestPrimaryStorageServ= ices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSB= TYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9= K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid= =3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson Response: { "listpo= dsresponse" : { "count":1 ,"pod" : [ {"id":"d99714b2-7164-4d85-b5a6-c0caf1= 2eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732",= "zonename":"test0","gateway":"10.223.251.1","netmask":"255.255.255.192","st= artip":"10.223.251.4","endip":"10.223.251.14","allocationstate":"Enabled"} = ] } }\ntest_01_primary_storage_iscsi (integration.smoke.test_primary_storag= e.TestPrimaryStorageServices): DEBUG: sending GET request: listClusters {\'= zoneid\': u\'4fbc4494-e655-49b6-bda1-7ad8eb641732\'}\ntest_01_primary_stora= ge_iscsi (integration.smoke.test_primary_storage.TestPrimaryStorageServices= ): DEBUG: Computed Signature by Marvin: CGgAerZxK5EJBr34YnPiWBJHqWg=3D\nreq= uests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (= 1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET /= client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3= TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistClusters&signature=3DCGgAerZx= K5EJBr34YnPiWBJHqWg%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&respon= se=3Djson HTTP/1.1" 200 430\ntest_01_primary_storage_iscsi (integration.smo= ke.test_primary_storage.TestPrimaryStorageServices): DEBUG: Request: http:/= /10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TE= JRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistClusters= &signature=3DCGgAerZxK5EJBr34YnPiWBJHqWg%3D&zoneid=3D4fbc4494-e655-49b6-bda= 1-7ad8eb641732&response=3Djson Response: { "listclustersresponse" : { "coun= t":1 ,"cluster" : [ {"id":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","name":"t= est0clus0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0p= od0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","hy= pervisortype":"XenServer","clustertype":"CloudManaged","allocationstate":"E= nabled","managedstate":"Managed","cpuovercommitratio":"1.0","memoryovercomm= itratio":"1.0"} ] } }\ntest_01_primary_storage_iscsi (integration.smoke.tes= t_primary_storage.TestPrimaryStorageServices): DEBUG: sending GET request: = listHosts {\'clusterid\': u\'b9cbf572-cab9-4e5e-abbb-2c294f69b3d4\'}\ntest_= 01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestPrimar= yStorageServices): DEBUG: Computed Signature by Marvin: OLCPGM+IJ+v+d1E46nX= 4f1+LVWs=3D\nrequests.packages.urllib3.connectionpool: INFO: Starting new H= TTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connectionpoo= l: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzC= OZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&clusterid=3Db9cbf572-cab9-4= e5e-abbb-2c294f69b3d4&command=3DlistHosts&signature=3DOLCPGM%2BIJ%2Bv%2Bd1E= 46nX4f1%2BLVWs%3D&response=3Djson HTTP/1.1" 200 2217\ntest_01_primary_stora= ge_iscsi (integration.smoke.test_primary_storage.TestPrimaryStorageServices= ): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnk= Nvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh= 0Q&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=3DlistHosts&sig= nature=3DOLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=3Djson Response: {= "listhostsresponse" : { "count":2 ,"host" : [ {"id":"58c64192-2080-4eea-b= b9b-229a9eb5e6f8","name":"marron.lab.vmops.com","state":"Up","disconnected"= :"2014-04-16T15:45:02-0700","type":"Routing","ipaddress":"10.223.251.3","zo= neid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","podid":"d9= 9714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","version":"4.4.0-= SNAPSHOT","hypervisor":"XenServer","cpusockets":1,"cpunumber":4,"cpuspeed":= 2200,"cpuallocated":"11.36%","cpuwithoverprovisioning":"8800.0","memorytota= l":15678472704,"memoryallocated":1610612736,"capabilities":"xen-3.0-x86_64 = , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64","las= tpinged":"1970-01-16T11:08:49-0800","managementserverid":112957957439171,"c= lusterid":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","clustername":"test0clus0"= ,"clustertype":"CloudManaged","islocalstorageactive":false,"created":"2014-= 04-16T15:22:31-0700","events":"PingTimeout; Remove; AgentConnected; Managem= entServerDown; HostDown; AgentDisconnected; StartAgentRebalance; Ping; Shut= downRequested","resourcestate":"Enabled","hypervisorversion":"6.2.0","hahos= t":false}, {"id":"3fd1eaca-b436-484a-bfc7-db96754ddd9f","name":"violeta.lab= .vmops.com","state":"Up","disconnected":"2014-04-16T15:45:02-0700","type":"= Routing","ipaddress":"10.223.251.2","zoneid":"4fbc4494-e655-49b6-bda1-7ad8e= b641732","zonename":"test0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57a",= "podname":"test0pod0","version":"4.4.0-SNAPSHOT","hypervisor":"XenServer","= cpusockets":1,"cpunumber":4,"cpuspeed":2200,"cpuallocated":"0%","cpuwithove= rprovisioning":"8800.0","memorytotal":15678472704,"memoryallocated":0,"capa= bilities":"xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_= 32p , hvm-3.0-x86_64","lastpinged":"1970-01-16T11:08:49-0800","managementse= rverid":112957957439171,"clusterid":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4",= "clustername":"test0clus0","clustertype":"CloudManaged","islocalstorageacti= ve":false,"created":"2014-04-16T15:21:55-0700","events":"PingTimeout; Remov= e; AgentConnected; ManagementServerDown; HostDown; AgentDisconnected; Start= AgentRebalance; Ping; ShutdownRequested","resourcestate":"Enabled","hypervi= sorversion":"6.2.0","hahost":false} ] } }\ntest_01_primary_storage_iscsi (i= ntegration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: s= ending GET request: createStoragePool {\'name\': \'Primary iSCSI\', \'url\'= : \'iscsi://10.147.28.8/iqn.1992-08.com.netapp:sn.142268127/2535\', \'podid= \': u\'d99714b2-7164-4d85-b5a6-c0caf12eb57a\', \'clusterid\': u\'b9cbf572-c= ab9-4e5e-abbb-2c294f69b3d4\', \'zoneid\': u\'4fbc4494-e655-49b6-bda1-7ad8eb= 641732\'}\ntest_01_primary_storage_iscsi (integration.smoke.test_primary_st= orage.TestPrimaryStorageServices): DEBUG: Computed Signature by Marvin: +Lu= TsFn/55NzD7/+kfLMrZ8oDvY=3D\nrequests.packages.urllib3.connectionpool: INFO= : Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.urlli= b3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBu= PnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=3DPrim= ary+iSCSI&url=3Discsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3Asn.142= 268127%2F2535&podid=3Dd99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid=3Db9cb= f572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641= 732&command=3DcreateStoragePool&signature=3D%2BLuTsFn%2F55NzD7%2F%2BkfLMrZ8= oDvY%3D&response=3Djson HTTP/1.1" 530 84\ntest_01_primary_storage_iscsi (in= tegration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: Re= quest: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7it= BuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=3DPr= imary+iSCSI&url=3Discsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3Asn.1= 42268127%2F2535&podid=3Dd99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid=3Db9= cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb6= 41732&command=3DcreateStoragePool&signature=3D%2BLuTsFn%2F55NzD7%2F%2BkfLMr= Z8oDvY%3D&response=3Djson Response: { "createstoragepoolresponse" : {"uuidL= ist":[],"errorcode":530,"cserrorcode":9999} }\ntest_01_primary_storage_iscs= i (integration.smoke.test_primary_storage.TestPrimaryStorageServices): CRIT= ICAL: EXCEPTION: test_01_primary_storage_iscsi: Traceback (most recent call= last):\n File "/usr/local/lib/python2.7/unittest/case.py", line 327, in r= un\n testMethod()\n File "/root/asf/cloudstack/test/integration/smoke/t= est_primary_storage.py", line 207, in test_01_primary_storage_iscsi\n po= did=3Dself.pod.id\n File "/usr/local/lib/python2.7/site-packages/marvin/in= tegration/lib/base.py", line 1916, in create\n return StoragePool(apicli= ent.createStoragePool(cmd).__dict__)\n File "/usr/local/lib/python2.7/site= -packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1623, in creat= eStoragePool\n response =3D self.connection.marvinRequest(command, respo= nse_type=3Dresponse, method=3Dmethod)\n File "/usr/local/lib/python2.7/sit= e-packages/marvin/cloudstackConnection.py", line 272, in marvinRequest\n = response =3D jsonHelper.getResultObj(response.json(), response_type)\n Fi= le "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148,= in getResultObj\n raise cloudstackException.cloudstackAPIException(resp= name, errMsg)\ncloudstackAPIException: Execute cmd: createstoragepool faile= d, due to: errorCode: 530, errorText:None\n\n--------------------- >> end c= aptured logging << ---------------------' =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Management Server Error: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 2014-04-16 15:46:30,632 DEBUG [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCy= cleImpl] (catalina-exec-3:ctx-ca4e8d46 ctx-884f7e56 ctx-0afd5e6e) creating = pool null on host 1 2014-04-16 15:46:30,670 DEBUG [c.c.a.t.Request] (catalina-exec-3:ctx-ca4e8d= 46 ctx-884f7e56 ctx-0afd5e6e) Seq 1-5284411212765855753: Sending { Cmd , M= gmtId: 112957957439171, via: 1(violeta.lab.vmops.com), Ver: v1, Flags: 1000= 11, [{"com.cloud.agent.api.CreateStoragePoolCommand":{"add":true,"pool":{"i= d":3,"uuid":"6c59c2e5-458a-33d3-84b8-b16e69fcbee4","host":"10.147.28.8","pa= th":"iqn.1992-08.com.netapp:sn.142268127/2535","port":3260,"type":"IscsiLUN= "},"localPath":"/mnt//6c59c2e5-458a-33d3-84b8-b16e69fcbee4","wait":0}}] } 2014-04-16 15:46:30,674 DEBUG [c.c.a.t.Request] (catalina-exec-3:ctx-ca4e8d= 46 ctx-884f7e56 ctx-0afd5e6e) Seq 1-5284411212765855753: Executing: { Cmd = , MgmtId: 112957957439171, via: 1(violeta.lab.vmops.com), Ver: v1, Flags: 1= 00011, [{"com.cloud.agent.api.CreateStoragePoolCommand":{"add":true,"pool":= {"id":3,"uuid":"6c59c2e5-458a-33d3-84b8-b16e69fcbee4","host":"10.147.28.8",= "path":"iqn.1992-08.com.netapp:sn.142268127/2535","port":3260,"type":"Iscsi= LUN"},"localPath":"/mnt//6c59c2e5-458a-33d3-84b8-b16e69fcbee4","wait":0}}] = } 2014-04-16 15:46:30,675 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2:c= tx-b892946d) Seq 1-5284411212765855753: Executing request 2014-04-16 15:46:30,782 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl] (RemoteH= ostEndPoint-1:ctx-1494d077) Performing image store createTemplate async cal= lback 2014-04-16 15:46:30,835 DEBUG [o.a.c.i.IAMApiServiceImpl] (catalina-exec-24= :ctx-6a748065 ctx-bd6d6566 ctx-c8459230) MessageBus message: new Account Ad= ded: 3, adding it to groupId :1 2014-04-16 15:46:30,837 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-2= :ctx-b892946d) Wrong iscsi path iqn.1992-08.com.netapp:sn.142268127/2535 it= should be /targetIQN/LUN 2014-04-16 15:46:30,837 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-2= :ctx-b892946d) Unable to create Iscsi SR {} due to Wrong iscsi path iqn.1= 992-08.com.netapp:sn.142268127/2535 it should be /targetIQN/LUN com.cloud.utils.exception.CloudRuntimeException: Wrong iscsi path iqn.1992-= 08.com.netapp:sn.142268127/2535 it should be /targetIQN/LUN at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getIscsiSR(= CitrixResourceBase.java:5993) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(Cit= rixResourceBase.java:5120) at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequ= est(CitrixResourceBase.java:470) at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeReq= uest(XenServer56Resource.java:60) at com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRe= quest(XenServer610Resource.java:92) at com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.execut= eRequest(XenServer620SP1Resource.java:64) at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(Dir= ectAgentAttache.java:216) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.r= un(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext= $1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext= .callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext= .runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run= (ManagedContextRunnable.java:46) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.ja= va:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFuture= Task.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec= utor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.java:615) at java.lang.Thread.run(Thread.java:744) 2014-04-16 15:46:30,849 WARN [c.c.h.x.r.CitrixResourceBase] (DirectAgent-2= :ctx-b892946d) Catch Exception com.cloud.utils.exception.CloudRuntimeExcept= ion, create StoragePool failed due to com.cloud.utils.exception.CloudRuntim= eException: Unable to create Iscsi SR {} due to Wrong iscsi path iqn.1992= -08.com.netapp:sn.142268127/2535 it should be /targetIQN/LUN on host:d47cd3= 6f-3cea-4ba4-9499-3066cd6ff9e4 pool: 10.147.28.8iqn.1992-08.com.netapp:sn.1= 42268127/2535 -- This message was sent by Atlassian JIRA (v6.2#6252)