]> git.proxmox.com Git - pve-ha-manager.git/commit
tests: simulate adding running services to HA with rebalance-on-start
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Jun 2023 17:02:40 +0000 (19:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Jun 2023 17:05:22 +0000 (19:05 +0200)
commitc1aaa05b85949ac2ad2407df5fb387d895f10a26
treef761d96265ccc991e12b1a94b6693f8c965efdf4
parentc0dbab3c325bb2c1424697bea224bb82863c6b6f
tests: simulate adding running services to HA with rebalance-on-start

Split out from Fiona's original series, to better show what actually
changes with her fix.

Currently, a newly added service that's already running is shut down,
offline migrated and started again if rebalance selects a new node
for it. This is unexpected and should be fixed, encode that behavior
as a test now, showing still the undesired behavior, and fix it in
the next commit

Originally-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/test/test-crs-static-rebalance2/README [new file with mode: 0644]
src/test/test-crs-static-rebalance2/cmdlist [new file with mode: 0644]
src/test/test-crs-static-rebalance2/datacenter.cfg [new file with mode: 0644]
src/test/test-crs-static-rebalance2/hardware_status [new file with mode: 0644]
src/test/test-crs-static-rebalance2/log.expect [new file with mode: 0644]
src/test/test-crs-static-rebalance2/manager_status [new file with mode: 0644]
src/test/test-crs-static-rebalance2/service_config [new file with mode: 0644]
src/test/test-crs-static-rebalance2/static_service_stats [new file with mode: 0644]