Skip to content

IBMCloud: BYON Enablement - InstallConfig#6050

Merged
openshift-ci[bot] merged 1 commit intoopenshift:masterfrom
cjschaef:ibmcloud_byon_config_options
Jul 14, 2022
Merged

IBMCloud: BYON Enablement - InstallConfig#6050
openshift-ci[bot] merged 1 commit intoopenshift:masterfrom
cjschaef:ibmcloud_byon_config_options

Conversation

@cjschaef
Copy link
Member

Setup enablement for Bring Your Own Network support on IBM Cloud
using IPI. This portion focuses on adding support for the
required values in the InstallConfig, and performing simple
validation of those resources provided.

@openshift-ci openshift-ci bot requested review from r4f4 and rna-afk June 27, 2022 18:20
@cjschaef cjschaef force-pushed the ibmcloud_byon_config_options branch 5 times, most recently from 90b2f2c to d902b35 Compare June 27, 2022 19:14
@cjschaef
Copy link
Member Author

cjschaef commented Jun 27, 2022

This requires #6046 changes

Update: That change is now merged

@jeffnowicki
Copy link
Contributor

/cc @rvanderp3

@openshift-ci openshift-ci bot requested a review from rvanderp3 July 1, 2022 15:05
@cjschaef cjschaef force-pushed the ibmcloud_byon_config_options branch from d902b35 to cbdfc76 Compare July 1, 2022 15:18
@cjschaef
Copy link
Member Author

cjschaef commented Jul 1, 2022

After rebasing off the Regional URL fix, I am still missing a regional url call

ERROR failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: [platform.ibmcloud.controlPlaneSubnets: Not found: "existing-network-1-us-east-1", platform.ibmcloud.controlPlaneSubnets: Not found: "existing-network-1-us-east-2", platform.ibmcloud.controlPlaneSubnets: Not found: "existing-network-1-us-east-3", platform.ibmcloud.computeSubnets: Not found: "existing-compute-network-1-us-east-1", platform.ibmcloud.computeSubnets: Not found: "existing-compute-network-1-us-east-2", platform.ibmcloud.computeSubnets: Not found: "existing-compute-network-1-us-east-3"]

I'll see about getting that fixed in this PR

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 1, 2022
@cjschaef cjschaef force-pushed the ibmcloud_byon_config_options branch from cbdfc76 to 273656b Compare July 1, 2022 16:10
@cjschaef
Copy link
Member Author

cjschaef commented Jul 1, 2022

I believe I resolved the remaining issues after the rebase off #6046

# bin/openshift-install version
bin/openshift-install unreleased-master-6173-g273656b43019522d2eeebcd5f367c50e473a7f4b
built from commit 273656b43019522d2eeebcd5f367c50e473a7f4b
release image registry.ci.openshift.org/origin/release:4.11
release architecture amd64

# yq '.platform.ibmcloud' cluster-deploys/cjs-test-107/install-config.yaml 
region: us-east
resourceGroupName: existing-network-1
vpcName: existing-network-1-vpc
controlPlaneSubnets:
  - existing-network-1-us-east-1
  - existing-network-1-us-east-2
  - existing-network-1-us-east-3
computeSubnets:
  - existing-compute-network-1-us-east-1
  - existing-compute-network-1-us-east-2
  - existing-compute-network-1-us-east-3

# bin/openshift-install create manifests --dir cluster-deploys/cjs-test-107
INFO Consuming Install Config from target directory 
INFO Manifests created in: cluster-deploys/cjs-test-107/manifests and cluster-deploys/cjs-test-107/openshift

/unhold

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 1, 2022
Copy link
Contributor

@rvanderp3 rvanderp3 left a comment

Choose a reason for hiding this comment

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

found a few nits, otherwise lgtm

Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to break out of the loop if we've found the desired VPC?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, let me add that post validateExistingSubnets

Copy link
Member Author

Choose a reason for hiding this comment

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

added

Copy link
Contributor

@rvanderp3 rvanderp3 Jul 5, 2022

Choose a reason for hiding this comment

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

is a nil check redundant here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

Copy link
Contributor

Choose a reason for hiding this comment

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

is a nil check redundant here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@cjschaef
Copy link
Member Author

Sorry, will get to these soon, have been on other non-IPI duties

Setup enablement for Bring Your Own Network support on IBM Cloud
using IPI. This portion focuses on adding support for the
required values in the InstallConfig, and performing simple
validation of those resources provided.
@cjschaef cjschaef force-pushed the ibmcloud_byon_config_options branch from 273656b to 60aeec4 Compare July 13, 2022 15:22
@rvanderp3
Copy link
Contributor

/lgtm
/assign @patrickdillon

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

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 13, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: patrickdillon

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 13, 2022
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 2 against base HEAD 9256b2e and 8 for PR HEAD 60aeec4 in total

@jeffnowicki
Copy link
Contributor

/retest

1 similar comment
@jeffnowicki
Copy link
Contributor

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 14, 2022

@cjschaef: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-libvirt 60aeec4 link false /test e2e-libvirt
ci/prow/e2e-ibmcloud 60aeec4 link false /test e2e-ibmcloud

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-ci openshift-ci bot merged commit a6700b0 into openshift:master Jul 14, 2022
@cjschaef cjschaef deleted the ibmcloud_byon_config_options branch August 10, 2022 18:04
cjschaef pushed a commit to cjschaef/installer that referenced this pull request Aug 10, 2022
…options

IBMCloud: BYON Enablement - InstallConfig
@cjschaef
Copy link
Member Author

cjschaef commented Aug 29, 2022

/rettitle CORS-2263: IBMCloud: BYON Enablement - InstallConfig

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