oslo.utils/releasenotes/notes/image-utils-handle-scientific-notation-6f65d46e9c8c8f8c.yaml
Hervé Beraud ebf8368501 Fix regex to correctly recognize scientific notation with QemuImgInfo
qemu 4.1.0 output shifts to scientific notation at 1000mb, breaking
oslo.utils.

Problem here is that the qemu-img output shifts to scientific notation:

999 => 999 MiB
1000 => 1e+03 MiB

The regex in python-oslo-utils does not cover this.

This issue is likely regexp parsing "disk size: 1e+03 MiB" value.

These changes fix that.

Change-Id: I4c016865890135023ceb497de18d75ccebd5961a
Closes-Bug: 1864529
2020-02-25 11:09:51 +01:00

6 lines
160 B
YAML

---
fixes:
- |
qemu 4.1.0 output shifts to scientific notation at 1000mb,
breaking oslo.utils. ``QemuImgInfo`` is now fixed to support this notation.