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

Log message on abortStartup due to unexpected model loading failures #132

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

Legion2
Copy link
Contributor

@Legion2 Legion2 commented Jan 21, 2024

Motivation

Help debugging unready condition of modelmesh in case of model loading failures.
The logged message helps to pinpoint the root cause of unready condition.
Fix #100

Modifications

Log a message in isReady check explaining the cause of NOT READY condition.
There are already logs for the other NOT READY conditions.

Result

Returning NOT READY to readiness probe due to unexpected model loading failures is logged when there are model loading issues during startup.

Signed-off-by: Leon Kiefer <leon.k97@gmx.de>
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

oss-prow-bot bot commented Mar 12, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ckadner, Legion2, rafvasq

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

@ckadner ckadner merged commit d2ddb64 into kserve:main Mar 12, 2024
7 checks passed
@Legion2 Legion2 deleted the log-abort-startup branch March 12, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log reason for unready model mesh container
3 participants