Build of Ubuntu 22.04 jammy fails with error that .manifest file is missing

Bug #1981436 reported by Kamil Madac
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
diskimage-builder
Fix Committed
Undecided
Unassigned

Bug Description

Build of ubuntu 22.04 fails with error:

2022-07-11 17:52:15.684 | jammy-server-cloudimg-amd64.squashfs.manifest: FAILED open or read
2022-07-11 17:52:18.177 | jammy-server-cloudimg-amd64.squashfs: OK
2022-07-11 17:52:18.177 | sha256sum: WARNING: 1 listed file could not be read

How it was executed:

$ export DIB_RELEASE=jammy
$ disk-image-create -x -a amd64 -o ./images/ubuntu-jammy ubuntu vm

How to fix it:
Manually download jammy-server-cloudimg-amd64.squashfs.manifest and save it to .cache/image create dir

wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.squashfs.manifest
mv jammy-server-cloudimg-amd64.squashfs.manifest /home/$USER/.cache/image-create/

Now the jammy image is successfully built, so it seems that sha256sum needs also .manifest file to successfully pass hash checking.

Build of ubuntu-minimal works ok, only ubuntu is affected with this bug.

summary: - Build of Ubuntu 22.04 jammy fails
+ Build of Ubuntu 22.04 jammy fails with error that .manifest file is
+ missing
Revision history for this message
dimetrius (dimetrius) wrote :

Hello, same issue with Ubuntu 20.04

Revision history for this message
Denys Mishchenko (arddennis) wrote :

Hi,

I have the same issue with Ubuntu and have the following workaround for it:
https://review.opendev.org/c/openstack/diskimage-builder/+/851462

It adds cache-url for the manifest file and build proceed without problem.

Revision history for this message
Ian Wienand (iwienand) wrote :
Changed in diskimage-builder:
status: New → Fix Committed
Revision history for this message
Itai Levy (etlvnvda) wrote (last edit ):

When is the fix expected to be included in python3-diskimage-builder of Ubuntu 20.04 and 22.04?

Revision history for this message
Thiago Martins (martinx) wrote :

I'm also seeing this very same issue on Ubuntu 22.04!

However, I added the `add-apt-repository cloud-archive:antelope`, `apt upgrade`, and the issue is gone!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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