snap-octavia-diskimage-retrofit:branch-1.0

Last commit made on 2023-10-02
Get this branch:
git clone -b branch-1.0 https://git.launchpad.net/snap-octavia-diskimage-retrofit

Branch merges

Branch information

Name:
branch-1.0
Repository:
lp:snap-octavia-diskimage-retrofit

Recent commits

b7bdb03... by Billy Olsen <email address hidden>

Merge pull request #36 from javacruft/stable/bug/1995130

Add workaround for grub-efi-amd64-signed install failure on Jammy+

771a509... by Liam Young

Add workaround for grub-efi-amd64-signed install failure on Jammy+

The grub-efi-amd64-signed install failure that was identified on
focal *1 now appears to be affecting Jammy. The workaround is
very slightly different as the shim-signed package relies on
grub-efi-amd64-signed so needs to be removed as well.

*1 https://bugs.launchpad.net/snap-octavia-diskimage-retrofit/+bug/1895835

Closes-Bug: 1995130
(cherry picked from commit 96aff4026997770f7fa1baf229efa158d24d3127)

35bba4a... by Corey Bryant

Merge pull request #34 from nobuto-m/branch-1.0

[1.0] Don't leave the default set of archive servers

9801023... by Nobuto Murata

Don't leave the default set of archive servers

Follow-up of c39bef13eda60b605873a951a50ce0c48aa1c1a7.

If we don't disable it, the system uses both the default set of servers
and the mirror specified. It's not so harmful in fully online scenarios,
but it causes issues in air-gapped or restricted environments. By
leaving the default servers, the retrofitting process has to wait for
timeout for each component like DNS timeout for archive.ubuntu.com and
it makes the process longer than usual like from a few minutes to hours
unnecessarily.

Also, the step to disable those servers must be 02- or earlier since
03-baseline-tools already uses APT so the original 42- position was too
late. Furthermore, putting multi-line content into DIB_UBUNTU_MIRROR is
not ideal but it's necessary to keep the backward compatibility. It was
nicer if we leveraged DIB_DISTRIBUTION_MIRROR in
diskimage_builder/elements/ubuntu/pre-install.d/01-set-ubuntu-mirror and
DIB_DEBIAN_COMPONENTS in the first place.

Closes-Bug: https://launchpad.net/bugs/2011527
(cherry picked from commit ff78f12323a069dda6b06d97a0d12febd52f9c1d)

fed3e7b... by Nobuto Murata

Force NTP synchronization only to ARM arch

Follow-up to de967f6faa8ce86109ee09fb00fd7f7a2fb2e5d9.

There is no assurance of reachability to NTP servers on the internet
(chrony has the default list of servers). When the retrofitting
environment doesn't allow outbound NTP port access like being behind HTTP
proxy. The image building process gets stuck at the phase of waiting for
the time sync. As the original issue description suggests, on non ARM
architectures, using time from the host is more than sufficient so let's
not force NTP synchronization.

An ideal solution would be to accept a customized list of NTP servers
for the future.

Partial-Bug: https://launchpad.net/bugs/1993266
(cherry picked from commit 52b2770c7f32ef1d633b100dfa72d7c73057d3f5)

d41b0ab... by Frode Nordahl

Add NEWS file detailing what went into v1.0.0.

Signed-off-by: Frode Nordahl <email address hidden>

01110b4... by Frode Nordahl

patch/libguestfs: Handle new dhclient behavior and ensure link up

The isc-dhcp-client package has changed the behavior for handling
resolved. Update the existing workaround to tackle the new
behavior.

Also ensure the network interface is up before handing it over
to dhclient.

Signed-off-by: Frode Nordahl <email address hidden>

e36bb0b... by Frode Nordahl

snap/qemu: Use jammy-updates as source repository

Ensure that we get security- and other updates.

Signed-off-by: Frode Nordahl <email address hidden>

153e64d... by Frode Nordahl

elements: Drop install of generic kernel.

Previously the Octavia certfs-ramfs element relied on the
`ecryptfs` kernel facility which on Ubuntu was compiled into the
generic kernel but omitted on the virtual machine optimized
kernel.

Since https://github.com/openstack/octavia/commit/0dd4649f37f2f
Octavia uses cryptsetup/LUKS instead and there is no longer a
requirement for using the generic kernel.

Attempting to install the generic kernel on non-x86 virtual
machines does often not work, so this also fixes issues with
using the tool for non-x86 architectures.

Signed-off-by: Frode Nordahl <email address hidden>

5efe103... by Frode Nordahl

Update README

Signed-off-by: Frode Nordahl <email address hidden>