mirror of https://github.com/apache/cloudstack.git
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:
parent
94a14485f7
commit
2d5f6a7911
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue