Skip to content

Conversation

@jnewsome97
Copy link
Contributor

@jnewsome97 jnewsome97 commented Oct 30, 2025

SUMMARY

Fix Windows node deployment for OCP 4.18+ compatibility:

  • Update Windows AMI from Server 2019 to Server 2022 (required for OCP 4.18+)
  • Add AWS security group ID resolution to prevent "no security group found" errors

Note: Please merge to development branch only for testing. Do not deploy to production until dev validation is complete.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ocp4_workload_windows_node

ADDITIONAL INFORMATION

Files changed: defaults/main.yml, tasks/workload.yml, templates/windows-ms.j2

Before:
Error: "error getting security groups IDs: no security group found"
Windows AMI: Windows_Server-2019

After:
Security group resolved via AWS query
Windows AMI: Windows_Server-2022

- Update Windows AMI filter from Server 2019 to Server 2022
- Add security group resolution to prevent 'no security group found' errors
- Query AWS for actual security group ID instead of relying on tag filters
- Use resolved SG ID in Windows MachineSet template with fallback

Fixes compatibility with OpenShift 4.18+ which requires Windows Server 2022.
Resolves security group lookup failures from previous 4.16 upgrade attempts.
@jnewsome97 jnewsome97 closed this by deleting the head repository Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant