tilt icon indicating copy to clipboard operation
tilt copied to clipboard

webui shows CrashLoopBackOff confusingly

Open landism opened this issue 4 years ago • 2 comments

This seems like a regression or slightly different case of #4258

Steps to Reproduce

  1. check out servantes
  2. edit hypothesizer/app.py and add some gobbledygook to make it invalid python (I put asdf on the first line of the if __name__ == 'main' block)
  3. tilt up hypothesizer
  4. open the web ui
  5. go to the hypothesizer resource view and click on "Errors (1)"

Expected Behavior

When the web ui error filter says there's an error and I click on it, it shows an error

Current Behavior

image image

  1. every time the pod crash loops, the filters at the top briefly flicker to "Errors (0) Warnings (1)" and then back to "Errors (1) Warnings(0)"
  2. When I click on "Errors (1)", the log is blank.

Context

tilt doctor Output

$ tilt doctor
Tilt: v0.20.2-dev, built 2021-05-10
System: darwin-amd64
---
Docker
- Host: [default]
- Version: 1.41
- Builder: 2
---
Kubernetes
- Env: kind-0.6+
- Context: kind-kind
- Cluster Name: kind-kind
- Namespace: default
- Container Runtime: containerd
- Version: v1.18.2
- Cluster Local Registry: {Host:localhost:50380 hostFromCluster: SingleName:}
- ```

#### About Your Use Case
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->

landism avatar May 11 '21 13:05 landism

I also spoke with a user on 3/1/21 who described an issue that may be similar, though it was just a verbal description with no repro steps. FWIW:

  • User sees Errors filter with number "(4)"
  • User selects Errors, but sees no data in logs

hyu avatar Jun 07 '21 14:06 hyu

Hello! This is currently biting me also. My pod is in CrashLoopBackOff state, because an import error in the service's code, totally not working, and Tilt only shows this as a warning, not an error :(

facundobatista avatar Mar 31 '25 13:03 facundobatista