]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: remove incorrect 'size' from output of 'snapshot info'
authorNikhilkumar Shelke <nshelke@redhat.com>
Sun, 12 Jun 2022 11:33:16 +0000 (17:03 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Thu, 23 Jun 2022 08:41:34 +0000 (14:11 +0530)
commit1527d0336e2dddf91aa942d7d021775af8560379
tree342d3d3422af5ced0cd1387b0a8893126f58182f
parent3515edfe8086e880bf258f09b4317a732856bd30
mgr/volumes: remove incorrect 'size' from output of 'snapshot info'

The 'size' shown in the output of snapshot info command relies on
rstats which is incorrect snapshot size. It tracks size of the
subvolume from the snapshot has been taken instead of the snapshot
itself. Hence having the 'size' field in the output of 'snapshot info'
doesn't make sense until the rstats is fixed.

Fixes: https://tracker.ceph.com/issues/55822
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
(cherry picked from commit 9f514a0bd14b30f6ef6a77541f4cf75541b52322)
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py