Bug 1313777

Summary: Boot images names in discovery stanza of 'PXELinux global default' template needs to be updated
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Discovery PluginAssignee: Lukas Zapletal <lzap>
Status: CLOSED ERRATA QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, ehelms
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:24:36 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:
Attachments:
Description Flags
PXELinux global default template stil contains image names as per upstream templates none

Description Sachin Ghai 2016-03-02 10:39:29 UTC
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 11:57:15 UTC
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 11:00:18 UTC
I can still see old changes as per upstream template with sat6.2 snap3.

Comment 5 Sachin Ghai 2016-03-10 11:02:12 UTC
Created attachment 1134813 [details]
PXELinux global default template stil contains image names as per upstream templates

Comment 6 Sachin Ghai 2016-03-28 09:07:24 UTC
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 09:24:36 UTC
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