TinyIPA fails in deploy.write_image with "Failed to fix GPT partition" error

Bug #2068936 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ironic-python-agent-builder
Triaged
Medium
Unassigned

Bug Description

When using TinyIPA images from master or 2024.1, the following error happens when trying to deploy a Rocky Linux 9 GenericCloud image to a bare metal node emulated using virtualbmc:

2024-06-10 17:41:31.230 2736 ERROR ironic.conductor.utils [-] Deploy step deploy.write_image failed on node 300528d1-f290-4146-ab6c-5d99cc2dcea4. Failed to fix GPT partition on disk /dev/vda for node 300528d1-f290-4146-ab6c-5d99cc2dcea4. Error: Unexpected error while running command.
Command: parted --script /dev/vda -- print
Exit code: -6
Stdout: ''
Stderr: "\n\nYou found a bug in GNU Parted! Here's what you have to do:\n\nDon't panic! The bug has most likely not affected any of your data.\nHelp us to fix this bug by doing the following:\n\nCheck whether the bug has already been fixed by checking\nthe last version of GNU Parted that you can find at:\n\n\thttp://ftp.gnu.org/gnu/parted/\n\nPlease check this version prior to bug reporting.\n\nIf this has not been fixed yet or if you don't know how to check,\nplease visit the GNU Parted website:\n\n\thttp://www.gnu.org/software/parted\n\nfor further information.\n\nYour report should contain the version of this release (3.3)\nalong with the error message below, the output of\n\n\tparted DEVICE unit co print unit s print\n\nand the following history of commands you entered.\nAlso include any additional information about your setup you\nconsider important.\nmalloc(): invalid next size (unsorted)\n"

The same deployment works fine with TinyIPA from 2023.2. I suspect it is due to the change of TC_RELEASE 14.x to 15.x.

Revision history for this message
Riccardo Pittau (rpittau) wrote :

we're aware of this issue which is indeed due to the upgrade to tinycore 15.x
we had to limit the usage of tinyipa to avoid breakage in the ironic CI
we're currently looking into alternative to tinycore for the test ipa ramdisk

Changed in ironic-python-agent-builder:
status: New → Confirmed
tags: added: tinyipa
tags: added: tinycore
Changed in ironic-python-agent-builder:
importance: Undecided → Medium
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.