[Bug 2083685] Re: Utilize SNAPSHOT_SERVICE_TIMESTAMP When Configuring Repositories
John Chittum
2083685 at bugs.launchpad.net
Tue Oct 8 16:08:15 UTC 2024
I attempted a build applying the linked patch, and `germinate` did not
like what was happening. it seemed to download most of the correct files
but something was missing. I've personally never tried `germinate` from
the snapshot archive, so I can't state if it's user error when setting
up the patch and passing in timestamp, if it's an ephemeral issue, or if
there's something else at play here.
** Attachment added: "build_log.amd64.qcow2.txt"
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2083685/+attachment/5825997/+files/build_log.amd64.qcow2.txt
--
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/2083685
Title:
Utilize SNAPSHOT_SERVICE_TIMESTAMP When Configuring Repositories
Status in livecd-rootfs package in Ubuntu:
New
Status in livecd-rootfs source package in Focal:
New
Status in livecd-rootfs source package in Jammy:
New
Status in livecd-rootfs source package in Noble:
New
Status in livecd-rootfs source package in Oracular:
New
Bug description:
# Background
as of 20241004 (RIP w9xn), $SNAPSHOT_SERVICE_TIMESTAMP has been made
available as an official environment variable in launchpad livefs
builds. When a build is triggered with in launchpad with the metadata
snapshot_service_timestamp, $SNAPSHOT_SERVICE_TIMESTAMP will be
populated with the provided timestamp. This allows livecd-rootfs to
configure the initial mirrors to use the snapshot service rather than
the current overwrite cases.
documentation on the snapshot service: https://snapshot.ubuntu.com/
proposed patch by mwhudson: https://paste.ubuntu.com/p/5RtpSKm2QQ/
This is only to enable the snapshot service in one variable. There are
other variables throughout livecd-rootfs that reference archives which
may need to be investigated
LB_PARENT_MIRROR_BINARY
LB_PARENT_MIRROR_BINARY_VOLATILE
LB_PARENT_MIRROR_BINARY_SECURITY
Section of code around $EXTRA_PPAS : livecd-rootfs/live-
build/auto/config:1519 [0]
Any hooks that add PPAs or change the default apt configurations may
need to be investigated as well. if these are housed in private areas,
and nested (looking at you CPC), then those will need to be handled by
individual teams.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2083685/+subscriptions
More information about the foundations-bugs
mailing list