Skip to content

Commit 13e956a

Browse files
committed
Add a missing initialization call to setup EntityManager in VmMigrateWork
1 parent 86a63c4 commit 13e956a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ public boolean stop() {
577577
public boolean configure(String name, Map<String, Object> xmlParams) throws ConfigurationException {
578578
ReservationContextImpl.init(_entityMgr);
579579
VirtualMachineProfileImpl.init(_entityMgr);
580+
VmWorkMigrate.init(_entityMgr);
580581

581582
_executor = Executors.newScheduledThreadPool(1, new NamedThreadFactory("Vm-Operations-Cleanup"));
582583
_nodeId = ManagementServerNode.getManagementServerId();

0 commit comments

Comments
 (0)