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

[release-4.11] Bug 2104727: Fixes CFE-489 - AWS installer should go through proxy for s3 bootstrap ignition call #6090

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #5973

/assign sherine-k

awstfvars contain the Proxy struct from installConfig.
GenerateIgnitionShimWithCertBundleAndProxy replaces GenerateIgnitionShimWithCertBundle for AWS
GenerateIgnitionShimWithCertBundleAndProxy func is created under pkg/ignition/bootstrap/bootstrap_ignition.go as it becomes common with the Openstack use.
Another possibility is to keep it in pkg/tfvars/aws/bootstrap_ignition.go (no code sharing)

Fixes CFE-489 BZ-2090836
…use function GenerateIgnitionShimWithCertBundle

Instead of duplicating code between the 2 functions in pkg/asset/cluster/tfvars.go, a private generateIgnitionShimWithCertBundle is added, containing common code

Fixes CFE-489 BZ-2090836
…erateIgnitionShimWithCertBundle`

`GenerateIgnitionShimWithCertBundle` was used in Azure and Alibaba (other than in AWS)
In order to prepare for supporting proxy for other platforms, as discussed in the PR comments, this change replaces this function by `GenerateIgnitionShimWithCertBundleAndProxy`

Fixes CFE-489 BZ-2090836
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 7, 2022

@openshift-cherrypick-robot: Bugzilla bug 2090836 has been cloned as Bugzilla bug 2104727. Retitling PR to link against new bug.
/retitle [release-4.11] Bug 2104727: Fixes CFE-489 - AWS installer should go through proxy for s3 bootstrap ignition call

In response to this:

[release-4.11] Bug 2090836: Fixes CFE-489 - AWS installer should go through proxy for s3 bootstrap ignition call

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.

@openshift-ci openshift-ci bot changed the title [release-4.11] Bug 2090836: Fixes CFE-489 - AWS installer should go through proxy for s3 bootstrap ignition call [release-4.11] Bug 2104727: Fixes CFE-489 - AWS installer should go through proxy for s3 bootstrap ignition call Jul 7, 2022
@openshift-ci openshift-ci bot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Jul 7, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 7, 2022

@openshift-cherrypick-robot: This pull request references Bugzilla bug 2104727, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.11.0) matches configured target release for branch (4.11.0)
  • bug is in the state NEW, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
  • dependent bug Bugzilla bug 2090836 is in the state MODIFIED, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Bugzilla bug 2090836 targets the "4.12.0" release, which is one of the valid target releases: 4.12.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Bugzilla (yunjiang@redhat.com), skipping review request.

In response to this:

[release-4.11] Bug 2104727: Fixes CFE-489 - AWS installer should go through proxy for s3 bootstrap ignition call

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.

@openshift-ci openshift-ci bot requested review from jstuever and rna-afk July 7, 2022 03:47
@sherine-k
Copy link
Contributor

/test e2e-aws-proxy
/test okd-images
/test verify-codegen

@sherine-k
Copy link
Contributor

/test e2e-alibaba

@sherine-k
Copy link
Contributor

/test e2e-aws-proxy

@patrickdillon
Copy link
Contributor

/lgtm
/approve

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

openshift-ci bot commented Jul 7, 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

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 7, 2022
@sherine-k
Copy link
Contributor

/retest

@sdodson sdodson added the staff-eng-approved Indicates a release branch PR has been approved by a staff engineer (formerly group/pillar lead). label Jul 7, 2022
@sdodson
Copy link
Member

sdodson commented Jul 7, 2022

Adding staff-eng-approved after codefreeze on this functional change as discussions with Engineering and Docs indicate that it's much better for us to make this change prior to GA than to deal with post-GA change management process.

@sdodson
Copy link
Member

sdodson commented Jul 7, 2022

/refresh

@openshift-ci openshift-ci bot merged commit bd27fd8 into openshift:release-4.11 Jul 7, 2022
28 of 34 checks passed
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 7, 2022

@openshift-cherrypick-robot: All pull requests linked via external trackers have merged:

Bugzilla bug 2104727 has been moved to the MODIFIED state.

In response to this:

[release-4.11] Bug 2104727: Fixes CFE-489 - AWS installer should go through proxy for s3 bootstrap ignition call

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 7, 2022

@openshift-cherrypick-robot: all tests passed!

Full PR test history. Your PR dashboard.

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.

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. bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged. staff-eng-approved Indicates a release branch PR has been approved by a staff engineer (formerly group/pillar lead).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants