]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind: ceph_volume_client authentication metadata
authorJohn Spray <john.spray@redhat.com>
Wed, 2 Mar 2016 12:30:45 +0000 (12:30 +0000)
committerRamana Raja <rraja@redhat.com>
Mon, 18 Jul 2016 10:06:40 +0000 (15:36 +0530)
commitd2e9eb55ca6ed5daa094cf323faf143615b9380b
treeb780507bb308b59cbfad01fed6fb1f9839815c4e
parent5678584f4176d07301acd7f57acc4efd7fb20e43
pybind: ceph_volume_client authentication metadata

Store a two-way mapping between auth IDs and volumes.

Enables us to record some metadata on auth ids (which
openstack tenant created it) so that we can avoid exposing
keys to other tenants who try to use the same ceph
auth id.

Enables us to expose the list of which auth ids have access
to a volume, so that Manila's update_access() can be
implemented efficiently.

DNM: see TODOs inline.

Fixes: http://tracker.ceph.com/issues/15615
Signed-off-by: John Spray <john.spray@redhat.com>
src/pybind/ceph_volume_client.py