Actions
Bug #62673
opencephfs subvolume resize does not accept 'unit'
Status:
New
Priority:
Normal
Assignee:
Category:
Administration/Usability
Target version:
% Done:
0%
Source:
Tags:
Backport:
reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Specifying the quota or resize for a subvolume requires the value in bytes. This value should be accepted as <num><unit> and if no unit is given default to bytes.
It looks like the resize value is treated as an int currently
https://github.com/ceph/ceph/blob/9d7c18257836dc888b4a300f3b5af9f080910986/src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py#L282
Actions