Skip to content

Commit 16f5890

Browse files
committed
<fix>[compute]: respect vm.migrationQuantity during host maintenance
Resolves: ZSTAC-81354 Change-Id: Iff2131b3a878444fa27641f24dd727fe4fa176fb
1 parent 799a84f commit 16f5890

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

compute/src/main/java/org/zstack/compute/host/HostBase.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,8 @@ public void run(final FlowTrigger trigger, Map data) {
411411
if (ordered != null) {
412412
vmUuids = ordered;
413413

414-
logger.debug(String.format("%s ordered VMs for host maintenance, to keep the order, we will migrate VMs one by one",
415-
ext.getClass()));
416-
migrateQuantity = 1;
414+
logger.debug(String.format("%s ordered VMs for host maintenance, migrate quantity: %d",
415+
ext.getClass(), migrateQuantity));
417416
}
418417
}
419418

0 commit comments

Comments
 (0)