Skip to content

Conversation

@BobbyRadford
Copy link
Contributor

@BobbyRadford BobbyRadford commented Jun 23, 2021

This PR is a followup to the IBM Cloud Scaffolding PR: #4923

It includes additional implementation to support executing openshift-install create manifests|ignition-configs|cluster. A full terraform implementation is included for cluster creation and bootstrap destroy. All manifests code has at least been stubbed out to support the IBMCloud platform. The IBM cluster API provider has been pulled in to support Machine/MachineSet provisioning.

Future work will flesh out the remaining implementation.

Enhancement doc: openshift/enhancements#773

Many of the commits are iterative improvements over earlier ones in the PR. If it would be more helpful to squash things down to one commit (excluding mod/vendors) I can certainly do that. Apologies for all the vendor changes! 😬

@openshift-ci openshift-ci bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jun 23, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 23, 2021

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot requested review from patrickdillon and rna-afk June 23, 2021 13:50
@BobbyRadford BobbyRadford marked this pull request as ready for review June 24, 2021 14:04
@openshift-ci openshift-ci bot removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jun 24, 2021
@BobbyRadford
Copy link
Contributor Author

/assign @jstuever

@BobbyRadford BobbyRadford marked this pull request as draft June 24, 2021 15:16
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 24, 2021
@BobbyRadford BobbyRadford force-pushed the ibm-cluster-creation branch from 776c8e1 to 941d8ea Compare June 24, 2021 15:29
@hasueki hasueki force-pushed the ibm-cluster-creation branch from fbc2de1 to 70bb491 Compare June 24, 2021 21:08
@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 28, 2021
BobbyRadford and others added 15 commits June 28, 2021 16:54
Shim out the manifest generation code to support the IBMCloud platform.
We will come back in subsequent commits to flesh out logic for all of
the manifests.
Support the Cloud Credentials Operator by storing creds in the
proper manifests.
This is a first pass at the cloud-provider-config manifest generation.
As the requirements for this come into focus, I'm sure this will need to
change.

Co-authored-by: Hidematsu Sueki <[email protected]>
* wip: terraform wiring

* ibmcloud: dependencies for terraform-provider-ibm

* temp: Disable PlatformQuotaCheck

* fix(terraform): Update to work with installer

* feat(ibmcloud): Generate TF variables

* chore(ibmcloud): Placeholder for bootstrap removal

* chore: Remove ./_temp dependency

* chore: Reword TODO comments

Co-Authored-By: Bobby Radford <[email protected]>

* Revert "temp: Disable PlatformQuotaCheck"

This reverts commit 29899cd0ff2e334dcfa29846495ad161533924a8.

* chore(ibmcloud): Add placeholder for quota checks

* fix(ibmcloud): Create resource group if set to empty

Co-authored-by: Bobby Radford <[email protected]>
This commit automates the custom image upload and creation for VPC
VSIs. Inspiration was taken from the vsphere platform to implement
this using Terraform. This commit eliminates the custom image
prerequisite from IBM Cloud

* fix: printer test

* fix: terraform improvements

Co-authored-by: Hidematsu Sueki <[email protected]>
Add IBMCloud Metadata to the InstallConfig asset. This is used to
compute things like the CISInstanceCRN using other user provided
data.
@hasueki hasueki force-pushed the ibm-cluster-creation branch from 70bb491 to 110913c Compare June 28, 2021 21:17
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 28, 2021
@BobbyRadford BobbyRadford marked this pull request as ready for review June 28, 2021 21:18
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 28, 2021
@hasueki hasueki force-pushed the ibm-cluster-creation branch from 110913c to 79dda88 Compare June 28, 2021 21:30
@hasueki hasueki force-pushed the ibm-cluster-creation branch from 79dda88 to f71d18f Compare June 28, 2021 21:36
Copy link
Contributor

@jstuever jstuever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks solid. A couple minor tweaks.

@jstuever
Copy link
Contributor

jstuever commented Jul 2, 2021

/retest

@BobbyRadford
Copy link
Contributor Author

@jstuever Thanks for the review. We'll be working on fixes to address your comments this afternoon.

@BobbyRadford
Copy link
Contributor Author

@jstuever Anything left for us to touch up?

@jstuever
Copy link
Contributor

jstuever commented Jul 6, 2021

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 6, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 6, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jstuever

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 6, 2021
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

4 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 6, 2021

@BobbyRadford: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-crc 7611c0d link /test e2e-crc
ci/prow/e2e-aws-workers-rhel7 7611c0d link /test e2e-aws-workers-rhel7
ci/prow/e2e-libvirt 7611c0d link /test e2e-libvirt

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit e703cde into openshift:master Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants