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

OCPBUGS-45663: dynamically setting the amount of fault domains #124

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

Conversation

sunzhaohua2
Copy link

@sunzhaohua2 sunzhaohua2 commented Dec 6, 2024

I tried to dynamically set the amount of fault domains, install cluster with this pr on region "northcentralus", after installation scale up machineset, I can see the amount of fault domains is 3 instead of 2. https://drive.google.com/file/d/1Rc1zCKts0gywhF_HyaoKm-xPfN_Snr-n/view?usp=sharing

@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 Dec 6, 2024
@openshift-ci openshift-ci bot requested review from nrb and sub-mod December 6, 2024 13:11
@sunzhaohua2 sunzhaohua2 force-pushed the 45663 branch 2 times, most recently from ba3944b to ce4728d Compare December 9, 2024 06:46
@sunzhaohua2 sunzhaohua2 changed the title [WIP] dynamically setting the amount of fault domains OCPBUGS-45663: dynamically setting the amount of fault domains Dec 11, 2024
@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 Dec 11, 2024
@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Dec 11, 2024
@openshift-ci-robot
Copy link

@sunzhaohua2: This pull request references Jira Issue OCPBUGS-45663, which is invalid:

  • expected the bug to target the "4.19.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

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.

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

this mostly makes sense to me, i have a question and suggestion

skuI, err := skuService.Get(ctx, skuSpec)
if err != nil {
if errors.Is(err, resourceskus.ErrResourceNotFound) {
return machinecontroller.InvalidMachineConfiguration("failed to obtain availability set information for Aligned '%s' from Azure: %s", skuSpec.Name, err)
Copy link
Contributor

Choose a reason for hiding this comment

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

what does "Aligned" mean here?

Copy link
Author

Choose a reason for hiding this comment

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

@elmiko Thank you for helping review, I updated, "Aligned" mean Aligned SKU type.


sku := skuI.(resourceskus.SKU)

fmt.Printf("Capabilities: %+v\n", sku.Capabilities)
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be a log call, perhaps klog.Infof("Capabilities: %+v\n", sku.Capabilities)

Copy link
Contributor

openshift-ci bot commented Dec 13, 2024

[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 nrb 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
Contributor

openshift-ci bot commented Dec 13, 2024

@sunzhaohua2: The following test 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/okd-scos-e2e-aws-ovn 79697f5 link false /test okd-scos-e2e-aws-ovn

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants