Project

General

Profile

Actions

Bug #62673

open

cephfs subvolume resize does not accept 'unit'

Added by Paul Cuzner 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Normal
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 #1

Updated by Venky Shankar 8 months ago

  • Category set to Administration/Usability
  • Assignee set to Dhairya Parmar
  • Target version set to v19.0.0
  • Backport set to reef,quincy

Dhariya, I presume, this is similar change to the one you worked on a while back.

Actions

Also available in: Atom PDF