bug 11077: Improve logging - put in the hostid and hostname on which the vm launches.

status 11077: resolved fixed
This commit is contained in:
Nitin 2011-08-25 16:00:45 +05:30
parent 0d14faec34
commit a4fd7ebcac
1 changed files with 2 additions and 2 deletions

View File

@ -1461,13 +1461,13 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
try {
if (s_logger.isDebugEnabled()) {
s_logger.debug("Executing /opt/cloud/bin/vpn_lt2p.sh " + argsBuf.toString());
s_logger.debug("Executing /opt/cloud/bin/vpn_lt2p.sh ");
}
Pair<Boolean, String> result = SshHelper.sshExecute(controlIp, DEFAULT_DOMR_SSHPORT, "root", mgr.getSystemVMKeyFile(), null, "/opt/cloud/bin/vpn_l2tp.sh " + argsBuf.toString());
if (!result.first()) {
s_logger.error("VpnUserCfg command on domR " + argsBuf + " failed, message: " + result.second());
s_logger.error("VpnUserCfg command on domR failed, message: " + result.second());
return new Answer(cmd, false, "VpnUserCfg command failed due to " + result.second());
}