Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subctl cloud prepare fails with OCP 4.16 #1149

Closed
vthapar opened this issue Jun 6, 2024 · 1 comment
Closed

subctl cloud prepare fails with OCP 4.16 #1149

vthapar opened this issue Jun 6, 2024 · 1 comment
Assignees
Labels

Comments

@vthapar
Copy link
Contributor

vthapar commented Jun 6, 2024

What happened:
subctl cloud prepare aws fails with 0.18.0-rc build on OCP 4.16 clusters.

What you expected to happen:
Cloud prepare should run successfully.

How to reproduce it (as minimally and precisely as possible):
Use subctl version 0.18.0-rc0 to run subctl cloud prepare

Anything else we need to know?:
Error log:

subctl cloud prepare aws --infra-id $infra_id --region $region --profile aws-acm-subm
 ✓ Preparing AWS cloud for Submariner deployment 
 ✓ Initializing AWS connectivity
 ✓ Retrieving VPC ID 
 ✓ Retrieved VPC ID vpc-04931defb4f5fdb83
 ✗ Validating pre-requisites 
 ✗ Unable to validate prerequisites: [security group {infraID}-worker-sg not found, insufficient number of public subnets (0) to deploy 1 Submariner gateway(s)]
 ✗ Failed to prepare AWS cloud: unable to validate prerequisites: [security group {infraID}-worker-sg not found, insufficient number of public subnets (0) to deploy 1 Submariner gateway(s)]

Environment:
Fails with subctl versions v0.18.0-rc0, v0.17.1

subctl cloud prepare aws --infra-id $infra_id --region $region --profile aws-acm-subm ✓ Preparing AWS cloud for Submariner deployment
✓ Initializing AWS connectivity
✓ Retrieving VPC ID
✓ Retrieved VPC ID vpc-0079e48203562241c
✗ Validating pre-requisites
✗ Unable to validate prerequisites: [security group {infraID}-worker-sg not found, insufficient number of public subnets (0) to deploy 1 Submariner gateway(s)]
✗ Failed to prepare AWS cloud: unable to validate prerequisites: [security group {infraID}-worker-sg not found, insufficient number of public subnets (0) to deploy 1 Submariner gateway(s)]

subctl version: v0.18.0-rc0

  • Diagnose information (use subctl diagnose all):
  • Gather information (use subctl gather)
  • Cloud provider or hardware configuration:
  • Install tools:
  • Others: OCP Version 4.16.0-rc3
@yboaron
Copy link
Contributor

yboaron commented Jun 25, 2024

Addressed by
submariner-io/cloud-prepare#949

And also backported to 0.18 and 0.17
submariner-io/cloud-prepare#963
submariner-io/cloud-prepare#964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

4 participants