#4 install libtaskotron from updates-testing when building minions on dev/stg
Closed: Fixed None Opened 7 years ago by kparal.

In rBASEIMGb06463aea354 I asked @jskladan to stop building images from updates-testing repo, because it can potentially cause many issues (a broken dnf/systemd/etc update can make all our checks crash). In some cases it can also cause broken dependencies, like here. In that case, the minion contained elfutils-libs of some version (from updates-testing), while rpmgrill task wanted to install elfutils during runtime, and the available version of elfutils (from updates) didn't match the installed version of elfutils-libs, therefore the dnf transaction failed.

So now, our images should be more reliable, but we lost the ability to pre-install latest libtaskotron from updates-testing during build time. Here are some ideas how to remedy that:
1. in the minion kickstart, call dnf update libtaskotron-core libtaskotron-fedora --enablerepo=updates-testing
2. have a custom repo which will include desired libtaskotron builds and add this repo in kickstart for installation (we will need to do this some day anyway, to test daily libtaskotron builds)
3. during minion initialization (orchestrated by overlord), enable updates-testing and try to update libtaskotron (or maybe even better, use mdapi to learn whether a newer libtaskotron version is available and only do that if it is)

The easiest solution seems to be 1), I think we could start with that. We will play with 2) once we get daily builds. We'll probably need to implement something like 3) either way, because since the time libtaskotron got into Fedora, our update code has been broken.


Hacked a way to add the command when deployment_type is dev (where images for dev and stg are built). Not nice, but works for now. We'll need to clean up this whole taskotron-images mess anyway....

! In #834#11749, @jskladan wrote:
Hacked a way to add the command when deployment_type is dev (where images for dev and stg are built). Not nice, but works for now. We'll need to clean up this whole taskotron-images mess anyway....

Too bad you didn't send a diff for review, I'd have told you you forgot --assumeyes on the dnf command line :-) For the record, the current commits are rBASEIMG9c096db9 and rBASEIMG44bb88601.

Also reopening and taking the ticket to try to do something about 3).

Login to comment on this ticket.

Metadata