Make an installer image for Debian Jessie, that can be used on Labs instances.
Currently we are very close to release:
https://release.debian.org/
https://lists.debian.org/debian-devel-announce/2014/11/msg00005.html
Make an installer image for Debian Jessie, that can be used on Labs instances.
Currently we are very close to release:
https://release.debian.org/
https://lists.debian.org/debian-devel-announce/2014/11/msg00005.html
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | hashar | T103972 Setup jobs for operations/software/conftool | |||
Resolved | hashar | T95545 Migrate all debian-glue jobs to Jessie slaves | |||
Resolved | hashar | T102894 Move labs/tools/extdist tox tests to jessie | |||
Resolved | hashar | T103977 Create tox templates that are bound to jessie | |||
Resolved | hashar | T94836 Create CI slaves using Debian Jessie | |||
Duplicate | None | T86728 Migrate Jenkins slaves from Ubuntu Trusty to Debian Jessie | |||
Resolved | coren | T75592 Debian Jessie image for Labs | |||
Resolved | coren | T87309 No init script for idmapd on labs jessie instances |
I have a couple of hand-made jessie instances running now. Unfortunately, the software that we use to build official labs images (python-vm-builder) doesn't support Debian. There's a debian plugin that was last modified in 2009 and only offers to build Lenny... I'm currently updating/rewriting/rehabilitating that plugin to build modern Debian versions.
It's turning into quite a job.
ahh.. i see. thanks for the explanation. so i guess the following is what you mentioned as last being modified in 2009, right:
https://wiki.debian.org/VMBuilder
git clone git://git.debian.org/git/pkg-escience/vmbuilder.git
This is now mostly working -- I've committed some patches to bootstrap-vz and built a custom package. Marc is currently working on lvm vs. systemd, it seems that many Jessie users are running into similar problems.
Jessie is approaching production fast now so having a Labs image is becoming more important by the day. Increasing priority to High.
The upstream bug that @coren referred to before is https://bugs.debian.org/616689 which affects us because /var is on LVM on Labs images. This isn't really blocking this, though; it can be easily worked around by passing rootdelay=N (which was the default in prod for Ubuntu as well, until 3d3868aa17b8670e847332b37ce8bd44cb530248) or possibly scsi_mod.scan=sync.
Moreover, I've expressed a very strong preference of ditching the separate /var from Labs images entirely (both Debian & newer Ubuntu) as it's an unnecessary delta from production and also, in my opinion, both useless & error-prone. This change alone would work around the upstream bug without the aforementioned workarounds. @coren has expressed a preference for doing this only if we move / to LVM as well so that /var can be expanded, which I don't mind, but I don't think it's strictly necessary either.
In any case, we aren't really blocked on anyone but us, as far as I know. This update is more than a week old, though, so I may have missed something.
I *really* think we should just move / to LVM and get it over with. The reason /var is on LVM is because disks on labs are usually tiny compared to production, and the default /var is only 2G (which is also terrible, I think). We've historically had to fight a lot of 'damn, /var/log is full now, grrrrrrr' issues at various times of the day, and I really hope we don't have to continue doing that.
So either we should generously increase /var from the currently-very-paltry 2G (to, idk, 10G?) or move everything to LVM so re-adjustment is flexible. I far prefer the latter.
This isn't really blocking this, though; it can be easily worked around by passing rootdelay=N (which was the default
in prod for Ubuntu as well, until 3d3868aa17b8670e847332b37ce8bd44cb530248) or possibly
scsi_mod.scan=sync.
I'm unable to get any joy from these suggestions. I have an instance now that sets rootdelay=300 and scsi_mod.scan=sync; it still drops into emergency mode and fails to boot.
OK, we've abandoned our partition scheme and agreed to make just one 20g / by default.
There's now an image live on labs, debian-8.0-jessie (testing). If it stands the test of time I'll remove the (testing) and call it official.
This is complete, as far as I know. Whether we decide to pursue the LVM issue or monitor it upstream is no longer blocking, and indeed we have a working Jessie image for labs now.