[pve 7.3-4] invalid privilege 'Sys.audit' (500)

francoisd

Renowned Member
Sep 10, 2009
60
9
73
Hi,

I'm getting the

Code:
invalid privilege 'Sys.audit' (500)

popup error message when I want to Stop an OSD with a "Proxmox VE authentication server"
user that has Administrator as only role.
  • The problem does not show when using the root user with PAM authentication
  • What is strange, is that "Sys.audit" is effectively an invalid privilege. It should be "Sys.Audit" (with uppercase A).

Did someone experience the same problem ?
 
Hi,
yes, this was a typo in the code that's fixed with pve-manager >= 7.3-5. A package with the fix is currently available on the pvetest repository and will be made available in the other repositories once it got enough testing.
 
Thanks for the quick reply Fiona,

While waiting for the bugfix in 7.3-5, the workaround is easy:
  • use the root user with PAM authentication (maybe other user with PAM auth ?)
  • use the command line
    ceph osd status to get the osd id, then use systemctl. i.e. for osd 0: systemctl restart ceph-osd@0