mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7950: AttachIsoCmd shoud give correct messge when trying to attach vmwaretools installer iso on non supported guestvm deployed by ISO
This commit is contained in:
parent
3dfe532e42
commit
4ff3130bec
|
|
@ -1463,10 +1463,12 @@ public class VmwareStorageProcessor implements StorageProcessor {
|
|||
|
||||
if (isAttach) {
|
||||
String msg = "AttachIsoCommand(attach) failed due to " + VmwareHelper.getExceptionMessage(e);
|
||||
msg = msg + " Also check if your guest os is a supported version";
|
||||
s_logger.error(msg, e);
|
||||
return new AttachAnswer(msg);
|
||||
} else {
|
||||
String msg = "AttachIsoCommand(detach) failed due to " + VmwareHelper.getExceptionMessage(e);
|
||||
msg = msg + " Also check if your guest os is a supported version";
|
||||
s_logger.warn(msg, e);
|
||||
return new AttachAnswer(msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue