Uploaded image for project: 'OpenShift Installer'
  1. OpenShift Installer
  2. CORS-1704

Refactor ipi-conf-aws step to support running under different AWS accounts

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • None
    • False
    • 5
    • None
    • None
    • Sprint 200, Sprint 201, Sprint 202

      Related cards: https://issues.redhat.com/browse/DPTP-2102

      Currently, the ipi-conf-aws step can run under a specific AWS account. Recently another AWS project has been created for the same purposes but the step fails to run.

      Some of the main reasons are:

      Workaround suggestions by mstaeble:

      • Don't rely on pre-created VPCs but instead, we could have the steps create a new VPC and other necessary resources as needed.
      • Add `awscli` command to step image:
        • Use the UPI CI image, which already has the `aws` command.
        • Or install `awscli` as part of the step.
      • We should be able to use a random subset of availability zones, in general, rather than hard-coding specific availability zones. This would require querying AWS for the list of AZs available in the region for the account being used. For cases where the steps are using pre-existing resources that are bound to specific AZs, such as subnets, then the steps would need to query AWS for the details of those resources to determine which availability zones must be used.

              etiennesimard Etienne Simard (Inactive)
              nmoraiti Nikolaos Moraitis
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: