[Bug 1847822] Re: CephFS authorize fails with unknown cap type
Timo Aaltonen
tjaalton at ubuntu.com
Fri Nov 29 12:19:41 UTC 2019
Hello Billy, or anyone else affected,
Accepted ceph into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/ceph/12.2.12-0ubuntu0.18.04.4 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: ceph (Ubuntu Bionic)
Status: Triaged => Fix Committed
** Tags added: verification-needed verification-needed-bionic
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1847822
Title:
CephFS authorize fails with unknown cap type
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive queens series:
Triaged
Status in ceph package in Ubuntu:
Fix Released
Status in ceph source package in Bionic:
Fix Committed
Bug description:
[Impact]
Attempting to provide access to a user within Ceph to a specific mount
path fails with unknown cap type. This appears to be due to the
monitor not knowing how to validate the caps that are provided with
the mount path per upstream bug https://tracker.ceph.com/issues/39395
and subsequent pull requests.
This is fixed in Mimic (13.1.0+) and included in the current Luminous
devel release (upcoming 12.2.13).
[Test Case]
Steps to recreate:
1. Install ceph w/ ceph-fs.
2. Mount ceph filesystem and create subdirectory for restricting access
$ ceph-fuse -k /etc/ceph/ceph.client.foo.keyring --id foo -m 10.5.0.5:6789 /mnt/ceph-fs
$ mkdir /mnt/ceph-fs/bar
3. Authorize access for ceph user to rw a directory
$ ceph fs authorize ceph-fs client.foo /bar rw
Expected Results:
The authorize command to succeed
Actual Results:
Error EINVAL: unknown cap type '/bar'
[Regression Potential]
Regression potential is low as this has already been fixed upstream
and has seen additional testing without additional problem reports
from the change. The change does affect the validation of
capabilities, so if a problem were to arise it would likely be in the
verification of capabilities when the code is parsing.
[Other Info]
Upstream pull-request: https://github.com/ceph/ceph/pull/28666
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1847822/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list