[ https://issues.apache.org/jira/browse/CLOUDSTACK-6444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041683#comment-14041683 ]
ASF subversion and git services commented on CLOUDSTACK-6444: ------------------------------------------------------------- Commit d3ffb7a5659bf988d00f607ee14cc07741b76c4a in cloudstack's branch refs/heads/master from [~damoder.reddy] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d3ffb7a ] CLOUDSTACK-6444: Fixing the issue with iSCSI path Format /targetIQN/LUN. Signed-off-by: Koushik Das <kous...@apache.org> > [Automation] test_01_primary_storage_iscsi failed on > "test_primary_storage.py" - Wrong iscsi path format - it should be > /targetIQN/LUN > ---------------------------------------------------------------------------------------------------------------------------------------- > > 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 > default.) > Components: Automation, XenServer > Affects Versions: 4.4.0 > Reporter: Chandan Purushothama > Assignee: Damodar Reddy T > Priority: Critical > 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.TestPrimaryStorageServices): DEBUG: > ::::::::::::STARTED : TC: test_01_primary_storage_iscsi ::::::::::: > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending GET request: listZones {} > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: zCinw6XM4JSpQF6uNjzREWyHshQ= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listZones&signature=zCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=json > HTTP/1.1" 200 735 > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listZones&signature=zCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=json > 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.232","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"Enabled","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","securitygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"3973cd3a-d2ed-3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]} > ] } } > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending GET request: listPods {'zoneid': > u'4fbc4494-e655-49b6-bda1-7ad8eb641732'} > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: Q5eN6r9ACb1qiPi7CI3wiB6wh0k= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > HTTP/1.1" 200 314 > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > Response: { "listpodsresponse" : { "count":1 ,"pod" : [ > {"id":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","gateway":"10.223.251.1","netmask":"255.255.255.192","startip":"10.223.251.4","endip":"10.223.251.14","allocationstate":"Enabled"} > ] } } > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending GET request: listClusters {'zoneid': > u'4fbc4494-e655-49b6-bda1-7ad8eb641732'} > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: CGgAerZxK5EJBr34YnPiWBJHqWg= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listClusters&signature=CGgAerZxK5EJBr34YnPiWBJHqWg%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > HTTP/1.1" 200 430 > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listClusters&signature=CGgAerZxK5EJBr34YnPiWBJHqWg%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > Response: { "listclustersresponse" : { "count":1 ,"cluster" : [ > {"id":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","name":"test0clus0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","hypervisortype":"XenServer","clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Managed","cpuovercommitratio":"1.0","memoryovercommitratio":"1.0"} > ] } } > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending GET request: listHosts {'clusterid': > u'b9cbf572-cab9-4e5e-abbb-2c294f69b3d4'} > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: OLCPGM+IJ+v+d1E46nX4f1+LVWs= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=listHosts&signature=OLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=json > HTTP/1.1" 200 2217 > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=listHosts&signature=OLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=json > 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","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,"cpuspeed":2200,"cpuallocated":"11.36%","cpuwithoverprovisioning":"8800.0","memorytotal":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":"test0clus0","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2014-04-16T15:22:31-0700","events":"PingTimeout; > Remove; AgentConnected; ManagementServerDown; HostDown; AgentDisconnected; > StartAgentRebalance; Ping; > ShutdownRequested","resourcestate":"Enabled","hypervisorversion":"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-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","version":"4.4.0-SNAPSHOT","hypervisor":"XenServer","cpusockets":1,"cpunumber":4,"cpuspeed":2200,"cpuallocated":"0%","cpuwithoverprovisioning":"8800.0","memorytotal":15678472704,"memoryallocated":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-4e5e-abbb-2c294f69b3d4","clustername":"test0clus0","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2014-04-16T15:21:55-0700","events":"PingTimeout; > Remove; AgentConnected; ManagementServerDown; HostDown; AgentDisconnected; > StartAgentRebalance; Ping; > ShutdownRequested","resourcestate":"Enabled","hypervisorversion":"6.2.0","hahost":false} > ] } } > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending 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-cab9-4e5e-abbb-2c294f69b3d4', 'zoneid': > u'4fbc4494-e655-49b6-bda1-7ad8eb641732'} > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: +LuTsFn/55NzD7/+kfLMrZ8oDvY= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=Primary+iSCSI&url=iscsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3Asn.142268127%2F2535&podid=d99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&command=createStoragePool&signature=%2BLuTsFn%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=json > HTTP/1.1" 530 84 > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=Primary+iSCSI&url=iscsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3Asn.142268127%2F2535&podid=d99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&command=createStoragePool&signature=%2BLuTsFn%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=json > Response: { "createstoragepoolresponse" : > {"uuidList":[],"errorcode":530,"cserrorcode":9999} } > test_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): > 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=self.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/cloudstackAPIClient.py", > line 1623, in createStoragePool > response = self.connection.marvinRequest(command, response_type=response, > method=method) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 272, in marvinRequest > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line > 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > cloudstackAPIException: Execute cmd: createstoragepool failed, due to: > errorCode: 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=self.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/cloudstackAPIClient.py", > line 1623, in createStoragePool > response = self.connection.marvinRequest(command, response_type=response, > method=method) > File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 272, in marvinRequest > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line > 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > 'Execute cmd: createstoragepool failed, due to: errorCode: 530, > errorText:None\n-------------------- >> begin captured logging << > --------------------\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > ::::::::::::STARTED : TC: test_01_primary_storage_iscsi > :::::::::::\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending GET request: listZones {}\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: > zCinw6XM4JSpQF6uNjzREWyHshQ=\nrequests.packages.urllib3.connectionpool: INFO: > Starting new HTTP connection (1): > 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listZones&signature=zCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=json > 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=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listZones&signature=zCinw6XM4JSpQF6uNjzREWyHshQ%3D&response=json > 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.232","networktype":"Basic","securitygroupsenabled":true,"allocationstate":"Enabled","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","securitygroupsenabled":true,"allocationstate":"Enabled","zonetoken":"3973cd3a-d2ed-3242-8431-b40f919051f1","dhcpprovider":"VirtualRouter","localstorageenabled":false,"tags":[]} > ] } }\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending GET request: listPods {\'zoneid\': > u\'4fbc4494-e655-49b6-bda1-7ad8eb641732\'}\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: > Q5eN6r9ACb1qiPi7CI3wiB6wh0k=\nrequests.packages.urllib3.connectionpool: INFO: > Starting new HTTP connection (1): > 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > HTTP/1.1" 200 314\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listPods&signature=Q5eN6r9ACb1qiPi7CI3wiB6wh0k%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > Response: { "listpodsresponse" : { "count":1 ,"pod" : [ > {"id":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","name":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","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_storage.TestPrimaryStorageServices): DEBUG: > sending GET request: listClusters {\'zoneid\': > u\'4fbc4494-e655-49b6-bda1-7ad8eb641732\'}\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: > CGgAerZxK5EJBr34YnPiWBJHqWg=\nrequests.packages.urllib3.connectionpool: INFO: > Starting new HTTP connection (1): > 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listClusters&signature=CGgAerZxK5EJBr34YnPiWBJHqWg%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > HTTP/1.1" 200 430\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&command=listClusters&signature=CGgAerZxK5EJBr34YnPiWBJHqWg%3D&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&response=json > Response: { "listclustersresponse" : { "count":1 ,"cluster" : [ > {"id":"b9cbf572-cab9-4e5e-abbb-2c294f69b3d4","name":"test0clus0","podid":"d99714b2-7164-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","zoneid":"4fbc4494-e655-49b6-bda1-7ad8eb641732","zonename":"test0","hypervisortype":"XenServer","clustertype":"CloudManaged","allocationstate":"Enabled","managedstate":"Managed","cpuovercommitratio":"1.0","memoryovercommitratio":"1.0"} > ] } }\ntest_01_primary_storage_iscsi > (integration.smoke.test_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.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: > OLCPGM+IJ+v+d1E46nX4f1+LVWs=\nrequests.packages.urllib3.connectionpool: INFO: > Starting new HTTP connection (1): > 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=listHosts&signature=OLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=json > HTTP/1.1" 200 2217\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&command=listHosts&signature=OLCPGM%2BIJ%2Bv%2Bd1E46nX4f1%2BLVWs%3D&response=json > 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","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,"cpuspeed":2200,"cpuallocated":"11.36%","cpuwithoverprovisioning":"8800.0","memorytotal":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":"test0clus0","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2014-04-16T15:22:31-0700","events":"PingTimeout; > Remove; AgentConnected; ManagementServerDown; HostDown; AgentDisconnected; > StartAgentRebalance; Ping; > ShutdownRequested","resourcestate":"Enabled","hypervisorversion":"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-4d85-b5a6-c0caf12eb57a","podname":"test0pod0","version":"4.4.0-SNAPSHOT","hypervisor":"XenServer","cpusockets":1,"cpunumber":4,"cpuspeed":2200,"cpuallocated":"0%","cpuwithoverprovisioning":"8800.0","memorytotal":15678472704,"memoryallocated":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-4e5e-abbb-2c294f69b3d4","clustername":"test0clus0","clustertype":"CloudManaged","islocalstorageactive":false,"created":"2014-04-16T15:21:55-0700","events":"PingTimeout; > Remove; AgentConnected; ManagementServerDown; HostDown; AgentDisconnected; > StartAgentRebalance; Ping; > ShutdownRequested","resourcestate":"Enabled","hypervisorversion":"6.2.0","hahost":false} > ] } }\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > sending 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-cab9-4e5e-abbb-2c294f69b3d4\', \'zoneid\': > u\'4fbc4494-e655-49b6-bda1-7ad8eb641732\'}\ntest_01_primary_storage_iscsi > (integration.smoke.test_primary_storage.TestPrimaryStorageServices): DEBUG: > Computed Signature by Marvin: > +LuTsFn/55NzD7/+kfLMrZ8oDvY=\nrequests.packages.urllib3.connectionpool: INFO: > Starting new HTTP connection (1): > 10.223.240.161\nrequests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=Primary+iSCSI&url=iscsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3Asn.142268127%2F2535&podid=d99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&command=createStoragePool&signature=%2BLuTsFn%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=json > 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=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&name=Primary+iSCSI&url=iscsi%3A%2F%2F10.147.28.8%2Fiqn.1992-08.com.netapp%3Asn.142268127%2F2535&podid=d99714b2-7164-4d85-b5a6-c0caf12eb57a&clusterid=b9cbf572-cab9-4e5e-abbb-2c294f69b3d4&zoneid=4fbc4494-e655-49b6-bda1-7ad8eb641732&command=createStoragePool&signature=%2BLuTsFn%2F55NzD7%2F%2BkfLMrZ8oDvY%3D&response=json > 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/smoke/test_primary_storage.py", line > 207, in test_01_primary_storage_iscsi\n podid=self.pod.id\n File > "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line > 1916, in create\n return > StoragePool(apiclient.createStoragePool(cmd).__dict__)\n File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > line 1623, in createStoragePool\n response = > self.connection.marvinRequest(command, response_type=response, > method=method)\n File > "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line > 272, in marvinRequest\n response = > 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 << ---------------------' > ===================== > Management Server Error: > ===================== > 2014-04-16 15:46:30,632 DEBUG > [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] > (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-ca4e8d46 > ctx-884f7e56 ctx-0afd5e6e) Seq 1-5284411212765855753: Sending { Cmd , > 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":"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-ca4e8d46 > ctx-884f7e56 ctx-0afd5e6e) Seq 1-5284411212765855753: Executing: { Cmd , > 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":"IscsiLUN"},"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] > (RemoteHostEndPoint-1:ctx-1494d077) Performing image store createTemplate > async callback > 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.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(CitrixResourceBase.java:5120) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:470) > at > com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:60) > at > com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:92) > at > com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:64) > at > com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216) > at > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(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.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.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.CloudRuntimeException, create StoragePool failed > due to com.cloud.utils.exception.CloudRuntimeException: 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:d47cd36f-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)