Bug 1136002

Summary: Hostgroup provisioning provides HTTPS URL
Product: Red Hat Satellite Reporter: Stephen Benjamin <stbenjam>
Component: ProvisioningAssignee: Stephen Benjamin <stbenjam>
Status: CLOSED ERRATA QA Contact: Kedar Bidarkar <kbidarka>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: bbuckingham, bkearney, cwelton, dcleal, hlawatschek, kbidarka, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/4463
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:15:47 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:
Bug Depends On:    
Bug Blocks: 1124386, 1126087    

Description Stephen Benjamin 2014-09-01 12:31:08 UTC
Description of problem:
`default_template_url` in the ConfigTemplatesController is returning an HTTPS url, which Anaconda will not like.

Version-Release number of selected component (if applicable):
6.0.4 Snap 7

How reproducible:
Always

Steps to Reproduce:
1. Setup host group provisioning
2. Deploy default PXE files
3. Look at /var/lib/tftpboot/pxelinux.cfg/default

Actual results:
The KS url is HTTPS

Expected results:
the KS url is HTTP

Additional info:

Comment 1 RHEL Program Management 2014-09-01 12:33:24 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 2 Stephen Benjamin 2014-09-01 12:33:43 UTC
Created redmine issue http://projects.theforeman.org/issues/7318 from this bug

Comment 4 Bryan Kearney 2014-10-31 12:04:41 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/4463 has been closed
-------------
Anonymous
Applied in changeset commit:0e3d065853992a67ab35f3d0a2747d36a766ab24.

Comment 5 Bryan Kearney 2015-01-09 14:49:40 UTC
Upstream bug assigned to stbenjam

Comment 8 Kedar Bidarkar 2015-03-13 16:37:55 UTC
1) created a host_group
2)associate katello kickstart default to a host-group
3) Deploy default PXE files
4) check the file on sat6  /var/lib/tftpboot/pxelinux.cfg/default

ks=https://http://xyz.redhat.com/

DEFAULT menu
PROMPT 0
MENU TITLE PXE Menu
TIMEOUT 200
TOTALTIMEOUT 6000
ONTIMEOUT local

LABEL local
     MENU LABEL (local)
     MENU DEFAULT
     LOCALBOOT 0

LABEL Katello Kickstart Default - rhel66_grp
     kernel boot/RedHat-6.6-x86_64-vmlinuz
     append initrd=boot/RedHat-6.6-x86_64-initrd.img ks=https://http://xyz.redhat.com/unattended/template/Katello%20Kickstart%20Default/rhel66_grp ksdevice=bootif network kssendmac


tried with sat6.1 beta snap6 compose2

Comment 11 Kedar Bidarkar 2015-05-04 17:32:59 UTC
Tested with sat6.1.0-GA-SNAP2

VERIFIED with Satellite-6.1.0-RHEL-7-20150429.2


LABEL Satellite Kickstart Default - rhel66_grp
     kernel boot/RedHat-6.6-x86_64-vmlinuz
     append initrd=boot/RedHat-6.6-x86_64-initrd.img ks=http://sat6.redhat.com:80/unattended/template/Satellite%20Kickstart%20Default/rhel66_grp ksdevice=bootif network kssendmac

Comment 12 Bryan Kearney 2015-08-11 13:31:51 UTC
This bug is slated to be released with Satellite 6.1.

Comment 13 errata-xmlrpc 2015-08-12 05:15:47 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/RHSA-2015:1592