Nailgun-agent should use 512 block size for calculation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alexander Gordeev | ||
6.1.x |
Won't Fix
|
High
|
MOS Maintenance | ||
7.0.x |
Fix Released
|
High
|
Denis Puchkin | ||
8.0.x |
Fix Released
|
High
|
Denis Puchkin |
Bug Description
Affects 7.0, 8.0, 9.0. Was reproduced with 7.0
Fuel provides wrong disk size for disks with 4k logical block size. In my case it was HGST Ultrastar 7K6000 SAS drive with 4k block and 4.5TB but Fuel reported 38TB.
In order to calculate a disk size Nailgun-agent gathers a size in blocks from Ohai, a block size form /sys/block/
Since 4k disks become more popular we will most likely have problems with a lot of installations in future.
Workaround:
Manually remove these lines [1] from /usr/bin/
[1] https:/
description: | updated |
Changed in fuel: | |
assignee: | Krzysztof Szukiełojć (kszukielojc) → Alexander Gordeev (a-gordeev) |
status: | Confirmed → In Progress |
summary: |
- Nailgun-agent should get a disk size via /sys/dev/block/1:0/size + Nailgun-agent should use 512 block size for calculation |
tags: | added: on-verification |
tags: | added: on-verification |
tags: | added: on-verification |
Assigning to it as we are changing code in place where space is read. So we probably will fix it with it.