Bug #19412
closedkexec fails when Katello is installed and using synced content instead of installation media
Description
Since katello no longer creates an install medium, kexec fails to find the correct url for kernel / initrd.
Updated by Ohad Levy over 7 years ago
- Related to Bug #16728: stop creating installation media for synced repos added
Updated by Lukas Zapletal over 7 years ago
What exactly do you mean by failing? You mean it does not use the overriden URL provided by Katello and returns the associated installation media path instead?
Updated by Lukas Zapletal over 7 years ago
- Target version set to Discovery Plugin 9.1.0
Updated by Ohad Levy over 7 years ago
Katello does not use install media, hence it is unable to download the kernel/initrd.
steps to reproduce:
1. install foreman + katello
2. sync OS (e.g. centos)
3. try to install via katello content (and not install media).
AFAIR I was able to debug this only using pry, as the exception is eaten by https://github.com/theforeman/foreman_discovery/blob/develop/app/models/host/managed_extensions.rb#L51
Updated by Lukas Zapletal over 7 years ago
- Related to Feature #16315: Check kernel/image before attempting to kexec added
Updated by Lukas Zapletal over 7 years ago
- Status changed from New to Rejected
Unable to reproduce, Synced Content cannot be set only in case you dont have installation source set. In nested HG there is a bug when this cannot be set, you cannot inherit IS but this is not bug in discovery. I just tested K3.4 works just fine. I had to apply this patch on the proxy tho:
Updated by Lukas Zapletal over 7 years ago
- Status changed from Rejected to New
Oh wait it does not kexec, that's what you mean. It's empty in the request:
{ "kernel": "", "initram": "", "append": "ks=http://zzzap.lab.eng.brq.redhat.com:8000/unattended/provision?token=ca9f52fe-cf23-4a6f-b764-b0cefb40b649&static=yes inst.ks.sendmac ip=192.168.220.11::192.168.220.1:255.255.255.0:::none nameserver=192.168.220.1 ksdevice=bootif BOOTIF=00-52-54-00-f5-02-ad nomodeset ", "extra": ["--args-linux"] }
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/foreman_discovery/pull/350 added
Updated by Lukas Zapletal over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|5855f4b4a3af9a3c1fca973a9028c26d15528184.