Skip to content

Commit d2ddb64

Browse files
authored
chore: Log message on abortStartup due to unexpected model loading failures (kserve#132)
To help debugging unready condition in case of model loading failures. The logged message helps to pinpoint the root cause of unready condition. Fixes kserve#100 ----- Signed-off-by: Leon Kiefer <[email protected]>
1 parent eaa2fde commit d2ddb64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/ibm/watson/modelmesh/ModelMesh.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@ boolean isLeader() {
13091309
@Override
13101310
protected boolean isReady() {
13111311
if (abortStartup) {
1312+
logger.info("Returning NOT READY to readiness probe due to unexpected model loading failures");
13121313
return false;
13131314
}
13141315
// called only post-initialization

0 commit comments

Comments
 (0)