[Bug 1998229] Re: Adding metadata file into OCI images

Launchpad Bug Tracker 1998229 at bugs.launchpad.net
Tue Jan 3 17:22:11 UTC 2023


This bug was fixed in the package livecd-rootfs - 2.525.61

---------------
livecd-rootfs (2.525.61) bionic; urgency=medium

  [ Samir Akarioh ]
  * feat: Add metadata on ubuntu-oci image. (LP: #1998229)

 -- Utkarsh Gupta <utkarsh at ubuntu.com>  Mon, 12 Dec 2022 15:36:15 +0530

** Changed in: livecd-rootfs (Ubuntu Bionic)
       Status: Fix Committed => Fix Released

-- 
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 Released
Status in livecd-rootfs source package in Focal:
  Fix Released
Status in livecd-rootfs source package in Jammy:
  Fix Released
Status in livecd-rootfs source package in Kinetic:
  Fix Released

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