Skip to content

Commit a379094

Browse files
Gupta, SuryaGupta, Surya
authored andcommitted
CSTACKEX-16 Fix Copy Issues
1 parent 5c378e4 commit a379094

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugins/storage/volume/ontap/src/main/java/org/apache/cloudstack/storage/driver/OntapPrimaryDatastoreDriver.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,8 @@ private void revokeAccessForSnapshot(SnapshotInfo snapshotInfo, Host host, Stora
578578
String storagePoolUuid = storagePool.getUuid();
579579

580580
// Build a CloudStackVolume request using the snapshot's cloned LUN name
581-
String snapshotLunName = snapshotInfo.getPath();
581+
String snapshotLunName = Constants.VOL + storagePool.getName() + Constants.SLASH + snapshotInfo.getName();
582+
s_logger.info("revokeAccessForSnapshot: snapshotLunName : {}", snapshotLunName);
582583
if (snapshotLunName == null) {
583584
s_logger.warn("revokeAccessForSnapshot: Snapshot path is null for snapshot id: {}, skipping", snapshotInfo.getId());
584585
return;

0 commit comments

Comments
 (0)