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: upgrade Kubernetes client to v31.0.0 to match cluster version #72

Merged
merged 3 commits into from
Jan 29, 2025

Conversation

bodom0015
Copy link
Member

@bodom0015 bodom0015 commented Jan 29, 2025

Problem

"COMPLETED" events are being skipped due to an error:

2025-01-29 18:21:02,090 [services.kubejob_service] ERROR    Unknown exception - KubeWatcher reconnecting to Kube API: '>' not supported between instances of 'NoneType' and 'int'

Approach

  • fix: upgrade k8s client to v31.0.0 to match our Kubernetes version on the cluster: 1.31
  • fix: print stacktrace in the logs for Unknown exceptions in KubeWatcher
  • fix: adjust failure/completed case checks to avoid the NoneType comparison error above

How to Test

Deployed to mmli-backend-staging

  1. Navigate to https://clean.frontend.staging.mmli1.ncsa.illinois.edu
  2. Submit a new job:
>1234
asdf
  1. When job completes, you should see results

Copy link
Contributor

@ckouder ckouder left a comment

Choose a reason for hiding this comment

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

@bodom0015 bodom0015 merged commit 52997fe into main Jan 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants