Skip to content

Potential endless wait loop in BalancerManager.wait_for_task #437

@imanenami

Description

@imanenami

The wait_for_task code in the balancer manager has the potential to enter the charm into an endless wait loop. This has popped up on occasions in the balancer-single integration tests.

Steps to reproduce

Basically run the test_balancer in single mode.

Expected behavior

The charm should avoid waiting forever for a task.

Actual behavior

Charm stuck in awaiting completion of rebalance task

Versions

Operating system: Ubuntu 24.04.2 LTS

Juju CLI: 3.6.11-genericlinux-amd64

Juju agent: 3.6.11

Charm revision: any revision <=239

LXD: 5.21.4 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions