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

fix: allocated field in queue status is calcutated error #3199

Closed
wants to merge 2 commits into from

Conversation

shusley244
Copy link

The allocated field in the queue status should be calculated based on tasks with the status "bound", "binding", "allocated", and "running".

If the container is slow to be running status (such as stuck on image pull stage), we can't obtain the correct value for the allocated field from the queue status even if volcano is finished to scheduler the task.

@volcano-sh-bot
Copy link
Contributor

Welcome @shusley244!

It looks like this is your first PR to volcano-sh/volcano 馃帀.

Thank you, and welcome to Volcano. 😃

@volcano-sh-bot volcano-sh-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 13, 2023
@shusley244
Copy link
Author

shusley244 commented Nov 13, 2023

/assign @william-wang @shinytang6

@lowang-bh
Copy link
Member

/lgtm

Is there any test results?

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2023
@shusley244
Copy link
Author

shusley244 commented Nov 14, 2023

/lgtm

Is there any test results?

@lowang-bh yes, I applied the change to my prod environment one month ago, everything is fine.

…which status in bound, binding, allocated and running

Signed-off-by: qianjiajun <244058785@qq.com>
@volcano-sh-bot volcano-sh-bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2023
@shusley244 shusley244 marked this pull request as draft November 15, 2023 11:03
@shusley244 shusley244 marked this pull request as ready for review November 15, 2023 11:04
@shusley244
Copy link
Author

@lowang-bh can you review again ? I fixed the dco check.

@lowang-bh
Copy link
Member

/lgtm

@volcano-sh-bot volcano-sh-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 16, 2023
@shusley244
Copy link
Author

@k82cn @william-wang @hwdef
Would please help to review it?

@william-wang
Copy link
Member

@shusley244 Thanks for your contribution. please cherry-pick this pr to release-1.8 branch.

Copy link
Member

@william-wang william-wang left a comment

Choose a reason for hiding this comment

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

/approve

@volcano-sh-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lowang-bh, william-wang

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

@volcano-sh-bot volcano-sh-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 22, 2023
@shusley244
Copy link
Author

shusley244 commented Nov 22, 2023

@shusley244 Thanks for your contribution. please cherry-pick this pr to release-1.8 branch.

ok, thanks for your approve. FOSSA action failed, can you retry it? or I will close this pr when new pr is approved~

new pr: #3221

@Monokaix
Copy link
Member

/close

@volcano-sh-bot
Copy link
Contributor

@Monokaix: Closed this PR.

In response to this:

/close

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/test-infra repository.

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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants