[BUG] Extra unexpected replicas are created when volume creation results in more replicas than the specified numberOfReplicas and fails the test case #8536
Labels
area/volume-replica-scheduling
Volume replica scheduling related
kind/bug
priority/1
Highly recommended to fix in this release (managed by PO)
reproduce/rare
< 50% reproducible
severity/2
Function working but has a major issue w/o workaround (a major incident with significant impact)
Milestone
Describe the bug
In test case
test_engine_image_not_fully_deployed_perform_dr_restoring_expanding_volume
, it will first create a volume with2
replicas:Normally the created volume will only have 2 replicas:
But there's a small chance (~1/100) that the created volume will have more than 2 replicas:
And fail the test case when it tries to assure number of replicas = 2:
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/6880/testReport/junit/tests/test_ha/test_engine_image_not_fully_deployed_perform_dr_restoring_expanding_volume_s3_21_25_/
https://ci.longhorn.io/job/private/job/longhorn-tests-regression/6877/
To Reproduce
Run test case
test_engine_image_not_fully_deployed_perform_dr_restoring_expanding_volume
repeatedly.Expected behavior
Support bundle for troubleshooting
longhorn-tests-regression-6877-bundle.zip
Environment
Additional context
The text was updated successfully, but these errors were encountered: