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

Merge main into v0 #96

Merged
merged 10 commits into from
Feb 12, 2024
Merged

Merge main into v0 #96

merged 10 commits into from
Feb 12, 2024

Conversation

mresvanis
Copy link
Member

@mresvanis mresvanis commented Feb 12, 2024

After this PR is merged we can go ahead and revert this LCA PR.

This change ensures that unnecessary and time-consuming OCP
control-plane component rollouts are skipped. They are triggered by the
node's IP change, which occurs when applying an IBU seed image onto the
target SNO.

Specifically, the changes are:

- add a new recert configuration argument of type string, i.e.
  --ip with which the new ip is provided
- add an ip_rename mod, which implements the following changes:
   - replace all occurrences of the previous (seed node) ip in etcd
   - replace all occurrences of the previous (seed node) ip in the
     filesystem (this is currently just a stub, since it's [done](https://github.com/openshift-kni/lifecycle-agent/blob/3f447f629cf73a25a350c1c2cc88d95bf2a31956/lca-cli/postpivot/postpivot.go#L232-L236) by LCA already)
Implement ocp postprocess IP rename
Accidentally user cluster_domain where it should have been the infra-ID,
this caused a KCM rollout
Typo in hostname rename
These annotations could be a cause for rollouts, so for now avoid them
as avoiding rollout is more important than having those annotations
Disable recert-edited annotations
We don't want to silently ignore them, it defeats user expectations
Unknown config keys should be an error
@mresvanis mresvanis requested a review from omertuc February 12, 2024 16:03
Copy link

openshift-ci bot commented Feb 12, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mresvanis

The full list of commands accepted by this bot can be found 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

@mresvanis mresvanis requested a review from eranco74 February 12, 2024 16:03
@mresvanis
Copy link
Member Author

/test baremetalds-sno-recert-cluster-rename
/test e2e-aws-ovn-single-node-recert-serial
/test e2e-aws-ovn-single-node-recert-parallel

@omertuc
Copy link
Member

omertuc commented Feb 12, 2024

It's just fast forward, no need for CI, since it already ran on main, no novel merge commits

@omertuc omertuc merged commit 7ebff3b into v0 Feb 12, 2024
1 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants