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
but I keep getting this error (see below: 403 denied):
2023-06-16T13:03:40.395Z DEBUG netreap/main.go:124 Starting node reaper
2023-06-16T13:03:40.395Z DEBUG reapers/nodes.go:107 Beginning reconciliation
2023-06-16T13:03:40.395Z DEBUG reapers/nodes.go:108 Getting nomad node list
2023-06-16T13:03:40.402Z FATAL netreap/main.go:94 unable to perform initial reconciliation: unable to list nodes: Unexpected response code: 403 (Permission denied)
main.main
/netreap/main.go:94
runtime.main
Describe the solution you'd like
the variable CONSUL_HTTP_TOKEN is ineffective (I also tried to add CONSUL_TOKEN as well).
In the main.go, between the lines 40 and 74, you are not trying to access the variable for the token.
Is this the cause of my issue?
Would it be possible to add the token there?
The text was updated successfully, but these errors were encountered:
It looks like this is actually an issue with the task not having a NOMAD_TOKEN capable of listing nodes: unable to list nodes: Unexpected response code: 403 (Permission denied).
If you reconfigure your task to define a NOMAD_TOKEN variable in addition to a Consul ACL token then it should work
Is your feature request related to a problem? Please describe.
Cilium-agent and Netreap are erroring because I have ACLs on Consul
I have been able to sort the issue on the cilium-agent, by adding the environment variable in the docker startup command, as following:
Unfortunately the same approach didn't work with Netreap.
for instance in the Task configuration I added the variables:
but I keep getting this error (see below: 403 denied):
Describe the solution you'd like
the variable CONSUL_HTTP_TOKEN is ineffective (I also tried to add CONSUL_TOKEN as well).
In the main.go, between the lines 40 and 74, you are not trying to access the variable for the token.
Is this the cause of my issue?
Would it be possible to add the token there?
The text was updated successfully, but these errors were encountered: