]> git.proxmox.com Git - pve-ha-manager.git/commit
tests: simulate stale maintainance node caused by simultaneous cluster shutdown
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 12 Jun 2023 15:27:10 +0000 (17:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Jun 2023 06:33:52 +0000 (08:33 +0200)
commita1b9918d3031cdaa6a67632f2f432fd7292a4a63
treec2ffbf5f0e6590489b8f19de313eb0be7864dbbc
parenteee63557bc4975b29177ebfee02b864c3f1d041f
tests: simulate stale maintainance node caused by simultaneous cluster shutdown

In the test log, it can be seen that the service will unexpectedly be
migrated back. This is caused by the service's maintainance node
property being set by the initial shutdown, but never cleared, because
that currently happens only when the service is started on a different
node. The next commit will address the issue.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
src/test/test-stale-maintenance-node/cmdlist [new file with mode: 0644]
src/test/test-stale-maintenance-node/datacenter.cfg [new file with mode: 0644]
src/test/test-stale-maintenance-node/hardware_status [new file with mode: 0644]
src/test/test-stale-maintenance-node/log.expect [new file with mode: 0644]
src/test/test-stale-maintenance-node/manager_status [new file with mode: 0644]
src/test/test-stale-maintenance-node/service_config [new file with mode: 0644]