]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_volume_client: fix partial auth recovery 11304/head
authorRamana Raja <rraja@redhat.com>
Tue, 4 Oct 2016 08:25:46 +0000 (13:55 +0530)
committerRamana Raja <rraja@redhat.com>
Tue, 4 Oct 2016 11:23:37 +0000 (16:53 +0530)
... for volumes whose group_id is None.

Signed-off-by: Ramana Raja <rraja@redhat.com>
src/pybind/ceph_volume_client.py

index dfc6767efaf616d20f04665bc2571b9c7e9fae63..012bc6afac879817345e5dcaf39045c1bb1e6c1f 100644 (file)
@@ -329,6 +329,7 @@ class CephFSVolumeClient(object):
                 continue
 
             (group_id, volume_id) = volume.split('/')
+            group_id = group_id if group_id is not 'None' else None
             volume_path = VolumePath(group_id, volume_id)
             access_level = volume_data['access_level']