This change includes unit tests for the ISO
format inspector using mkisofs to generate
the iso files.
A test for stashing qcow content in the system_area
of an iso file is also included.
This change modifies format_inspector.detect_file_format
to evaluate all inspectors until they are complete and
raise an InvalidDiskInfo exception if multiple formats
match.
Related-Bug: #2059809
Change-Id: I7e12718fb3e1f77eb8d1cfcb9fa64e8ddeb9e712
(cherry picked from commit b1cc39848ebe9b9cb63141a647bda52a2842ee4b)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /923724 /opendev. org/openstack/ nova/commit/ eeda7c333c77321 6c2161599266738 74ce4843ba
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2024.1
commit eeda7c333c77321 6c2161599266738 74ce4843ba
Author: Sean Mooney <email address hidden>
Date: Thu Jul 4 20:09:31 2024 +0100
Add iso file format inspector
This change includes unit tests for the ISO
format inspector using mkisofs to generate
the iso files.
A test for stashing qcow content in the system_area
of an iso file is also included.
This change modifies format_ inspector. detect_ file_format
to evaluate all inspectors until they are complete and
raise an InvalidDiskInfo exception if multiple formats
match.
Related-Bug: #2059809 7eb8d1cfcb9fa64 e8ddeb9e712 cb63141a647bda5 2a2842ee4b)
Change-Id: I7e12718fb3e1f7
(cherry picked from commit b1cc39848ebe9b9