Skip to content

OCPEDGE-1891: Add redfish_verify_ca support #1757

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slintes
Copy link

@slintes slintes commented May 5, 2025

This is a follow up to metal3-io/metal3-dev-env#1528

For TNF we need to have a SSL secured redfish endpoint. The PR mentioned above adds support for creation of private key and certificate, configuration of sushy, and configuration of ironic's redfish driver.

This PR adds setting certificate verification for the BMH, based on the redfish_verify_ca option in ironic nodes json.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 5, 2025
Copy link

openshift-ci bot commented May 5, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign andfasano for approval. For more information see the Code Review Process.

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

Copy link

openshift-ci bot commented May 5, 2025

Hi @slintes. Thanks for your PR.

I'm waiting for a openshift-metal3 member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 5, 2025
@slintes slintes force-pushed the ssl branch 2 times, most recently from 8625810 to eb5b2bf Compare May 12, 2025 06:22
@slintes
Copy link
Author

slintes commented May 12, 2025

rebased on top of #1751 for easier testing

@slintes slintes changed the title [WIP] Add redfish SSL support Add redfish SSL support May 15, 2025
@slintes slintes marked this pull request as ready for review May 15, 2025 15:53
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 15, 2025
@openshift-ci openshift-ci bot requested review from andfasano and lranjbar May 15, 2025 15:53
With the updated version of metal3-dev-env, the redfish endpoint will be TLS secured,
with a self signed certificate. This will be indicated by the https protocol in the
redfish address, and a redfish_verify_ca field set to False. We need to configure BMHs
with disableCertificateVerification = true in this case.

Signed-off-by: Marc Sluiter <[email protected]>
@slintes
Copy link
Author

slintes commented May 15, 2025

Rebased on master and ready for review. Tested successfully with a TNF cluster with fence_redfish setup 🙂

@slintes slintes changed the title Add redfish SSL support Add redfish_verify_ca support May 15, 2025
@elfosardo
Copy link
Member

/ok-to-test

@openshift-ci openshift-ci bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 15, 2025
@elfosardo
Copy link
Member

/retest

@slintes slintes changed the title Add redfish_verify_ca support OCPEDGE-1891: Add redfish_verify_ca support May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test Indicates a non-member PR verified by an org member that is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants