Skip to content

Configure CPU requests for ODF for SMT alignment. - #930

Open
yprokule wants to merge 1 commit into
openshift-kni:mainfrom
yprokule:rds-odf-smt-alignment
Open

yprokule wants to merge 1 commit into
openshift-kni:mainfrom
yprokule:rds-odf-smt-alignment

Conversation

@yprokule

Copy link
Copy Markdown
Contributor

When the pod is scheduled to the nodes with hyperthreading (SMT) enabled, pod scheduling fails with error:

Pod was rejected: SMT Alignment Error: requested 1 cpus not multiple cpus per core = 2

When the pod is scheduled to the nodes with hyperthreading (SMT) enabled,
pod scheduling fails with error:
Pod was rejected: SMT Alignment Error: requested 1 cpus not multiple cpus per core = 2

Signed-off-by: Yurii Prokulevych <yprokule@redhat.com>
@openshift-ci
openshift-ci Bot requested review from SchSeba and fedepaol August 24, 2026 11:32
@openshift-ci

openshift-ci Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

The full list of commands accepted by this bot can be found here.

Details 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

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 52 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b2245112-b256-4389-b287-0e328788eaa9

📥 Commits

Reviewing files that changed from the base of the PR and between 6fdaa25 and 039a1c3.

📒 Files selected for processing (1)
  • telco-core/configuration/core-overlay.yaml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yprokule

Copy link
Copy Markdown
Contributor Author

/assign @imiller0

resources:
noobaa-db:
limits:
cpu: "2"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The default installation (on my cluster) uses 500m which would be fractional CPU and likely would not trigger this SMT issue (since it isn't pinned). Did you override noobaa to 1 cpu in triggering this issue?

@imiller0

imiller0 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

This PR is pending the outcome of a review of ODF config. It should work correctly in a cluster with single-numa-node scheduling constraint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants