]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_volume_client: set an existing auth ID's default mon caps 11917/head
authorRamana Raja <rraja@redhat.com>
Fri, 11 Nov 2016 13:12:40 +0000 (18:42 +0530)
committerRamana Raja <rraja@redhat.com>
Mon, 21 Nov 2016 10:05:21 +0000 (15:35 +0530)
commitb0fa3a403373e4312fd805ab7653f055f4933eae
tree1290723c729e2a84ca32bcea1c968f8cc7512e26
parent12d1d0c1f565de1892a2519940ad574a1172f28d
ceph_volume_client: set an existing auth ID's default mon caps

... as 'allow r' (the minimum mon caps required to access a share)
when:

* authorizing the auth ID to access a volume.

* deauthorizing the auth ID to access a volume, but the auth ID is
  authorized to access other volumes.

In both the above cases, the ceph_volume_client previously tried to
set the mon caps of the auth ID to an invalid value, None.

Fixes: http://tracker.ceph.com/issues/17800
Signed-off-by: Ramana Raja <rraja@redhat.com>
src/pybind/ceph_volume_client.py