Skip to content

Commit dca38d3

Browse files
Sakshamsyadvr
authored andcommitted
CLOUDSTACK-7950: AttachIsoCmd shoud give correct messge when trying to attach vmwaretools installer iso on non supported guestvm deployed by ISO
(cherry picked from commit 4ff3130) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent b5ef7de commit dca38d3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

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

14531453
if (isAttach) {
14541454
String msg = "AttachIsoCommand(attach) failed due to " + VmwareHelper.getExceptionMessage(e);
1455+
msg = msg + " Also check if your guest os is a supported version";
14551456
s_logger.error(msg, e);
14561457
return new AttachAnswer(msg);
14571458
} else {
14581459
String msg = "AttachIsoCommand(detach) failed due to " + VmwareHelper.getExceptionMessage(e);
1460+
msg = msg + " Also check if your guest os is a supported version";
14591461
s_logger.warn(msg, e);
14601462
return new AttachAnswer(msg);
14611463
}

0 commit comments

Comments
 (0)