This appears to have been broken by commit
d63fccb52241a216a08a92e615bcff008d365392 which added a validation for
all of the capabilities in this code path. The fs authorize command
works by adding a new capability keyed by the path. This capability with
the path key was not understood by the standard capability check method
being invoked so it returned False to indicate the capabilities are not
valid, which results in an EINVAL value.

The patch included in the pull request fixes this by changing to only
check the mds and osd capabilities instead of the full set.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1847822

Title:
  CephFS authorize fails with unknown cap type

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1847822/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to