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

OKD-239: Consolidate OpenStack and PowerVS hostname handling into mco-hostname script #4955

Open
wants to merge 1 commit into
base: release-4.18
Choose a base branch
from

Conversation

Prashanth684
Copy link
Contributor

Manual cherry-pick of #4866 needed for OKD

@Prashanth684
Copy link
Contributor Author

/cc @mdbooth @EmilienM

@openshift-ci openshift-ci bot requested review from EmilienM and mdbooth March 26, 2025 17:26
@EmilienM
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 26, 2025
@mdbooth
Copy link
Contributor

mdbooth commented Mar 27, 2025

/lgtm

@Prashanth684 but to be clear:

For OCP: backporting this fix is neutral. It will work fine with or without this change.

For OKD: backporting THIS FIX ALONE will allow OpenStack workers to retrieve metadata from the metadata service over a link local address. This covers the majority of OpenStack users. To retrieve metadata from a config drive also requires fedora-selinux/selinux-policy#2584. This covers the remaining minority of OpenStack users, but all PowerVS users.

@Prashanth684
Copy link
Contributor Author

/lgtm

@Prashanth684 but to be clear:

For OCP: backporting this fix is neutral. It will work fine with or without this change.

For OKD: backporting THIS FIX ALONE will allow OpenStack workers to retrieve metadata from the metadata service over a link local address. This covers the majority of OpenStack users. To retrieve metadata from a config drive also requires fedora-selinux/selinux-policy#2584. This covers the remaining minority of OpenStack users, but all PowerVS users.

Thanks for the clarity @mdbooth .

For OKD: backporting THIS FIX ALONE will allow OpenStack workers to retrieve metadata from the metadata service over a link local address. This covers the majority of OpenStack users

This is the case that has me backporting the fix to 4.18. I believe the selinux-policy fix is already present in Centos, i will need to verify, but i think we can live with that limitation till 4.19.

@Prashanth684
Copy link
Contributor Author

/retest

@Prashanth684 Prashanth684 added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Mar 27, 2025
@Prashanth684 Prashanth684 changed the title Consolidate OpenStack and PowerVS hostname handling into mco-hostname script OKD-239: Consolidate OpenStack and PowerVS hostname handling into mco-hostname script Mar 27, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 27, 2025

@Prashanth684: This pull request references OKD-239 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.18.z" version, but no target version was set.

In response to this:

Manual cherry-pick of #4866 needed for OKD

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 27, 2025
Copy link
Contributor

openshift-ci bot commented Mar 27, 2025

@Prashanth684: 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/e2e-azure-ovn-upgrade-out-of-change 19a888b link false /test e2e-azure-ovn-upgrade-out-of-change
ci/prow/e2e-gcp-op-techpreview 19a888b link false /test e2e-gcp-op-techpreview
ci/prow/e2e-vsphere-ovn-upi-zones 19a888b link false /test e2e-vsphere-ovn-upi-zones

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-sigs/prow repository. I understand the commands that are listed here.

@pablintino
Copy link
Contributor

The change looks good to me
(I do not have approve/review permissions)

@djoshy
Copy link
Contributor

djoshy commented Mar 31, 2025

/approve

Copy link
Contributor

openshift-ci bot commented Mar 31, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: djoshy, EmilienM, mdbooth, Prashanth684

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 Mar 31, 2025
@ptalgulk01
Copy link

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Apr 1, 2025
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. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.