Image-based Fedora 26 failing to build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
New
|
Undecided
|
Unassigned |
Bug Description
Building Fedora 26 (image based, not fedora-minimal) fails reliably with
---
2017-08-28 00:27:59.462307 | [fedora/
...
2017-08-28 00:27:59.464828 | [fedora/
...
2017-08-28 00:28:01.408018 | [fedora/
2017-08-28 00:28:01.408055 | [fedora/
2017-08-28 00:28:01.408095 | [fedora/
---
I've chased this down to I believe [1]. The difference here is that before, that script used to short-circuit the "/etc/machine-id" checks in kernel-install ... now it is a plugin and those checks happen before the plugin is called, leading to this failure.
What to do ... I'm not sure right now :/
[1] https:/
Two things; firstly F25 build seems to have a machine-id
--- 691008ddc87a434 02
[root@dib-xenial /]# cat /etc/machine-id
afcaeb9a88f5444
---
but also works without a machine-id
--- core-0: 4.8.6-300. fc25.x86_ 64 core-0: 4.8.6-300. fc25.x86_ 64 ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
[root@dib-xenial /]# dnf repoquery --installonly --latest-limit=-1 -q
kernel-
[root@dib-xenial /]# dnf remove -y kernel-
Dependencies resolved.
=======
Package Arch Version Repository Size
=======
Removing:
kernel-core x86_64 4.8.6-300.fc25 @anaconda 52 M
Transaction Summary ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====
=======
Remove 1 Package
Installed size: 52 M core-4. 8.6-300. fc25.x86_ 64 1/1 4.8.6-300. fc25.x86_ 64/updates: remove failed: No such file or directory core-4. 8.6-300. fc25.x86_ 64 1/1
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.
grubby fatal error: unable to find a suitable template
grubby: doing this would leave no kernel entries. Not writing out new config.
Erasing : kernel-
warning: file /lib/modules/
Verifying : kernel-
Removed: core.x86_ 64 4.8.6-300.fc25
kernel-
Complete!
---