From 3cdcf77933963a1a60eda05934ccb5288ecf812c Mon Sep 17 00:00:00 2001 From: Damodar Reddy Date: Mon, 23 Jun 2014 16:10:05 +0530 Subject: [PATCH] CLOUDSTACK-6444: Fixing the issue with iSCSI path Format /targetIQN/LUN. Signed-off-by: Koushik Das (cherry picked from commit 24401e0b2b575d1aa151dbf5d4e0e0e1de4e9361) --- .../lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/storage/volume/default/src/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java b/plugins/storage/volume/default/src/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java index 3c1b76a62d3..65236d96299 100644 --- a/plugins/storage/volume/default/src/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java +++ b/plugins/storage/volume/default/src/org/apache/cloudstack/storage/datastore/lifecycle/CloudStackPrimaryDataStoreLifeCycleImpl.java @@ -255,7 +255,6 @@ public class CloudStackPrimaryDataStoreLifeCycleImpl implements PrimaryDataStore if (clusterId == null) { throw new IllegalArgumentException("IscsiLUN need to have clusters specified"); } - hostPath = hostPath.replaceFirst("/", ""); parameters.setType(StoragePoolType.IscsiLUN); parameters.setHost(storageHost); parameters.setPort(port);