]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge PR #38160 into master
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 15 Jan 2021 19:53:02 +0000 (11:53 -0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 15 Jan 2021 19:53:06 +0000 (11:53 -0800)
* refs/pull/38160/head:
doc/mgr/volumes: Document 'fs subvolume authorized_list' cli
qa: Add tests for list auth-ids of a subvolume
mgr/volumes: Update the 'volumes' key to 'subvolumes' in auth metadata file
mgr/volumes: Optionally authorize existing auth-ids
mgr/volumes: Preserve existing caps while authorize/deauthorize auth-id
mgr/volumes: Disallow authorize existing auth_id
mgr/volumes: Add subvolume authorized_list command
mgr/volumes: Add tenant_id option to subvolume authorize
mgr/volumes: Persist auth and subvolume metadata

Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
1  2 
qa/tasks/cephfs/test_volumes.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py

Simple merge
index 42c9783b2c19df1192c35f7b332db9f799493426,e6036cd914c00b73afdea83dd3af9132447e9883..f4fbe9ff8ee97e9f70e681be205b2962b1b2587e
@@@ -16,8 -18,9 +18,9 @@@ from ..template import SubvolumeTemplat
  from ..snapshot_util import mksnap, rmsnap
  from ..access import allow_access, deny_access
  from ...exception import IndexException, OpSmException, VolumeException, MetadataMgrException
 -from ...fs_util import listdir
 +from ...fs_util import listsnaps, is_inherited_snap
  from ..template import SubvolumeOpType
+ from ..group import Group
  
  from ..clone_index import open_clone_index, create_clone_index