Wrong image size using rbd backend for libvirt
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
OpenStack Compute (nova) | ||||||
Havana |
Fix Released
|
High
|
Yaguang Tang | |||
nova (Ubuntu) |
Fix Released
|
Undecided
|
Haomai Wang | |||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* The original fix for bug 1219658 introduced a factor of 1024 error
in the resulting rbd image size. Big impact.
[Test Case]
* To have icehouse openstack using rbd image backend for libvirt:
Images seem to be 1024 larger than expected.
For example (comment #3):
# rbd -p images info ae9d23f0-
size 20480 GB in 5242880 objects
order 22 (4096 kB objects)
format: 2
features: layering
when the expect size should be 20 GB.
[Regression Potential]
* Fix is running in a big production without any problem.
* RDB backend could stop working (keeping the bug will eventualy cause
an outage for those who use rdb backend)
[Other Info]
For rbd image backend for libvirt, the root partition will use the image size not 'disk' size. It lack of resize root volume in the codes.
Related branches
- Ubuntu Server Developers: Pending requested
-
Diff: 11 lines (+1/-0)1 file modifieddebian/changelog (+1/-0)
Changed in nova: | |
assignee: | nobody → Haomai Wang (haomai) |
tags: | added: libvirt |
Changed in nova: | |
status: | New → In Progress |
tags: | added: havana-backport-potential |
description: | updated |
affects: | nova → nova (Ubuntu) |
description: | updated |
description: | updated |
description: | updated |
Changed in nova (Ubuntu): | |
status: | In Progress → Fix Released |
tags: | removed: havana-backport-potential |
Fix proposed to branch: master /review. openstack. org/44640
Review: https:/