From d3ffb7a5659bf988d00f607ee14cc07741b76c4a 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 --- .../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);