Skip to content

[Quota management] Fix reason message for AWs submitted without quotas #354

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

Closed
asm582 opened this issue May 9, 2023 · 2 comments
Closed
Assignees
Labels
bug Something isn't working quota-management

Comments

@asm582
Copy link
Member

asm582 commented May 9, 2023

When Quota management is enabled and AWs are submitted without quota appwrapper shows cryptic reason message, please find below:

Status:
  Conditions:
    Last Transition Micro Time:  2023-05-09T17:44:57.907031Z
    Last Update Micro Time:      2023-05-09T17:44:57.907030Z
    Status:                      True
    Type:                        Init
    Last Transition Micro Time:  2023-05-09T17:44:57.907178Z
    Last Update Micro Time:      2023-05-09T17:44:57.907178Z
    Reason:                      AwaitingHeadOfLine
    Status:                      True
    Type:                        Queueing
    Last Transition Micro Time:  2023-05-09T17:44:57.913960Z
    Last Update Micro Time:      2023-05-09T17:44:57.913960Z
    Reason:                      FrontOfQueue.
    Status:                      True
    Type:                        HeadOfLine
    Last Transition Micro Time:  2023-05-09T17:44:57.919825Z
    Last Update Micro Time:      2023-05-09T17:44:57.919825Z
    Message:                     Insufficient quota to dispatch AppWrapper.
    Reason:                      AppWrapperNotRunnable. consumer NAMESPACE_default_AWNAME_defaultaw-schd-spec-with-timeout-1 already allocated on forest MCAD-CONTROLLER-FOREST
    Status:                      True
    Type:                        Backoff
  Controllerfirsttimestamp:      2023-05-09T17:44:57.906880Z
  Filterignore:                  true
  Queuejobstate:                 HeadOfLine
  Sender:                        before ScheduleNext - setHOL
  State:                         Pending
  Systempriority:                9
Events:                          <none>
@tardieu
Copy link
Member

tardieu commented Jun 19, 2023

Default quotas should help with this situation #396 assuming the quota tree has a default node.

@z103cb
Copy link
Contributor

z103cb commented Jun 21, 2023

This issue has been closed by #396 and #397

@z103cb z103cb closed this as completed Jun 21, 2023
@z103cb z103cb added the bug Something isn't working label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working quota-management
Projects
Development

No branches or pull requests

4 participants