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 BE76110122 for ; Fri, 18 Apr 2014 08:01:30 +0000 (UTC) Received: (qmail 31319 invoked by uid 500); 18 Apr 2014 02:25:24 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 31159 invoked by uid 500); 18 Apr 2014 02:25:22 -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 30975 invoked by uid 500); 18 Apr 2014 02:25:19 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 30869 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] [Updated] (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 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6444?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chandan Purushothama updated CLOUDSTACK-6444: --------------------------------------------- Attachment: management-server.log.2014-04-16.gz > [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-644= 4 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > 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:= None > -------------------- >> begin captured logging << -------------------- > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: ::::::::::::STARTED : TC: test_01_primary_= storage_iscsi ::::::::::: > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: sending GET request: listZones {} > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Computed Signature by Marvin: zCinw6XM4JSp= QF6uNjzREWyHshQ=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&command=3DlistZones&signature=3DzCinw6XM4JSpQF6uNjzREWyHshQ%= 3D&response=3Djson HTTP/1.1" 200 735 > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client= /api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3I= W36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistZones&signature=3DzCinw6XM4JSpQF6uN= jzREWyHshQ%3D&response=3Djson Response: { "listzonesresponse" : { "count":2= ,"zone" : [ {"id":"4fbc4494-e655-49b6-bda1-7ad8eb641732","name":"test0","= dns1":"10.223.240.232","dns2":"10.223.240.234","internaldns1":"10.223.240.2= 32","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"E= nabled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6cf","dhcpprovider":"= VirtualRouter","localstorageenabled":false,"tags":[]}, {"id":"55fe83ca-4160= -40b2-89cb-63cadf8b90f9","name":"test1","dns1":"10.223.240.234","dns2":"10.= 223.240.232","internaldns1":"10.223.240.232","networktype":"Basic","securit= ygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"3973cd3a-d2ed= -3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","localstorageenable= d":false,"tags":[]} ] } } > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: sending GET request: listPods {'zoneid': u= '4fbc4494-e655-49b6-bda1-7ad8eb641732'} > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Computed Signature by Marvin: Q5eN6r9ACb1q= iPi7CI3wiB6wh0k=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3= D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.1" 2= 00 314 > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client= /api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3I= W36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI= 3wiB6wh0k%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson = Response: { "listpodsresponse" : { "count":1 ,"pod" : [ {"id":"d99714b2-71= 64-4d85-b5a6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-= bda1-7ad8eb641732","zonename":"test0","gateway":"10.223.251.1","netmask":"2= 55.255.255.192","startip":"10.223.251.4","endip":"10.223.251.14","allocatio= nstate":"Enabled"} ] } } > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: sending GET request: listClusters {'zoneid= ': u'4fbc4494-e655-49b6-bda1-7ad8eb641732'} > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Computed Signature by Marvin: CGgAerZxK5EJ= Br34YnPiWBJHqWg=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&command=3DlistClusters&signature=3DCGgAerZxK5EJBr34YnPiWBJHq= Wg%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.= 1" 200 430 > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client= /api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3I= W36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistClusters&signature=3DCGgAerZxK5EJBr= 34YnPiWBJHqWg%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Dj= son Response: { "listclustersresponse" : { "count":1 ,"cluster" : [ {"id":= "b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","name":"test0clus0","podid":"d99714b= 2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","zoneid":"4fbc4494-e65= 5-49b6-bda1-7ad8eb641732","zonename":"test0","hypervisortype":"XenServer","= clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Man= aged","cpuovercommitratio":"1.0","memoryovercommitratio":"1.0"} ] } } > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: sending GET request: listHosts {'clusterid= ': u'b9cbf572-cab9-4e5e-abbb-2c294f69b3d4'} > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Computed Signature by Marvin: OLCPGM+IJ+v+= d1E46nX4f1+LVWs=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=3Dl= istHosts&signature=3DOLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=3Djson= HTTP/1.1" 200 2217 > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client= /api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3I= W36icuUoFQkySLQkvQ9K6Dh0Q&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&= command=3DlistHosts&signature=3DOLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&resp= onse=3Djson Response: { "listhostsresponse" : { "count":2 ,"host" : [ {"id= ":"58c64192-2080-4eea-bb9b-229a9eb5e6f8","name":"marron.lab.vmops.com","sta= te":"Up","disconnected":"2014-04-16T15:45:02-0700","type":"Routing","ipaddr= ess":"10.223.251.3","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonena= me":"test0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0= pod0","version":"4.4.0-SNAPSHOT","hypervisor":"XenServer","cpusockets":1,"c= punumber":4,"cpuspeed":2200,"cpuallocated":"11.36%","cpuwithoverprovisionin= g":"8800.0","memorytotal":15678472704,"memoryallocated":1610612736,"capabil= ities":"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","managementserve= rid":112957957439171,"clusterid":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","cl= ustername":"test0clus0","clustertype":"CloudManaged","islocalstorageactive"= :false,"created":"2014-04-16T15:22:31-0700","events":"PingTimeout; Remove; = AgentConnected; ManagementServerDown; HostDown; AgentDisconnected; StartAge= ntRebalance; Ping; ShutdownRequested","resourcestate":"Enabled","hypervisor= version":"6.2.0","hahost":false}, {"id":"3fd1eaca-b436-484a-bfc7-db96754ddd= 9f","name":"violeta.lab.vmops.com","state":"Up","disconnected":"2014-04-16T= 15:45:02-0700","type":"Routing","ipaddress":"10.223.251.2","zoneid":"4fbc44= 94-e655-49b6-bda1-7ad8eb641732","zonename":"test0","podid":"d99714b2-7164-4= d85-b5a6-c0caf12eb57a","podname":"test0pod0","version":"4.4.0-SNAPSHOT","hy= pervisor":"XenServer","cpusockets":1,"cpunumber":4,"cpuspeed":2200,"cpuallo= cated":"0%","cpuwithoverprovisioning":"8800.0","memorytotal":15678472704,"m= emoryallocated":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= :49-0800","managementserverid":112957957439171,"clusterid":"b9cbf572-cab9-4= e5e-abbb-2c294f69b3d4","clustername":"test0clus0","clustertype":"CloudManag= ed","islocalstorageactive":false,"created":"2014-04-16T15:21:55-0700","even= ts":"PingTimeout; Remove; AgentConnected; ManagementServerDown; HostDown; A= gentDisconnected; StartAgentRebalance; Ping; ShutdownRequested","resourcest= ate":"Enabled","hypervisorversion":"6.2.0","hahost":false} ] } } > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: sending GET request: createStoragePool {'n= ame': 'Primary iSCSI', 'url': 'iscsi://10.147.28.8/iqn.1992-08.com.netapp:s= n.142268127/2535', 'podid': u'd99714b2-7164-4d85-b5a6-c0caf12eb57a', 'clust= erid': u'b9cbf572-cab9-4e5e-abbb-2c294f69b3d4', 'zoneid': u'4fbc4494-e655-4= 9b6-bda1-7ad8eb641732'} > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Computed Signature by Marvin: +LuTsFn/55Nz= D7/+kfLMrZ8oDvY=3D > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connect= ion (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey= =3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQk= ySLQkvQ9K6Dh0Q&name=3DPrimary+iSCSI&url=3Discsi%3A%2F%2F10.147.28.8%2Fiqn.1= 992-08.com.netapp%3Asn.142268127%2F2535&podid=3Dd99714b2-7164-4d85-b5a6-c0c= af12eb57a&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=3D4fbc449= 4-e655-49b6-bda1-7ad8eb641732&command=3DcreateStoragePool&signature=3D%2BLu= TsFn%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=3Djson HTTP/1.1" 530 84 > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): DEBUG: Request: http://10.223.240.161:8080/client= /api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3I= W36icuUoFQkySLQkvQ9K6Dh0Q&name=3DPrimary+iSCSI&url=3Discsi%3A%2F%2F10.147.2= 8.8%2Fiqn.1992-08.com.netapp%3Asn.142268127%2F2535&podid=3Dd99714b2-7164-4d= 85-b5a6-c0caf12eb57a&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zonei= d=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&command=3DcreateStoragePool&signat= ure=3D%2BLuTsFn%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=3Djson Response: { "c= reatestoragepoolresponse" : {"uuidList":[],"errorcode":530,"cserrorcode":99= 99} } > test_01_primary_storage_iscsi (integration.smoke.test_primary_storage.Tes= tPrimaryStorageServices): CRITICAL: EXCEPTION: test_01_primary_storage_iscs= i: 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/bas= e.py", line 1916, in create > return StoragePool(apiclient.createStoragePool(cmd).__dict__) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloud= stackAPIClient.py", line 1623, in createStoragePool > response =3D self.connection.marvinRequest(command, response_type=3Dr= esponse, method=3Dmethod) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnectio= n.py", line 272, in marvinRequest > response =3D jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", lin= e 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > cloudstackAPIException: Execute cmd: createstoragepool failed, due to: er= rorCode: 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/bas= e.py", line 1916, in create > return StoragePool(apiclient.createStoragePool(cmd).__dict__) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloud= stackAPIClient.py", line 1623, in createStoragePool > response =3D self.connection.marvinRequest(command, response_type=3Dr= esponse, method=3Dmethod) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnectio= n.py", line 272, in marvinRequest > response =3D jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", lin= e 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > 'Execute cmd: createstoragepool failed, due to: errorCode: 530, errorText= :None\n-------------------- >> begin captured logging << ------------------= --\ntest_01_primary_storage_iscsi (integration.smoke.test_primary_storage.T= estPrimaryStorageServices): DEBUG: ::::::::::::STARTED : TC: test_01_primar= y_storage_iscsi :::::::::::\ntest_01_primary_storage_iscsi (integration.smo= ke.test_primary_storage.TestPrimaryStorageServices): DEBUG: sending GET req= uest: listZones {}\ntest_01_primary_storage_iscsi (integration.smoke.test_p= rimary_storage.TestPrimaryStorageServices): DEBUG: Computed Signature by Ma= rvin: zCinw6XM4JSpQF6uNjzREWyHshQ=3D\nrequests.packages.urllib3.connectionp= ool: INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packa= ges.urllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4P= CMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&co= mmand=3DlistZones&signature=3DzCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=3Djso= n HTTP/1.1" 200 735\ntest_01_primary_storage_iscsi (integration.smoke.test_= primary_storage.TestPrimaryStorageServices): DEBUG: Request: http://10.223.= 240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZX= PL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistZones&signature= =3DzCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=3Djson Response: { "listzonesres= ponse" : { "count":2 ,"zone" : [ {"id":"4fbc4494-e655-49b6-bda1-7ad8eb6417= 32","name":"test0","dns1":"10.223.240.232","dns2":"10.223.240.234","interna= ldns1":"10.223.240.232","networktype":"Basic","securitygroupsenabled":true,= "allocationstate":"Enabled","zonetoken":"f0aed2ee-a79d-3608-bae5-09972653a6= cf","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]}, = {"id":"55fe83ca-4160-40b2-89cb-63cadf8b90f9","name":"test1","dns1":"10.223.= 240.234","dns2":"10.223.240.232","internaldns1":"10.223.240.232","networkty= pe":"Basic","securitygroupsenabled":true,"allocationstate":"Enabled","zonet= oken":"3973cd3a-d2ed-3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter"= ,"localstorageenabled":false,"tags":[]} ] } }\ntest_01_primary_storage_iscs= i (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBU= G: sending GET request: listPods {\'zoneid\': u\'4fbc4494-e655-49b6-bda1-7a= d8eb641732\'}\ntest_01_primary_storage_iscsi (integration.smoke.test_primar= y_storage.TestPrimaryStorageServices): DEBUG: Computed Signature by Marvin:= Q5eN6r9ACb1qiPi7CI3wiB6wh0k=3D\nrequests.packages.urllib3.connectionpool: = INFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.u= rllib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7= itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command= =3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=3D4fbc4494-e6= 55-49b6-bda1-7ad8eb641732&response=3Djson HTTP/1.1" 200 314\ntest_01_primar= y_storage_iscsi (integration.smoke.test_primary_storage.TestPrimaryStorageS= ervices): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=3DMN= QSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQk= vQ9K6Dh0Q&command=3DlistPods&signature=3DQ5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zon= eid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&response=3Djson Response: { "lis= tpodsresponse" : { "count":1 ,"pod" : [ {"id":"d99714b2-7164-4d85-b5a6-c0c= af12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb64173= 2","zonename":"test0","gateway":"10.223.251.1","netmask":"255.255.255.192",= "startip":"10.223.251.4","endip":"10.223.251.14","allocationstate":"Enabled= "} ] } }\ntest_01_primary_storage_iscsi (integration.smoke.test_primary_sto= rage.TestPrimaryStorageServices): DEBUG: sending GET request: listClusters = {\'zoneid\': u\'4fbc4494-e655-49b6-bda1-7ad8eb641732\'}\ntest_01_primary_st= orage_iscsi (integration.smoke.test_primary_storage.TestPrimaryStorageServi= ces): DEBUG: Computed Signature by Marvin: CGgAerZxK5EJBr34YnPiWBJHqWg=3D\n= requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connectio= n (1): 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GE= T /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz= 0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistClusters&signature=3DCGgAe= rZxK5EJBr34YnPiWBJHqWg%3D&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb641732&res= ponse=3Djson HTTP/1.1" 200 430\ntest_01_primary_storage_iscsi (integration.= smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: Request: htt= p://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT= _TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=3DlistClust= ers&signature=3DCGgAerZxK5EJBr34YnPiWBJHqWg%3D&zoneid=3D4fbc4494-e655-49b6-= bda1-7ad8eb641732&response=3Djson Response: { "listclustersresponse" : { "c= ount":1 ,"cluster" : [ {"id":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","name"= :"test0clus0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"tes= t0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0",= "hypervisortype":"XenServer","clustertype":"CloudManaged","allocationstate"= :"Enabled","managedstate":"Managed","cpuovercommitratio":"1.0","memoryoverc= ommitratio":"1.0"} ] } }\ntest_01_primary_storage_iscsi (integration.smoke.= test_primary_storage.TestPrimaryStorageServices): DEBUG: sending GET reques= t: listHosts {\'clusterid\': u\'b9cbf572-cab9-4e5e-abbb-2c294f69b3d4\'}\nte= st_01_primary_storage_iscsi (integration.smoke.test_primary_storage.TestPri= maryStorageServices): DEBUG: Computed Signature by Marvin: OLCPGM+IJ+v+d1E4= 6nX4f1+LVWs=3D\nrequests.packages.urllib3.connectionpool: INFO: Starting ne= w HTTP connection (1): 10.223.240.161\nrequests.packages.urllib3.connection= pool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJR= zzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&clusterid=3Db9cbf572-cab= 9-4e5e-abbb-2c294f69b3d4&command=3DlistHosts&signature=3DOLCPGM%2BIJ%2Bv%2B= d1E46nX4f1%2BLVWs%3D&response=3Djson HTTP/1.1" 200 2217\ntest_01_primary_st= orage_iscsi (integration.smoke.test_primary_storage.TestPrimaryStorageServi= ces): DEBUG: Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBT= YnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K= 6Dh0Q&clusterid=3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=3DlistHosts&= signature=3DOLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=3Djson Response= : { "listhostsresponse" : { "count":2 ,"host" : [ {"id":"58c64192-2080-4ee= a-bb9b-229a9eb5e6f8","name":"marron.lab.vmops.com","state":"Up","disconnect= ed":"2014-04-16T15:45:02-0700","type":"Routing","ipaddress":"10.223.251.3",= "zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","podid":= "d99714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","version":"4.4= .0-SNAPSHOT","hypervisor":"XenServer","cpusockets":1,"cpunumber":4,"cpuspee= d":2200,"cpuallocated":"11.36%","cpuwithoverprovisioning":"8800.0","memoryt= otal":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","= lastpinged":"1970-01-16T11:08:49-0800","managementserverid":112957957439171= ,"clusterid":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","clustername":"test0clu= s0","clustertype":"CloudManaged","islocalstorageactive":false,"created":"20= 14-04-16T15:22:31-0700","events":"PingTimeout; Remove; AgentConnected; Mana= gementServerDown; HostDown; AgentDisconnected; StartAgentRebalance; Ping; S= hutdownRequested","resourcestate":"Enabled","hypervisorversion":"6.2.0","ha= host":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-7a= d8eb641732","zonename":"test0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57= a","podname":"test0pod0","version":"4.4.0-SNAPSHOT","hypervisor":"XenServer= ","cpusockets":1,"cpunumber":4,"cpuspeed":2200,"cpuallocated":"0%","cpuwith= overprovisioning":"8800.0","memorytotal":15678472704,"memoryallocated":0,"c= apabilities":"xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x= 86_32p , hvm-3.0-x86_64","lastpinged":"1970-01-16T11:08:49-0800","managemen= tserverid":112957957439171,"clusterid":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d= 4","clustername":"test0clus0","clustertype":"CloudManaged","islocalstoragea= ctive":false,"created":"2014-04-16T15:21:55-0700","events":"PingTimeout; Re= move; AgentConnected; ManagementServerDown; HostDown; AgentDisconnected; St= artAgentRebalance; Ping; ShutdownRequested","resourcestate":"Enabled","hype= rvisorversion":"6.2.0","hahost":false} ] } }\ntest_01_primary_storage_iscsi= (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG= : sending GET request: createStoragePool {\'name\': \'Primary iSCSI\', \'ur= l\': \'iscsi://10.147.28.8/iqn.1992-08.com.netapp:sn.142268127/2535\', \'po= did\': u\'d99714b2-7164-4d85-b5a6-c0caf12eb57a\', \'clusterid\': u\'b9cbf57= 2-cab9-4e5e-abbb-2c294f69b3d4\', \'zoneid\': u\'4fbc4494-e655-49b6-bda1-7ad= 8eb641732\'}\ntest_01_primary_storage_iscsi (integration.smoke.test_primary= _storage.TestPrimaryStorageServices): DEBUG: Computed Signature by Marvin: = +LuTsFn/55NzD7/+kfLMrZ8oDvY=3D\nrequests.packages.urllib3.connectionpool: I= NFO: Starting new HTTP connection (1): 10.223.240.161\nrequests.packages.ur= llib3.connectionpool: DEBUG: "GET /client/api?apiKey=3DMNQSBTYnkNvc4PCMgv7i= tBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=3DP= rimary+iSCSI&url=3Discsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3Asn.= 142268127%2F2535&podid=3Dd99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid=3Db= 9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=3D4fbc4494-e655-49b6-bda1-7ad8eb= 641732&command=3DcreateStoragePool&signature=3D%2BLuTsFn%2F55NzD7%2F%2BkfLM= rZ8oDvY%3D&response=3Djson HTTP/1.1" 530 84\ntest_01_primary_storage_iscsi = (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG:= Request: http://10.223.240.161:8080/client/api?apiKey=3DMNQSBTYnkNvc4PCMgv= 7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name= =3DPrimary+iSCSI&url=3Discsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3= Asn.142268127%2F2535&podid=3Dd99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid= =3Db9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=3D4fbc4494-e655-49b6-bda1-7a= d8eb641732&command=3DcreateStoragePool&signature=3D%2BLuTsFn%2F55NzD7%2F%2B= kfLMrZ8oDvY%3D&response=3Djson Response: { "createstoragepoolresponse" : {"= uuidList":[],"errorcode":530,"cserrorcode":9999} }\ntest_01_primary_storage= _iscsi (integration.smoke.test_primary_storage.TestPrimaryStorageServices):= CRITICAL: EXCEPTION: test_01_primary_storage_iscsi: Traceback (most recent= call last):\n File "/usr/local/lib/python2.7/unittest/case.py", line 327,= in run\n testMethod()\n File "/root/asf/cloudstack/test/integration/sm= oke/test_primary_storage.py", line 207, in test_01_primary_storage_iscsi\n = podid=3Dself.pod.id\n File "/usr/local/lib/python2.7/site-packages/marv= in/integration/lib/base.py", line 1916, in create\n return StoragePool(a= piclient.createStoragePool(cmd).__dict__)\n File "/usr/local/lib/python2.7= /site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1623, in = createStoragePool\n response =3D self.connection.marvinRequest(command, = response_type=3Dresponse, method=3Dmethod)\n File "/usr/local/lib/python2.= 7/site-packages/marvin/cloudstackConnection.py", line 272, in marvinRequest= \n response =3D jsonHelper.getResultObj(response.json(), response_type)\= n File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line= 148, in getResultObj\n raise cloudstackException.cloudstackAPIException= (respname, errMsg)\ncloudstackAPIException: Execute cmd: createstoragepool = failed, due to: errorCode: 530, errorText:None\n\n--------------------- >> = end captured 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.CloudStackPrimaryDataStoreLife= CycleImpl] (catalina-exec-3:ctx-ca4e8d46 ctx-884f7e56 ctx-0afd5e6e) creatin= g pool null on host 1 > 2014-04-16 15:46:30,670 DEBUG [c.c.a.t.Request] (catalina-exec-3:ctx-ca4e= 8d46 ctx-884f7e56 ctx-0afd5e6e) Seq 1-5284411212765855753: Sending { Cmd ,= MgmtId: 112957957439171, via: 1(violeta.lab.vmops.com), Ver: v1, Flags: 10= 0011, [{"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":"IscsiL= UN"},"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-ca4e= 8d46 ctx-884f7e56 ctx-0afd5e6e) Seq 1-5284411212765855753: Executing: { Cm= d , MgmtId: 112957957439171, via: 1(violeta.lab.vmops.com), Ver: v1, Flags:= 100011, [{"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":"Isc= siLUN"},"localPath":"/mnt//6c59c2e5-458a-33d3-84b8-b16e69fcbee4","wait":0}}= ] } > 2014-04-16 15:46:30,675 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-2= :ctx-b892946d) Seq 1-5284411212765855753: Executing request > 2014-04-16 15:46:30,782 DEBUG [o.a.c.s.i.BaseImageStoreDriverImpl] (Remot= eHostEndPoint-1:ctx-1494d077) Performing image store createTemplate async c= allback > 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 = Added: 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= .1992-08.com.netapp:sn.142268127/2535 it should be /targetIQN/LUN > com.cloud.utils.exception.CloudRuntimeException: Wrong iscsi path iqn.199= 2-08.com.netapp:sn.142268127/2535 it should be /targetIQN/LUN > at com.cloud.hypervisor.xen.resource.CitrixResourceBase.getIscsiS= R(CitrixResourceBase.java:5993) > at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(C= itrixResourceBase.java:5120) > at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRe= quest(CitrixResourceBase.java:470) > at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeR= equest(XenServer56Resource.java:60) > at com.cloud.hypervisor.xen.resource.XenServer610Resource.execute= Request(XenServer610Resource.java:92) > at com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.exec= uteRequest(XenServer620SP1Resource.java:64) > at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(D= irectAgentAttache.java:216) > at org.apache.cloudstack.managed.context.ManagedContextRunnable$1= .run(ManagedContextRunnable.java:49) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt$1.call(DefaultManagedContext.java:56) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt.callWithContext(DefaultManagedContext.java:103) > at org.apache.cloudstack.managed.context.impl.DefaultManagedConte= xt.runWithContext(DefaultManagedContext.java:53) > at org.apache.cloudstack.managed.context.ManagedContextRunnable.r= un(ManagedContextRunnable.java:46) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.= java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutu= reTask.access$201(ScheduledThreadPoolExecutor.java:178) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutu= reTask.run(ScheduledThreadPoolExecutor.java:292) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.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.CloudRuntimeExce= ption, create StoragePool failed due to com.cloud.utils.exception.CloudRunt= imeException: Unable to create Iscsi SR {} due to Wrong iscsi path iqn.19= 92-08.com.netapp:sn.142268127/2535 it should be /targetIQN/LUN on host:d47c= d36f-3cea-4ba4-9499-3066cd6ff9e4 pool: 10.147.28.8iqn.1992-08.com.netapp:sn= .142268127/2535 -- This message was sent by Atlassian JIRA (v6.2#6252)