format_inspector reports a safety violation on DIB_build kernels of IPA images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
Medium
|
Unassigned | ||
oslo.utils |
New
|
Undecided
|
Unassigned |
Bug Description
Reproducer:
1) Download https:/
2)
>>> from oslo_utils.
>>> fi.detect_
Safety check mbr on gpt failed because MBR PTE 0 has invalid boot flag
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/
raise SafetyCheckFail
oslo_utils.
I'm not sure why the kernel is treated as a GPT file (I confirmed the same with a tinyCoreLinux kernel, which, interestingly, pass the safety check). It's definitely a problem for Ironic that this image fails. I don't know if it needs to be fixed in Ironic (by bypassing the checks for kernels/ramdisks) or in Oslo, so reporting in both.
Changed in ironic: | |
status: | New → Triaged |
Changed in ironic: | |
importance: | Undecided → Medium |
As a workaround on the Ironic side, we can probably disable the safety checks for TFTPImageCache.