From 99cdfdad59175a19bc06859e69301ca0478a2db4 Mon Sep 17 00:00:00 2001 From: Kotresh HR Date: Fri, 19 Feb 2021 16:38:31 +0530 Subject: [PATCH] pybind/ceph_volume_client: Fix auth-metadata file recovery Fixes: https://tracker.ceph.com/issues/49294 Signed-off-by: Kotresh HR --- src/pybind/ceph_volume_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pybind/ceph_volume_client.py b/src/pybind/ceph_volume_client.py index 393d0033acd..0253bbb353f 100644 --- a/src/pybind/ceph_volume_client.py +++ b/src/pybind/ceph_volume_client.py @@ -380,6 +380,8 @@ class CephFSVolumeClient(object): # VMeta update looks clean. Ceph auth update must have been # clean. if vol_meta['auths'][auth_id] == want_auth: + auth_meta['subvolumes'][volume]['dirty'] = False + self._auth_metadata_set(auth_id, auth_meta) continue readonly = access_level == 'r' -- 2.47.3