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

Allow settting vCenter cluster per Machine Pool #2519

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

Conversation

lukaspj
Copy link

@lukaspj lukaspj commented Nov 14, 2024

Inspiration for incoming ticket.

We experienced our infrastructure team changing the name of the vCenter cluster, which means we can't provision new machines because the "resource pool" path was wrong, so we got this error:
image

We need a change that would allow us to override this field per-MachinePool so we are able to patch our MachineSets to create Machines again.

NB: I haven't tested this change, it's only for facilitating discussion

@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 Nov 14, 2024
Copy link
Contributor

openshift-ci bot commented Nov 14, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lukaspj
Once this PR has been reviewed and has the lgtm label, please assign suhanime for approval. For more information see the Kubernetes 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
Contributor

openshift-ci bot commented Nov 14, 2024

Hi @lukaspj. Thanks for your PR.

I'm waiting for a openshift 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.

@2uasimojo
Copy link
Member

  • Is it a common/frequent thing to rename the vcenter cluster?
  • Assuming the OCP cluster uses a single failure domain (hive does not yet support multiple), is it possible for worker machines to be deployed across different vcenter clusters for the same OCP cluster?

Assuming the answer to both is "no", I think it makes sense in this case to update the Cluster in the ClusterDeployment configuration to match what was done to the vCenter. (This requires working around our webhook, which is not something we want you to do without your support agent's guidance.)

@lukaspj
Copy link
Author

lukaspj commented Nov 14, 2024

It’s an exceptional change that is not expected to happen again but evidently, we can’t be sure.

we generally only have one vCenter cluster per vSphere server, the failure domains are handled transparently by our compute team at a vm level

Edit: so yes, no to both questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants