-
Story
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
Goal:
Create a tobiko test to evaluate progression of status for the LB entities according to the health checks done over the members. Basically checking the DEGRADED status when one member is not accesible, ERROR status when all members are not accesible and the rollback to ONLINE in case members come back to ONLINE status.
Steps should be (not restricted to this scenario):
- Create a OVN LB / Listener / Pool / Members (2) / HM
- Check that all entities are ONLINE
- Stop one of the members to check entities are promoted to DEGRADED.
- Stop the other member to ckeck entities are promoted to ERROR.
- Start both members again and check entities are promoted to ONLINE.
Acceptance Criteria:
- Initial Setup Validation:
-
- A Load Balancer (LB) with its Listener, Pool, 2 Members, and a Health Monitor (HM) is created successfully.
- All components must be in ONLINE status initially.
- Detection of DEGRADED Status:
-
- One member is stopped.
- The LB and Pool status should transition to DEGRADED.
- The stopped member should be marked as ERROR.
- Detection of ERROR Status:
-
- The second pool member is stopped.
- The LB and Pool status should transition to ERROR.
- Both members should be marked as ERROR in the health monitoring system.
- Rollback to ONLINE Status:
-
- Both pool members are restarted.
- The LB and Pool status should transition back to ONLINE.
- Both members should be marked as ONLINE in the health monitoring system.
- Final Verification:
-
- Validate that the status transitions occurred correctly at each step.