-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
3
-
None
-
None
-
WINC - Sprint 285
Add NEW standalone test to verify WMCO can successfully drain Windows nodes with DaemonSet workloads during node reconfiguration.
Background:
OCPBUGS-5354 identified that WMCO was unable to drain DaemonSet workloads due to missing RBAC permissions. Bug is fixed but needs test coverage to prevent regression.
Test Objective:
Create NEW test case (not extend existing) to verify WMCO service account has proper RBAC permissions and can drain nodes with DaemonSet workloads.
Test Approach:
- Deploy DaemonSet targeting Windows nodes using Go string templates
- Verify RBAC permissions (oc auth can-i get/delete/list daemonsets)
- Trigger node reconfiguration without full upgrade (patch ConfigMap or version annotation)
- Verify drain succeeds with DaemonSet present
- Verify DaemonSet pods recover after reconfiguration
Why NEW test:
- OCP-43832 upgrade test is extremely long, should not add more complexity
- Standalone test is clearer and focused
- Can trigger reconfiguration without expensive full upgrade
- Faster execution and better maintainability
Implementation covered in subtasks:
Related:
OCPBUGS-5354: WMCO unable to drain DaemonSet workloads (Fixed)- OCPQE-14219: Test coverage parent task
- depends on
-
WINC-1622 Create Polarion test case for DaemonSet drain validation
-
- Closed
-
- is depended on by
-
WINC-1623 Implement NEW automated test for DaemonSet drain validation
-
- Closed
-
- relates to
-
OCPBUGS-5354 WMCO is unable to drain DaemonSet workloads
-
- Closed
-