CLOUDSTACK-9185: [VMware DRS] VM sync failed with exception due to out-of-band changes

Summary: The target "ClusteredVirtualMachineManagerImpl.HandlePowerStateReport" invoked during the VM power state sync is not found as HandlePowerStateReport was not implemented in ClusteredVirtualMachineManagerImpl and was private in VirtualMachineManagerImpl, which was resulting in InvocationTargetException. Changed HandlePowerStateReport() in VirtualMachineManagerImpl to protected.
This commit is contained in:
Suresh Kumar Anaparti 2015-12-17 10:59:31 +05:30
parent 94a14485f7
commit 2d5f6a7911
1 changed files with 1 additions and 1 deletions

View File

@ -3685,7 +3685,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
//
@MessageHandler(topic = Topics.VM_POWER_STATE)
private void HandlePowerStateReport(final String subject, final String senderAddress, final Object args) {
protected void HandlePowerStateReport(final String subject, final String senderAddress, final Object args) {
assert args != null;
final Long vmId = (Long)args;