[pve-devel] applied: [PATCH v2 ha-manager 1/2] tests: simulate stale maintainance node caused by simultaneous cluster shutdown

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jun 13 09:00:14 CEST 2023


Am 12/06/2023 um 17:27 schrieb Fiona Ebner:
> 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 at proxmox.com>
> ---
> 
> Changes in v2:
>     * Rebase on current master.
>     * Split out introducing the test into a dedicated patch.
> 
>  src/test/test-stale-maintenance-node/cmdlist  |  6 ++
>  .../datacenter.cfg                            |  5 +
>  .../hardware_status                           |  5 +
>  .../test-stale-maintenance-node/log.expect    | 92 +++++++++++++++++++
>  .../manager_status                            |  1 +
>  .../service_config                            |  3 +
>  6 files changed, 112 insertions(+)
>  create mode 100644 src/test/test-stale-maintenance-node/cmdlist
>  create mode 100644 src/test/test-stale-maintenance-node/datacenter.cfg
>  create mode 100644 src/test/test-stale-maintenance-node/hardware_status
>  create mode 100644 src/test/test-stale-maintenance-node/log.expect
>  create mode 100644 src/test/test-stale-maintenance-node/manager_status
>  create mode 100644 src/test/test-stale-maintenance-node/service_config
> 
>

applied, thanks!





More information about the pve-devel mailing list