Skip to content

Commit 9753bf1

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
[CSTACKEX-129] NFS3 Primary storage-pool is not failing even if NFS3 protocol is not enabled at the storage VM
1 parent 7425298 commit 9753bf1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/service

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/service/StorageStrategy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ public boolean connect() {
127127
logger.error("NFS protocol is not enabled on SVM " + svmName);
128128
throw new CloudRuntimeException("NFS protocol is not enabled on SVM " + svmName);
129129
} else if (Objects.equals(storage.getProtocol(), ProtocolType.ISCSI) && !svm.getIscsiEnabled()) {
130-
logger.error("iSCSI protocol is not enabled on SVM " + svmName);
131-
throw new CloudRuntimeException("iSCSI protocol is not enabled on SVM " + svmName);
130+
logger.error("ISCSI protocol is not enabled on SVM " + svmName);
131+
throw new CloudRuntimeException("ISCSI protocol is not enabled on SVM " + svmName);
132132
}
133133
List<Aggregate> aggrs = svm.getAggregates();
134134
if (aggrs == null || aggrs.isEmpty()) {

0 commit comments

Comments
 (0)