Skip to content

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

Closed
@asm582

Description

@asm582

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>

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions