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

Pass imagerefs to mco #1773

Merged
merged 2 commits into from Sep 30, 2022

Conversation

csrwng
Copy link
Contributor

@csrwng csrwng commented Sep 30, 2022

What this PR does / why we need it:
In 4.12, the way the MCO is bootstrapped changed to take a single
image-references file instead of individual image flags. This commit
modifies the ignition-server to follow the same pattern when invoking
the MCO in bootstrap mode.

Includes the changes in #1764 so we can pass e2e

The MCO changes were introduced here: openshift/machine-config-operator#3286
and corresponding installer change here: openshift/installer#6234

Checklist

  • Subject and description added to both, commit and PR.

sjenning and others added 2 commits September 28, 2022 15:28
In 4.12, the way the MCO is bootstrapped changed to take a single
image-references file instead of individual image flags. This commit
modifies the ignition-server to follow the same pattern when invoking
the MCO in bootstrap mode.
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 30, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csrwng

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 Sep 30, 2022
@cgwalters
Copy link
Member

Looks great to me! I am not sure how I somehow went off the rails on #1768

p := &controllers.LocalIgnitionProvider{
Client: cl,
ReleaseProvider: &releaseinfo.RegistryClientProvider{},
CloudProvider: "",
Namespace: o.Namespace,
WorkDir: o.WorkDir,
PreserveOutput: true,
ImageFileCache: imageFileCache,
Copy link
Member

Choose a reason for hiding this comment

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

I don't see where this is used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is for local debugging/testing

@@ -3,6 +3,7 @@ package cmd
import (
Copy link
Member

Choose a reason for hiding this comment

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

any chance to reference the mco PR that force us to do this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added to the PR desc

@enxebre
Copy link
Member

enxebre commented Sep 30, 2022

/lgtm

@csrwng
Copy link
Contributor Author

csrwng commented Sep 30, 2022

Only Upgrade test failed in e2e-aws which is expected. Previous versions of the control plane operator will not come up without the changes in this PR.
/override ci/prow/e2e-aws

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 30, 2022

@csrwng: Overrode contexts on behalf of csrwng: ci/prow/e2e-aws

In response to this:

Only Upgrade test failed in e2e-aws which is expected. Previous versions of the control plane operator will not come up without the changes in this PR.
/override ci/prow/e2e-aws

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-merge-robot openshift-merge-robot merged commit cd26ead into openshift:main Sep 30, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 30, 2022

@csrwng: 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/kubevirt-e2e-kubevirt-azure-ovn 692486f link false /test kubevirt-e2e-kubevirt-azure-ovn
ci/prow/kubevirt-e2e-kubevirt-gcp-ovn 692486f link false /test kubevirt-e2e-kubevirt-gcp-ovn
ci/prow/capi-provider-agent-sanity 692486f link false /test capi-provider-agent-sanity

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.

@csrwng csrwng deleted the pass_imagerefs_to_mco branch July 14, 2023 19:35
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.

None yet

5 participants