Skip to content
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

Backport of Fixes Consul token checking when policies exist within namespaces into release/1.7.x #19429

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #18516 to be assessed for backporting due to the inclusion of the label backport/1.7.x.

The below text is copied from the body of the original PR.


Re: support case #122732

Fixes a bug where Nomad fails to fetch Consul policies whilst checking a Consul token presented when submitting a job, if the policies attached to that token exist within a namespace.

[ERROR] agent.http: Request error: method=GET url=/v1/acl/policy/83073614-xxxx-xxxx-xxxx-xxxxxxxxxxxx from=127.0.0.1:54668 error="Requested policy does not exist: ACL not found"

  • When querying policies from Consul, use the namespace of the token rather than the default namespace.

Overview of commits

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/bugfix/consul-ent-policy-namespaces/urgently-knowing-monster branch from f551fc6 to 37b84d0 Compare December 11, 2023 16:08
@shoenig shoenig merged commit 48d109f into release/1.7.x Dec 11, 2023
19 checks passed
@shoenig shoenig deleted the backport/bugfix/consul-ent-policy-namespaces/urgently-knowing-monster branch December 11, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants