Skip to content

Support hcp upgrade #362

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

Merged
merged 4 commits into from
Mar 16, 2025
Merged

Conversation

mshitrit
Copy link
Member

@mshitrit mshitrit commented Feb 24, 2025

Why we need this PR

This feature aims to address the current limitations of NodeHealthCheck (NHC) in Hosted Control Planes (HCP). While NHC is operational in HCP, it lacks the ability to block or pause upgrades when nodes are unhealthy.

Changes made

In addition to previous checks, NHC will also compare "machineconfiguration.openshift.io/currentConfig" and "machineconfiguration.openshift.io/desiredConfig" on the CP node to decide whether an update is in progress.

Which issue(s) this PR fixes

OCPSTRAT-1828, RHWA-11

Test plan

Copy link
Contributor

openshift-ci bot commented Feb 24, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@mshitrit
Copy link
Member Author

/tests ?

@mshitrit
Copy link
Member Author

/test ?

Copy link
Contributor

openshift-ci bot commented Feb 24, 2025

@mshitrit: The following commands are available to trigger required jobs:

/test 4.14-ci-bundle-my-bundle
/test 4.14-images
/test 4.14-openshift-e2e
/test 4.14-test
/test 4.15-ci-bundle-my-bundle
/test 4.15-images
/test 4.15-openshift-e2e
/test 4.15-test
/test 4.16-ci-bundle-my-bundle
/test 4.16-images
/test 4.16-openshift-e2e
/test 4.16-test
/test 4.17-ci-bundle-my-bundle
/test 4.17-images
/test 4.17-openshift-e2e
/test 4.17-test
/test 4.18-ci-bundle-my-bundle
/test 4.18-images
/test 4.18-openshift-e2e
/test 4.18-test

Use /test all to run all jobs.

In response to this:

/test ?

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-sigs/prow repository.

@mshitrit
Copy link
Member Author

/test 4.17-openshift-e2e

1 similar comment
@mshitrit
Copy link
Member Author

/test 4.17-openshift-e2e

@mshitrit
Copy link
Member Author

/test 4.16-openshift-e2e

1 similar comment
@mshitrit
Copy link
Member Author

/test 4.16-openshift-e2e

@mshitrit mshitrit changed the title [WIP] Support hcp upgrade Support hcp upgrade Feb 28, 2025
@mshitrit mshitrit force-pushed the support-hcp-upgrade branch from 4a402a7 to 948d0ea Compare March 9, 2025 13:17
Copy link
Member

@slintes slintes left a comment

Choose a reason for hiding this comment

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

one nit, otherwise lgtm

Signed-off-by: Michael Shitrit <[email protected]>
@mshitrit mshitrit force-pushed the support-hcp-upgrade branch from 948d0ea to 3f18ff0 Compare March 10, 2025 08:54
@openshift-ci openshift-ci bot added the lgtm label Mar 10, 2025
Copy link
Contributor

openshift-ci bot commented Mar 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mshitrit, slintes

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

@mshitrit mshitrit marked this pull request as ready for review March 11, 2025 08:36
@openshift-ci openshift-ci bot requested review from razo7 and slintes March 11, 2025 08:37
@mshitrit
Copy link
Member Author

/test 4.16-openshift-e2e

@mshitrit
Copy link
Member Author

/test 4.16-openshift-e2e

@mshitrit
Copy link
Member Author

Testing after ocp testplatform team analyzed the issue and added a gpu

/test 4.16-openshift-e2e

@mshitrit
Copy link
Member Author

Tests are failing due to ECOPROJECT-2187

/override ci/prow/4.15-openshift-e2e
/override ci/prow/4.16-openshift-e2e
/override ci/prow/4.17-openshift-e2e
/override ci/prow/4.18-openshift-e2e

Copy link
Contributor

openshift-ci bot commented Mar 16, 2025

@mshitrit: Overrode contexts on behalf of mshitrit: ci/prow/4.15-openshift-e2e, ci/prow/4.16-openshift-e2e, ci/prow/4.17-openshift-e2e, ci/prow/4.18-openshift-e2e

In response to this:

Tests are failing due to ECOPROJECT-2187

/override ci/prow/4.15-openshift-e2e
/override ci/prow/4.16-openshift-e2e
/override ci/prow/4.17-openshift-e2e
/override ci/prow/4.18-openshift-e2e

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-sigs/prow repository.

@mshitrit
Copy link
Member Author

/override ci/prow/4.14-openshift-e2e

Copy link
Contributor

openshift-ci bot commented Mar 16, 2025

@mshitrit: Overrode contexts on behalf of mshitrit: ci/prow/4.14-openshift-e2e

In response to this:

/override ci/prow/4.14-openshift-e2e

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-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit dec8976 into medik8s:main Mar 16, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants