-
Bug
-
Resolution: Done-Errata
-
Major
-
4.13
-
None
-
Moderate
-
No
-
0
-
WINC - Sprint 244, WINC - Sprint 245, WINC - Sprint 246
-
3
-
Rejected
-
False
-
-
-
Bug Fix
This is a clone of issue OCPBUGS-20259. The following is the description of the original issue:
—
This is a clone of issue OCPBUGS-17217. The following is the description of the original issue:
—
Description of problem:
WMCO does not properly deduce when a reboot is complete. Currently, it tries to initialize an SSH connection directly after issuing the reboot request -- this can lead to timing issues where the reboot hasn't occurred yet and the initial SSH connection is still active, so WMCO thinks the reboot is done and proceeds with node configuration. Then, a bit later, the reboot actually is underway and WMCO errors out and has to re-init SSH and restart configuration.
Version-Release number of selected component (if applicable):
4.14 (and below through 4.10)
How reproducible:
Always
Steps to Reproduce:
1. Use a Windows image that does not have the Containers feature enabled already 2. Have WMCO try to configure the instance as a node 3. Timing error will show when restarting instance after turning on containers feature
Actual results:
WMCO's check if the instance is reachable via SSH is too quick and incorrectly assumes the reboot has been completed right away, which leads to configuration failure later as it can not run powershell commands over SSH when reboot is underway.
Expected results:
WMCO should wait/check for reboot in a more complete manner to avoid false positives.
Additional info:
Perhaps waiting for the node to be unreachable first, and then waiting for it to be reachable again could solve this?
Thread with logs and discussion: https://redhat-internal.slack.com/archives/CM4ERHBJS/p1690925841359849
- clones
-
OCPBUGS-20259 WMCO does not wait for instance to reboot properly
- Closed
- is blocked by
-
OCPBUGS-20259 WMCO does not wait for instance to reboot properly
- Closed
- links to
-
RHBA-2023:125497 Red Hat OpenShift for Windows Containers 7.2.1 product release
- mentioned on