redhat-developer / redhat-developer/mapt

[bug] Error when trying to create AWS SNC with the timeout flag

Open
#649 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
24
Forks
36
Avg merge
6d 13h
Merged PRs (30d)
8

Description

I'm getting errors while I try to create a new SNC cluster if I set the timeout flag:

  • Error:
 +  pulumi:pulumi:Stack test-ci-cluster-20251023-152611-stackOpenshiftSNC-test-ci-cluster-20251023-152611 creating (180s) error: an unhandled error occurred: 1 error occurred:
 +  pulumi:pulumi:Stack test-ci-cluster-20251023-152611-stackOpenshiftSNC-test-ci-cluster-20251023-152611 **creating failed (180s)** 1 error
Diagnostics:
  pulumi:pulumi:Stack (test-ci-cluster-20251023-152611-stackOpenshiftSNC-test-ci-cluster-20251023-152611):
    error: an unhandled error occurred: 1 error occurred:
    	* Key: '' Error:Field validation for '' failed on the 'required' tag

Outputs:
    VPCID                 : "vpc-0a02a8b0a84c310ba"
    main-aosDeveloperPass : [secret]
    main-aosHost          : "main-aos-lb-90d49e1-d7c89983222dc457.elb.us-east-2.amazonaws.com"
    main-aosKubeAdminPasss: [secret]
    main-aosPrivatekey    : [secret]
    main-aosUsername      : "core"

Resources:
    + 28 created
    1 errored

Duration: 3m1s


stderr:
  • Example command used:
podman run -d --name "mapt-create-20251023_163328" -v "/Users/frherrer/Documents/repos/ci-utils:/workspace:z" -e AWS_ACCESS_KEY_ID="******" -e AWS_SECRET_ACCESS_KEY="****" -e AWS_DEFAULT_REGION="us-east-1" "quay.io/redhat-developer/mapt:v0.9.9" aws openshift-snc create --backed-url "s3://francisco-test-test-ci-cluster-20251023-152611" --conn-details-output "/workspace" --pull-secret-file "/workspace/pull-secret.json" --project-name "test-ci-cluster-20251023-152611" --version "4.19.12" --spot --timeout "90m" --cpus "16" --memory "64"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the aws openshift-snc create CLI entry point and reproduce the supplied podman command with --timeout. Trace the timeout handling until the required-field validation error appears; done means the same command creates the SNC cluster without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cli, cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.