SIZE_RE regex is incorrect for returned string
Bug #1285764 reported by
Andrew Kerr
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Andrew Kerr | ||
oslo-incubator |
Fix Released
|
Undecided
|
Andrew Kerr |
Bug Description
imageutils.py line 32 has an incorrect regex:
SIZE_RE = re.compile(
This will not properly parse the result of 'qemu-img info' line:
virtual size: 2.0G (2147483648 bytes)
This results in the returned size of the image not being in Bytes. The correct regex should be:
SIZE_RE = re.compile(
Changed in oslo: | |
assignee: | nobody → Andrew Kerr (andrew-kerr) |
status: | New → In Progress |
description: | updated |
tags: | added: nfs |
description: | updated |
Changed in cinder: | |
milestone: | none → icehouse-rc1 |
Changed in oslo: | |
status: | In Progress → Fix Committed |
Changed in cinder: | |
assignee: | Daniel Gollub (d-gollub) → Andrew Kerr (andrew-kerr) |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | icehouse-rc1 → 2014.1 |
Changed in cinder: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/76912
Review: https:/