-
Notifications
You must be signed in to change notification settings - Fork 246
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
nats: stream not found #131
Comments
No, I don't believe you should have to create the stream. Do you perhaps need to specify the port in addition to the container hostname in the |
Using Same with |
That all looks fine - it seems that kine is functioning properly. Its possible that the "stream not found" error is an improperly wrapped return code from nats? I'd have to defer to the nats team, as they contributed the code. The |
Weird, I still get this, with
|
It looks like it's still there. Make sure you're wiping the nats datastore, otherwise you'll have stuff left over from the previous cluster instance. |
done. It looks like I only have |
Oh, I see you're starting k3s with both |
If I remove
|
Well you're also starting k3s with |
Yeah, it seems I removed it. I didn't intend to, but that must explain why the pods are running now. |
So just to be clear, it seems to work except there's still a |
I can't reproduce that, either using nats directly as the k3s datastore endpoint, or using a standalone kine instance. Do you perhaps have some stuff left over from a previous configuration? |
I don't think so. Note that I also tested running k3s+kine+nats on fly.io so I would guess there's no left over there, but I still get the message. Maybe I should try to reproduce it with a docker-compose file with all 3 service, with the image tags pinned. |
I am able to see the same error message using the latest k0s (v1.24.4+k0s) on a clean install. Steps to reproduce:
The cluster comes up successfully for me, but the logs keep repeating: I am testing on a Hetzner Cloud Machine, Rocky Linux 8.6 using Docker-CE to run NATS. |
I'm not sure how to help with k0s. Can you reproduce on k3s or a standalone instance of kine ? |
K0s embeds kine, so I assumed that wouldn't matter 😅
Wait for the cluster to settle and the same error as with k0s will start appearing in the logs. Test was conducted on the same host as k0s (After a full reset) Complete Bash History
|
@caleblloyd @boxboatmatt @jnmoyne can you assist on this? The error appears to be coming from the nats server. I suspect it is being configured incorrectly somehow? |
I wonder if this is from the I believe that |
Interesting. In that case, it should be fine to ignore the error for the time being? |
I'm getting this. k3s/kine/nats have been running for about 20 minutes.
{"level":"warn","ts":"2022-08-15T18:06:31.382Z","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000b161c0/127.0.0.1:2379","attempt":0,"error":"rpc error: code = Unknown desc = nats: stream not found"}
docker-compose.yaml
run k3s
log
Do I need to create a nats stream manually?
The text was updated successfully, but these errors were encountered: