summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2020-02-24 20:15:48 +0100
committerHervé Beraud <hberaud@redhat.com>2020-02-25 11:09:51 +0100
commitebf8368501500767fd4e6e13602bb88950a4484b (patch)
tree416b1d1a4c8981a5c2fed24fbc37307c66d7a4d2 /releasenotes
parent2180db82b605cf84902ee379fffc0b34e17e92c7 (diff)
downloadoslo-utils-ebf8368501500767fd4e6e13602bb88950a4484b.tar.gz
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
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/image-utils-handle-scientific-notation-6f65d46e9c8c8f8c.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/image-utils-handle-scientific-notation-6f65d46e9c8c8f8c.yaml b/releasenotes/notes/image-utils-handle-scientific-notation-6f65d46e9c8c8f8c.yaml
new file mode 100644
index 0000000..9577fd8
--- /dev/null
+++ b/releasenotes/notes/image-utils-handle-scientific-notation-6f65d46e9c8c8f8c.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ qemu 4.1.0 output shifts to scientific notation at 1000mb,
+ breaking oslo.utils. ``QemuImgInfo`` is now fixed to support this notation.