You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using NATS operator and the ServiceRole creation in an automation workflow, where a bunch of new ServiceRoles get created in rapid succession. I am noticing that the server logs do show that the authorization users and the server config get reloaded, but appear to do so on on prematurely missing update-triggers on creation of subsequent ServiceRoles.
I am attaching the server logs that highlight this issue:
As you probably guessed, the reloading triggered on creation of user nats-volta-1, but it failed to trigger again for subsequent objects 2-through-5. As a result the authorization failed for each of them. All objects 1-through-5 were created together in one call.
I also confirmed by creating a new object, which triggered reloading of server config and the authZ errors shown above disappeared.
I would like to know if it is possible to do something in the short run to avoid this issue such as a server config that I might be missing.
Appreciate all your help and really loving the fact that NATS is available as an operator. Thank you so much!
The text was updated successfully, but these errors were encountered:
Thanks @sdeoras for the report, there might be a bug in the reloader... One workaround that could be done is to send the reload signal out of band via kubectl exec like this.
@wallyqs: Another auth question. Prior to creation of the first ServiceRole the clients are able to connect in an unauthenticated manner. Is this an expected behavior and is there a way to turn it off such that server always denies unauthenticated client connections. Even after creation of the first service role it takes a bit before auth kicks in (as you see below), which I am guessing is the reconciliation delay, but it would be good to always deny connections by default if auth switch is enabled.
I am using NATS operator and the ServiceRole creation in an automation workflow, where a bunch of new ServiceRoles get created in rapid succession. I am noticing that the server logs do show that the authorization users and the server config get reloaded, but appear to do so on on prematurely missing update-triggers on creation of subsequent ServiceRoles.
I am attaching the server logs that highlight this issue:
As you probably guessed, the reloading triggered on creation of user
nats-volta-1
, but it failed to trigger again for subsequent objects 2-through-5. As a result the authorization failed for each of them. All objects 1-through-5 were created together in one call.I also confirmed by creating a new object, which triggered reloading of server config and the authZ errors shown above disappeared.
I would like to know if it is possible to do something in the short run to avoid this issue such as a server config that I might be missing.
Appreciate all your help and really loving the fact that NATS is available as an operator. Thank you so much!
The text was updated successfully, but these errors were encountered: