Bug 1313777 - Boot images names in discovery stanza of 'PXELinux global default' template needs to be updated
Boot images names in discovery stanza of 'PXELinux global default' template n...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Discovery Plugin (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity high (vote)
: Beta
: 6.2
Assigned To: Lukas Zapletal
Sachin Ghai
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-02 05:39 EST by Sachin Ghai
Modified: 2016-07-27 05:24 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-27 05:24:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
PXELinux global default template stil contains image names as per upstream templates (79.10 KB, image/png)
2016-03-10 06:02 EST, Sachin Ghai
no flags Details

  None (edit)
Description Sachin Ghai 2016-03-02 05:39:29 EST
Description of problem:

In Sat 6.2 snap1, the "PXELinux global default template" includes following discovery stanza:

LABEL discovery
     MENU LABEL (discovery)
     KERNEL boot/fdi-image/vmlinuz0
     APPEND initrd=boot/fdi-image/initrd0.img rootflags=loop root=live:/fdi.iso rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 rd.lvm=0 rd.bootif=0 rd.neednet=0 nomodeset proxy.url=https://FOREMAN_INSTANCE proxy.type=foreman
     IPAPPEND 2


This needs to be updated like:

LABEL discovery
MENU LABEL Satellite 6 Discovery
MENU DEFAULT
KERNEL boot/fdi-image-rhel_7-vmlinuz
APPEND initrd=boot/fdi-image-rhel_7-img rootflags=loop root=live:/fdi.iso rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 rd.lvm=0 rd.bootif=0 rd.neednet=0 nomodeset proxy.url=https://SATELLITE_CAPSULE_URL:9090 proxy.type=proxy
IPAPPEND 2


Here boot images needs to be updated as per the image names extracted from the foreman-discovery-image rpm.

Version-Release number of selected component (if applicable):
Satellite 6.2 snap1

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Here boot images needs to be updated as per the image names extracted from the foreman-discovery-image rpm.

Additional info:
Comment 2 Lukas Zapletal 2016-03-02 06:57:15 EST
Thanks, yes. Rebasing Foreman core templates pulled this in. Our documentation still contains instructions how to add proper part, but as this is confusing, I recommend to create a downstream only patch to remove the upstream block and add a *commented* block from our documentation.
Comment 4 Sachin Ghai 2016-03-10 06:00:18 EST
I can still see old changes as per upstream template with sat6.2 snap3.
Comment 5 Sachin Ghai 2016-03-10 06:02 EST
Created attachment 1134813 [details]
PXELinux global default template stil contains image names as per upstream templates
Comment 6 Sachin Ghai 2016-03-28 05:07:24 EDT
Verified sat6.2 beta snap5.1


I can see updated 'PXELinux global default' template. Path to discovery images updated there as per downstream names.

--

LABEL discovery
     MENU LABEL (discovery)
     KERNEL boot/fdi-image-rhel_7-vmlinuz
     APPEND initrd=boot/fdi-image-rhel_7-img rootflags=loop root=live:/fdi.iso rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 rd.lvm=0 rd.bootif=0 rd.neednet=0 nomodeset proxy.url=https://SATELLITE_CAPSULE_URL:9090 proxy.type=proxy
     IPAPPEND 2

--
Comment 9 errata-xmlrpc 2016-07-27 05:24:36 EDT
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/RHBA-2016:1501

Note You need to log in before you can comment on or make changes to this bug.