mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
remove a debug log in vmwareResource
This commit is contained in:
parent
79cc241c64
commit
0c1d2680a5
@ -2856,10 +2856,6 @@ public class VmwareResource implements StoragePoolResource, ServerResource, Vmwa
|
||||
vmMo.setCustomFieldValue(CustomFieldConstants.CLOUD_NIC_MASK, "0");
|
||||
|
||||
if (getVmState(vmMo) != State.Stopped) {
|
||||
|
||||
// before we stop VM, remove all possible snapshots on the VM to let
|
||||
// disk chain be collapsed
|
||||
s_logger.info("Remove all snapshot before stopping VM " + cmd.getVmName());
|
||||
if (vmMo.safePowerOff(_shutdown_waitMs)) {
|
||||
state = State.Stopped;
|
||||
return new StopAnswer(cmd, "Stop VM " + cmd.getVmName() + " Succeed", 0, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user