From 4e596cd865c0e23f98fab47d09e1cb31ed51b14e Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 7 Aug 2024 08:17:44 -0700 Subject: [PATCH] Add release note for format_inspector Change-Id: I17c99cf80770e043e372cb61afa29d6a82f5f2c5 --- ...age-format-inspector-2ad45f623838a8f8.yaml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 releasenotes/notes/add-image-format-inspector-2ad45f623838a8f8.yaml diff --git a/releasenotes/notes/add-image-format-inspector-2ad45f623838a8f8.yaml b/releasenotes/notes/add-image-format-inspector-2ad45f623838a8f8.yaml new file mode 100644 index 00000000..7b48e18f --- /dev/null +++ b/releasenotes/notes/add-image-format-inspector-2ad45f623838a8f8.yaml @@ -0,0 +1,22 @@ +--- +features: + - | + The format_inspector module has been imported from the projects that were + using it. They had effectively maintained in-tree forks of the original + code from glance. This code has been imported (from Nova) into oslo.utils + under imageutils for common use. A refactoring of how the safety check + works was done to facilitate the ability to surface fine-grained + information about individual checks, as needed by some projects, as well + as a few other generalizing aspects, which are detailed in the following. + - | + A gpt/mbr format inspector was added, which should reduce the number of + disk images that are detected as "raw". This furthers the goal of trying + to avoid using "raw" for both "anything we don't recognize" and "exact + image of a physical disk". + - | + The glance-centric InfoWrapper from the imported code has been replaced + with InspectWrapper, which natively runs multiple (default: all) inspector + classes in parallel. This is identical to what detect_file_format() did, + but in a stream-friendly way, and detect_file_format() now uses this + internally. Users of the glance-based code moving to the oslo + implemenation should switch to using the InspectWrapper going forward.