-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cannot read a job in Nomad UI with ACL #11660
Comments
Hi @hoangphuc1662! The UI provides richer data than the CLI does in some places, so I suspect what's happening there is that the ACL token is missing a permission for just one of the API calls that page makes. For example, if I bring up the page for my job
If you bring up your browser's development tools, you should be able to see which request gets a 403. I suspect your policy needs node-read as well: node {
policy = "read"
} |
@tgross I added node policy, now I can view the jobs in Nomad UI. Thanks a lot.
|
Just FYI we've opened #11672 as a way to make sure this kind of thing doesn't blank out the whole page, so thanks again for bringing this to our attention! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Hi,
I running a nomad cluster with 3 nodes with version is
Nomad v1.2.2 (78b8c171a211f967a8b297a88a7e844b3543f2b0
I have created Nomad ACL Client Token with below policy:
I can use its token in command cli and view allocation status like below:
but when I tried access nomad web portal that I used this token, I can see the job running
however, I clicked
ui
job it saysNot Authorized
BTW, This ones not happen when I use nomad version
1.1.5
Could anyone please have a look and advise me?
Many thanks
The text was updated successfully, but these errors were encountered: