-
Notifications
You must be signed in to change notification settings - Fork 62
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
NACK Configuration issue #66
Comments
Following up from slack seems like a permissions issue? What are the permissions of the credentials? Is it across accounts or all in the same account? |
I'm experiencing a similar issue. |
I'm facing the same issue (at least the symptoms are identical). I used mTLS for the repro, it's documented here: jasper-d@bc5d472
I checked the certificates from nats-box, they look alright. All certificates ( CN = nats.default.svc.cluster.local, CN = nats-sys-user, CN = nack-a) use the same CA. When running
I do not understand much about Nats Accounts and NACK yet, but it looks like jetstream-controller is using the SYS accounts cert and that does not have the required permission. Now I'm wondering if this is a setup issue and SYS account should have these permissions or is NACK using the wrong client cert? After taking a brief look at nack/controllers/jetstream/stream.go Lines 70 to 101 in ccb5796
|
After debugging the controller, turned out I was missing the |
I think this need to be documented/publicized more. I've wasted a lot of trying trying to debug this problem until I got here. |
Hi,
i have installed the nats in the K8 using helm charts and configured the account using this link https://github.com/nats-io/k8s/blob/main/setup/nsc-setup.sh.
After i installed nacks, i am not able to create stream using Yaml. it is providing below error ( NACK is using the sys.creds via the K8 secret)
E0301 09:56:15.775121 1 controller.go:416] failed to process stream: failed to check if stream exists: context deadline exceeded
For sys account, even it is not listing the Streams
For others account it is able to list the streams,
How to resolve this system-account , Nack issues ?
The text was updated successfully, but these errors were encountered: