Actions
Bug #58591
closedreport "Insufficient space (<5GB)" even when disk size is sufficient
% Done:
0%
Source:
Community (user)
Tags:
backport_processed
Backport:
quincy, pacific, reef
Regression:
No
Severity:
3 - minor
Reviewed:
Description
ceph-volumes uses `/sys/block/<bdev>/size` field to judge whether a device has enough size (>= 5GiB).
The unit of this file is sector(=512 bytes), however, ceph-volume regards this value as byte by mistake.
if int(self.sys_api.get('size', 0)) < 5368709120:
It should be 5368709120 / sector size
ref. Rook's issue.
Certain disks skipped for being too small, when they are large enough.
https://github.com/rook/rook/issues/11474
software versions:
- Rook: v1.10.7
- Ceph: v17.2.5
Updated by Guillaume Abrioux about 1 year ago
- Status changed from New to In Progress
- Assignee set to Guillaume Abrioux
Updated by Konstantin Shalygin 6 months ago
- Status changed from In Progress to Pending Backport
- Target version set to v19.0.0
- Backport changed from quincy, pacific to quincy, pacific, reef
Updated by Backport Bot 6 months ago
- Copied to Backport #63311: pacific: report "Insufficient space (<5GB)" even when disk size is sufficient added
Updated by Backport Bot 6 months ago
- Copied to Backport #63312: reef: report "Insufficient space (<5GB)" even when disk size is sufficient added
Updated by Backport Bot 6 months ago
- Copied to Backport #63313: quincy: report "Insufficient space (<5GB)" even when disk size is sufficient added
Updated by Konstantin Shalygin 5 months ago
- Assignee deleted (
Guillaume Abrioux) - Source set to Community (user)
- Pull request ID set to 49954
Updated by Guillaume Abrioux 3 months ago
- Status changed from Pending Backport to Resolved
Actions