Merge lp:~vorlon/livecd-rootfs/minimize-round-two into lp:livecd-rootfs
| Status: | Merged |
|---|---|
| Merged at revision: | 1580 |
| Proposed branch: | lp:~vorlon/livecd-rootfs/minimize-round-two |
| Merge into: | lp:livecd-rootfs |
| Diff against target: |
93 lines (+41/-0) 5 files modified
debian/changelog (+14/-0) live-build/auto/build (+4/-0) live-build/auto/config (+1/-0) live-build/ubuntu-cpc/hooks/032-root-squashfs.binary (+1/-0) live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot (+21/-0) |
| To merge this branch: | bzr merge lp:~vorlon/livecd-rootfs/minimize-round-two |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Chris Glass (community) | 2017-10-19 | Approve on 2017-10-31 | |
| Balint Reczey | lcow | 2017-10-19 | Approve on 2017-10-24 |
| Canonical Foundations Team | 2017-10-19 | Pending | |
|
Review via email:
|
|||
Description of the Change
Round two of minimizing our minimized cloud images. The first round removed packages from the image that were part of the minimal seed but unnecessary in the minimized target env; now we look at packages that are part of the cloud/server seed and similarly unnecessary in a non-interactive VM.
Also includes some generic improvements to image size, by removing various backup files that don't need to be retained in a brand new image.
| Chris Glass (tribaal) wrote : | # |
| Chris Glass (tribaal) wrote : | # |
Ok, so testing this branch on GKE is in a bit of a catch-22 situation right now:
- I can't test this on xenial (the gke images are xenial-only for production): it fails to build because it needs a more recent live-build (https:/
- I can't test this on artful either (as a non-production image to kick the tires) because linux-gke (and linux-aws, even if not so relevant) don't exist there.
- I can't test a minimized *GCE* image with trunk sauce either, it fails with https:/
All of those failures seem to be unrelated to your changes here (that look otherwise sensible). Will investigate/try to get a run with a (at least temporary) fixed sauce tomorrow.
| Steve Langasek (vorlon) wrote : | # |
I have an artful ppa set up for minimized image testing that includes copies of the xenial linux-gke and linux-kvm packages. You should be able to test an artful minimized build of this branch using EXTRA_PPAS=
| Steve Langasek (vorlon) wrote : | # |
Also, wrt backporting, this live-build versioned dependency is already fixed up on the xenial branch to reference the proper SRU version.
| Balint Reczey (rbalint) wrote : | # |
I tested this branch and the minimized image can still be used to derive a working Hyper-V image with OpenGCS.
LGTM.
| Chris Glass (tribaal) wrote : | # |
Found a quirk in the xenial side here. Will fix in a branch locally and try to push through.
| Chris Glass (tribaal) wrote : | # |
Xenial FTB even when removing publicsuffix from the list of packages to remove:
https:/
Please advise - I'm not sure I can test this branch on GCE/GKE as it is now.
| Steve Langasek (vorlon) wrote : | # |
On Thu, Oct 26, 2017 at 02:31:01PM -0000, Chris Glass wrote:
> Xenial FTB even when removing publicsuffix from the list of packages to remove:
> https:/
This seems to be some sort of mis-merge.
lp:~ubuntu-core-dev/livecd-rootfs/xenial-proposed has the following in
live-build/
create_
apt-get install -qqy parted
parted "$1" --script -- mklabel msdos
}
Your pastebin output clearly shows that the call to apt-get is missing:
+ create_
+ parted binary/
Some sort of local damage to your branch? Cosmic rays?
| Chris Glass (tribaal) wrote : | # |
Alright, I found where the problem was, and it wasn't this branch at all (or any branch for that matter): The update-grub postinst script noops inside containers (as reported by systemd-
+1'ing this, provided publicsuffix is appropriately taken care of (see inline comments).
I will send a branch to fix the build separately.
| Chris Glass (tribaal) wrote : | # |
For the record:
This branch was "merged" onto the xenial-proposed livecd-rootfs branch, and with the publicsuffix package removed from the uninstalled list produced a GKE image that passed k8s cluster tests.

One small comment inline.
Will run a full GKE cluster test on this.