Skip to content

Conversation

@eggfoobar
Copy link
Contributor

added support for creating install for clusters with arbiter nodes

In 4.19 of OCP, we will be supporting a deployment with Two Node Openshift with Arbiter on the baremetal platform, this PR adds the arbiter configuration to the metal scripts to help deploy and test arbiter topologies for baremetal.

For more details see EP: openshift/enhancements#1674

@openshift-ci openshift-ci bot requested review from bfournie and rwsu January 27, 2025 18:19
@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 Jan 27, 2025
@openshift-ci
Copy link

openshift-ci bot commented Jan 27, 2025

Hi @eggfoobar. 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.

@eggfoobar
Copy link
Contributor Author

eggfoobar commented Jan 27, 2025

/hold

Currently running int an odd issue where I'm not sure if it's a problem with the devscript or not. But the arbiter node takes around 10minutes to join the cluster because the inspecting phase takes too long. @zaneb Would you be able to know why that is?

I did create this PR in baremetal for the provisioning controller, but don't if I'm missing something else here. openshift/cluster-baremetal-operator#460

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 27, 2025
@iurygregory
Copy link
Contributor

/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 Jan 27, 2025
@zaneb
Copy link
Member

zaneb commented Jan 28, 2025

No idea about the inspection thing.

Creating a new node type and duplicating all of the config for it seems like a... high-maintenance way to do this. Couldn't we treat the arbiter node as a control-plane node everywhere except when generating the install config?

@eggfoobar eggfoobar force-pushed the arbiter-node-addition branch 3 times, most recently from b996866 to 3cb7d31 Compare February 21, 2025 03:00
@eggfoobar
Copy link
Contributor Author

Hey @zaneb and @dtantsur, thanks for the recommendations, I trimmed back all the additional files to only the required parts for deploying the arbiter node. Currently, we don't need much of the other features of the scripts here, so the changes only revolve around altering the install config and adding a new arbiter flavor that will only get triggered when the arbiter is enabled. The flavor addition of the arbiter is there to help create smaller arbiter nodes in CI since we wish to test the heterogenous deployment.

@eggfoobar
Copy link
Contributor Author

/unhold

The issue I had mentioned earlier has been resolved, no reason to have a hold on this PR anymore.

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 21, 2025
@elfosardo
Copy link
Member

/retest

@dtantsur
Copy link
Member

/approve

@eggfoobar could you add the new variables to https://github.com/openshift-metal3/dev-scripts/blob/master/config_example.sh with an explanation how to use them? (e.g. how to set NUM_MASTERS)

@openshift-ci
Copy link

openshift-ci bot commented Feb 25, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

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 Feb 25, 2025
@eggfoobar eggfoobar force-pushed the arbiter-node-addition branch from 3cb7d31 to f5d754b Compare February 25, 2025 13:26
@eggfoobar
Copy link
Contributor Author

/approve

@eggfoobar could you add the new variables to https://github.com/openshift-metal3/dev-scripts/blob/master/config_example.sh with an explanation how to use them? (e.g. how to set NUM_MASTERS)

Yeah absolutely, updated!

@eggfoobar eggfoobar force-pushed the arbiter-node-addition branch from f5d754b to e2f7f33 Compare February 25, 2025 13:29
@eggfoobar
Copy link
Contributor Author

/retest

1 similar comment
@eggfoobar
Copy link
Contributor Author

/retest

@eggfoobar
Copy link
Contributor Author

@dtantsur This should be all set now, thanks for the input!

added support for creating install for clusters with arbiter nodes
added arbiter flavor to allow using smaller compute sizes for testing
@eggfoobar eggfoobar force-pushed the arbiter-node-addition branch from e2f7f33 to eead82d Compare February 27, 2025 14:42
@derekhiggins
Copy link
Collaborator

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 27, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit c5b09db into openshift-metal3:master Feb 27, 2025
14 checks passed
@eggfoobar eggfoobar deleted the arbiter-node-addition branch March 5, 2025 22:10
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. lgtm Indicates that a PR is ready to be merged. 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.

6 participants