[Bug 1998229] Re: Adding metadata file into OCI images
Brian Murray
1998229 at bugs.launchpad.net
Tue Dec 13 22:43:55 UTC 2022
The bug which I'm thinking about is
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1724623
** Changed in: livecd-rootfs (Ubuntu Jammy)
Status: New => Fix Committed
** Tags added: verification-needed-jammy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1998229
Title:
Adding metadata file into OCI images
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Bionic:
Fix Committed
Status in livecd-rootfs source package in Focal:
Fix Committed
Status in livecd-rootfs source package in Jammy:
Fix Committed
Status in livecd-rootfs source package in Kinetic:
Fix Committed
Bug description:
[ Impact ]
* The existing Ubuntu container images are being built and published
without any metadata information. This will introduce a new cloud-like
path and metadata file, including the image's serial number within
(which is useful for users to pinpoint a specific revision of the image).
[ Test Plan ]
* Run (for any of the affected series):
$ docker run public.ecr.aws/ubuntu/ubuntu:jammy grep serial
/etc/cloud/build.info || echo "Image metadata not found"
* Currently, the output will be
grep: /etc/cloud/build.info: No such file or directory
Image metadata not found
* After the release, I'll trigger the Ubuntu container image
CI/CD pipelines, and re-run the Docker command from above.
* The output shall then be similar to:
serial: 20221125
[ Where problems could occur ]
Given that we're adding new content to the filesystem, there's little
room for regression. A potential pitfall could be the future introduction
of /etc/cloud/(...) into the minimal filesystem, which would then
potentially end up being altered.
[ Other Info ]
Here the PR I have made :
https://code.launchpad.net/~samirakarioh/livecd-rootfs/+git/livecd-rootfs/+merge/433431
https://code.launchpad.net/~samirakarioh/livecd-rootfs/+git/livecd-rootfs/+merge/433432
https://code.launchpad.net/~samirakarioh/livecd-rootfs/+git/livecd-rootfs/+merge/433433
https://code.launchpad.net/~samirakarioh/livecd-rootfs/+git/livecd-rootfs/+merge/433572
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1998229/+subscriptions
More information about the foundations-bugs
mailing list