]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/ceph_volume_client: Optionally authorize existing auth-ids
authorKotresh HR <khiremat@redhat.com>
Sun, 6 Dec 2020 07:10:20 +0000 (12:40 +0530)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 16 Dec 2020 15:59:31 +0000 (07:59 -0800)
commit6410f3dd63890f251414377de93cd51bfc372230
tree682bdd1da542233dfbf4279d67cb7e34a6be19b5
parent621fea6fda4f06876295f67d4767914332ff82d3
pybind/ceph_volume_client: Optionally authorize existing auth-ids

Optionally allow authorizing auth-ids not created by ceph_volume_client
via the option 'allow_existing_id'. This can help existing deployers
of manila to disallow/allow authorization of pre-created auth IDs
via a manila driver config that sets 'allow_existing_id' to False/True.

Fixes: https://tracker.ceph.com/issues/48555
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 77b42496e25cbd4af2e80a064ddf26221b53733f)
src/pybind/ceph_volume_client.py