Add a missing initialization call to setup EntityManager in VmMigrateWork
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/13e956a1 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/13e956a1 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/13e956a1 Branch: refs/heads/master Commit: 13e956a10ca6944cd4a45348e5bccfacd3b889d3 Parents: 86a63c4 Author: Kelven Yang <[email protected]> Authored: Mon Jan 27 16:56:13 2014 -0800 Committer: Kelven Yang <[email protected]> Committed: Fri Feb 28 15:35:57 2014 -0800 ---------------------------------------------------------------------- .../orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/13e956a1/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java ---------------------------------------------------------------------- diff --git a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java index fb5d0f1..84c56ae 100755 --- a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java +++ b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java @@ -577,6 +577,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac public boolean configure(String name, Map<String, Object> xmlParams) throws ConfigurationException { ReservationContextImpl.init(_entityMgr); VirtualMachineProfileImpl.init(_entityMgr); + VmWorkMigrate.init(_entityMgr); _executor = Executors.newScheduledThreadPool(1, new NamedThreadFactory("Vm-Operations-Cleanup")); _nodeId = ManagementServerNode.getManagementServerId();
