cinder/cinder/image
Takashi Kajinami 9f9194d804 Use the json format output of qemu-img info
Support for the human format by oslo_utils.imageutils.QemuImgInfo was
deprecated since oslo.utils 4.9.1 [1]. This change replaces the human
format with the json format which will be used by default.

[1] 73eb0673f627aad382e08a816191b637af436465

Backport note: The json format is preferable because it allows access
to format specific details (since oslo.utils 4.1.0).  These details
are not present when the default 'human' format is used.  See change
I133da07a5a9628b8a9 for details.

Closes-Bug: #1940540
Change-Id: Ia0353204abf849467106ee08982d1271de23101a
(cherry picked from commit c0d2e7ebd8)
(cherry picked from commit 11b0f97a01)
(cherry picked from commit 4cef5c0c42)
(cherry picked from commit 9810c05e74)
(cherry picked from commit 60a5de1f6d)
(cherry picked from commit 6a1260ea80)
Conflicts:
  cinder/tests/unit/volume/drivers/test_nfs.py
  - patch changed QEMU_IMG_INFO_OUT5 test data which isn't present
    in ussuri
  cinder/volume/flows/manager/create_volume.py
  - parent patch of 6a1260ea8 imported netutils, but that's not used
    in this file in ussuri
(cherry picked from commit 6df27994d9)
2023-01-12 15:33:09 -05:00
..
accelerators Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-26 22:45:17 -06:00
accelerator.py Leverage hw accelerator in image compression 2019-09-18 03:01:18 +00:00
cache.py Fix image volume cache max size and max count limits 2018-09-17 10:14:11 -04:00
glance.py Use config-table for dynamic config documentation 2019-02-26 16:50:39 -06:00
image_utils.py Use the json format output of qemu-img info 2023-01-12 15:33:09 -05:00