Project

General

Profile

Actions

Bug #50957

closed

batch --report shows incorrect % of device when using --block-db-size

Added by Andrew Schoen almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
nautilus octopus pacific
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The % of device calculation always shows as 100%, even if --block-db-size
is given with a smaller value than the total size of the device.

[root@ceph-aschoen cephuser]# ceph-volume lvm batch --bluestore /dev/vdd --db-devices /dev/vdg --report
--> passed data devices: 1 physical, 0 LVM
--> relative data size: 1.0
--> passed block_db devices: 1 physical, 0 LVM

Total OSDs: 1

Type            Path                                                    LV Size         % of device
----------------------------------------------------------------------------------------------------
data /dev/vdd 15.00 GB 100.00%
block_db /dev/vdg 15.00 GB 100.00%

[root@ceph-aschoen cephuser]# ceph-volume lvm batch --bluestore /dev/vdd --db-devices /dev/vdg --block-db-size 5368709120 --report
--> passed data devices: 1 physical, 0 LVM
--> relative data size: 1.0
--> passed block_db devices: 1 physical, 0 LVM

Total OSDs: 1

Type            Path                                                    LV Size         % of device
----------------------------------------------------------------------------------------------------
data /dev/vdd 15.00 GB 100.00%
block_db /dev/vdg 5.00 GB 100.00%

Related issues 3 (0 open3 closed)

Copied to ceph-volume - Backport #51106: octopus: batch --report shows incorrect % of device when using --block-db-sizeResolvedKonstantin ShalyginActions
Copied to ceph-volume - Backport #51107: nautilus: batch --report shows incorrect % of device when using --block-db-sizeResolvedKonstantin ShalyginActions
Copied to ceph-volume - Backport #51108: pacific: batch --report shows incorrect % of device when using --block-db-sizeResolvedKonstantin ShalyginActions
Actions #1

Updated by Konstantin Shalygin almost 3 years ago

  • Priority changed from Normal to Low
  • Source set to Community (user)
  • Backport set to nautilus octopus pacific
  • Severity changed from 3 - minor to 4 - irritation
Actions #2

Updated by Kefu Chai almost 3 years ago

  • Status changed from New to Pending Backport
  • Pull request ID set to 41506
Actions #3

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51106: octopus: batch --report shows incorrect % of device when using --block-db-size added
Actions #4

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51107: nautilus: batch --report shows incorrect % of device when using --block-db-size added
Actions #5

Updated by Backport Bot almost 3 years ago

  • Copied to Backport #51108: pacific: batch --report shows incorrect % of device when using --block-db-size added
Actions #6

Updated by Guillaume Abrioux over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF