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

Backport #6674: Prevent bare metal machine config references from changing to existing machine configs #6686

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

chrisdoherty4
Copy link
Contributor

@chrisdoherty4 chrisdoherty4 commented Sep 15, 2023

Manual backport of #6674.

@chrisdoherty4 chrisdoherty4 changed the base branch from main to release-0.17 September 15, 2023 14:49
@eks-distro-bot eks-distro-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 15, 2023
@eks-distro-bot
Copy link
Collaborator

eks-distro-bot commented Sep 15, 2023

@chrisdoherty4: 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
eks-anywhere-release-tooling-test-presubmit ab6f8b5 link true /test eks-anywhere-release-tooling-test-presubmit
eks-anywhere-e2e-validate-tinkerbell-hardware-presubmit ab6f8b5 link true /test eks-anywhere-e2e-validate-tinkerbell-hardware-presubmit
eks-anywhere-docs-presubmit ab6f8b5 link true /test eks-anywhere-docs-presubmit
eks-anywhere-e2e-presubmit ab6f8b5 link true /test eks-anywhere-e2e-presubmit
eks-anywhere-cluster-controller-tooling-presubmit ab6f8b5 link true /test eks-anywhere-cluster-controller-tooling-presubmit
eks-anywhere-release-tooling-presubmit ab6f8b5 link true /test eks-anywhere-release-tooling-presubmit

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.

Comment on lines +264 to 266
if desiredDCCfgSpec.OSImageURL != currentDCCfg.Spec.OSImageURL {
return fmt.Errorf("spec.OSImageURL is immutable. Previous value %s, New value %s", currentDCCfg.Spec.OSImageURL, desiredDCCfgSpec.OSImageURL)
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

In release-0.17 we validate the OSImageURL is unchanged (see removed l.287). In mainline we removed this check to accommodate upgrades to Ubuntu 22.04.

@chrisdoherty4
Copy link
Contributor Author

/retest

@chrisdoherty4 chrisdoherty4 changed the title Back port #6674 Backport #6674 Sep 15, 2023
@chrisdoherty4 chrisdoherty4 requested a review from a team September 15, 2023 14:54
@chrisdoherty4 chrisdoherty4 changed the title Backport #6674 Backport #6674: Prevent bare metal machine config references from changing to existing machine configs Sep 15, 2023
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release-0.17@df2378c). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff               @@
##             release-0.17    #6686   +/-   ##
===============================================
  Coverage                ?   75.52%           
===============================================
  Files                   ?      455           
  Lines                   ?    37934           
  Branches                ?        0           
===============================================
  Hits                    ?    28650           
  Misses                  ?     7674           
  Partials                ?     1610           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrisdoherty4
Copy link
Contributor Author

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrisdoherty4

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

@eks-distro-bot eks-distro-bot merged commit 59022e4 into aws:release-0.17 Sep 18, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants