Skip to content

Commit 4ff3130

Browse files
committed
CLOUDSTACK-7950: AttachIsoCmd shoud give correct messge when trying to attach vmwaretools installer iso on non supported guestvm deployed by ISO
1 parent 3dfe532 commit 4ff3130

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,10 +1463,12 @@ private Answer attachIso(DiskTO disk, boolean isAttach, String vmName) {
14631463

14641464
if (isAttach) {
14651465
String msg = "AttachIsoCommand(attach) failed due to " + VmwareHelper.getExceptionMessage(e);
1466+
msg = msg + " Also check if your guest os is a supported version";
14661467
s_logger.error(msg, e);
14671468
return new AttachAnswer(msg);
14681469
} else {
14691470
String msg = "AttachIsoCommand(detach) failed due to " + VmwareHelper.getExceptionMessage(e);
1471+
msg = msg + " Also check if your guest os is a supported version";
14701472
s_logger.warn(msg, e);
14711473
return new AttachAnswer(msg);
14721474
}

0 commit comments

Comments
 (0)