mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge pull request #1256 from sureshanaparti/CLOUDSTACK-9185
CLOUDSTACK-9185: [VMware DRS] VM sync failed with exception due to out-of-band changesSummary: 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. * pr/1256: CLOUDSTACK-9185: [VMware DRS] VM sync failed with exception due to out-of-band changes Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
commit
c07c850dff
@ -3686,7 +3686,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
|
|||||||
//
|
//
|
||||||
|
|
||||||
@MessageHandler(topic = Topics.VM_POWER_STATE)
|
@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;
|
assert args != null;
|
||||||
final Long vmId = (Long)args;
|
final Long vmId = (Long)args;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user