-
Notifications
You must be signed in to change notification settings - Fork 49
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
Spin app with Redis trigger stuck in crash loop with no useful logs #201
Comments
Could you please provide containerd logs? |
Well this is embarrassing. I went back to grab containerd logs for you and found the solution. Turns out it there was a log line I had missed:
This made me realize I hadn't been rerunning
I resolved this by adding the password of the Redis server to the URL and then it worked as expected. I guess that I just didn't notice the relevant log line the first time around. Related to #198 though, I wonder if there is any way that the containerd logs can be made more accessible. Execing into the node isn't very convenient or obvious. @Mossaka it'd be great to hear if you have any thoughts on improving the findability of the containerd logs but otherwise I'm closing this issue. |
Oh thanks!
yes, stuff like this should go into the pod log. |
Is there a clear path to getting these containerd logs into the pod logs? Do you want me to write something up in #198 tracking this? |
That's okay. I can just re-open this issue to track.
The trigger hook provided by spin runtime may help? I am not entirely clear though. |
I'm having trouble running a Spin app with the Redis trigger. The app is stuck in a crash loop. No Spin logs are being produced. Using the steps in #197 the last
containerd-shim-spin
log line I see is>>> running spin trigger
.My app source code is as follows:
helm install redis bitnami/redis
.My hunch is that I'm configuring the Redis trigger address incorrectly, but I'm not unsure how to debug further because I'm not getting any useful logs. Is there a way to turn on more verbose tracing/logging?
The text was updated successfully, but these errors were encountered: