Bug 1495634
Summary: | hammer bootdisk host fails when default gateway in subnet definition is not set | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | daniel <dmoessne> |
Component: | Bootdisk Plugin | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.11 | CC: | akarsale, dhlavacd, kgaikwad, lzap, mhulan, nkathole, rabajaj, tstrachota, zhunting |
Target Milestone: | 6.4.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | foreman_bootdisk-10.0.2 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-16 19:33:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
daniel
2017-09-26 11:20:49 UTC
Same happens when trying to download host image via UI: ~~~ Error: Failed to render boot disk template: ERF42-2759 [Foreman::Exception]: Subnet (static-no-gw-vlan105.example.com (172.24.105.0/24)) has no gateway defined ~~~ Hello, valid bug, thanks for report. I will fix, but workaround is easy - just modify the bootdisk template to avoid this error message, it is just one line: https://github.com/theforeman/foreman_bootdisk/pull/44/files Then re-download the image and it will work. This is actually fixed in 10.0.1, rebase needed tho. The bug was fixed upstream, Satellite NEXT. For googlers, this is just a template change, this can be fixed with any Foreman or Satellite version just by editing Bootdisk - host disk template in Templates: https://github.com/theforeman/foreman_bootdisk/pull/44/files VERIFIED Version tested: Satellite 6.4 snap 8 # rpm -qa | grep bootdisk tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3.3-3.el7sat.noarch tfm-rubygem-foreman_bootdisk-12.0.0-1.el7sat.noarch Successfully able to create bootdisk when default gateway is not set in subnet. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927 |