Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1395377 - Provisoning via a Capsule shouldn't require a TFTP proxy.
Summary: Provisoning via a Capsule shouldn't require a TFTP proxy.
Keywords:
Status: CLOSED DUPLICATE of bug 1347748
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.2.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-15 20:33 UTC by Sean O'Keeffe
Modified: 2018-04-10 08:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 08:14:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sean O'Keeffe 2016-11-15 20:33:21 UTC
Description of problem:
When provision the template URL is taken from the Subnets TFTP Capsule, we should instead have a Template Capsule option.

In situations where you don't want to run a TFTP server and are using Bootdisk ISO's for provisioning you will be unable to provision via a Capsule as the KS path in the PXELinux template will look for the Subnets TFTP Capsule and use that for provision, if that fails it defaults back to the Satellite URL (this is why its only a problem when using Capsules).

As a workaround you have to enable TFTP featue on the Capsule.

How reproducible:
Always

Steps to Reproduce:
1. See below

Additional info:

<sean> jsherrill one other thing, the PXELinux template is pointing to the satellite :(
<jsherrill> sean: for the kickstart file you mean?
<jsherrill> sean: i think the host has to be associated with a subnet, that has a template proxy set
<sean> "Kickstart default PXELinux" template had ...ks=http://<sat url>/blah it should be ks=http://<capsule url>/blah
<sean> which option is it on the subnet? 
<sean> jsherrill, capsule tab only has DHCP TFTP DNS Discovery & Remote-ex ?
<jsherrill> sean: if you go to your capsule list, do you have a capsule with the 'template' feature ?
<jsherrill> its either called 'template' or 'template proxy'
<jsherrill> sean:  you may need to provide another install option
<sean> jsherrill, yup they all have templates enabled
<sean> jsherrill, updated the foreman_url setting to point to capsule for now 
<sean> jsherrill looks like its looking for tftp capsule https://github.com/theforeman/foreman/blob/develop/app/models/concerns/host_template_helpers.rb#L34
<sean> jsherrill, i think we should create a new template capsule option?
<sean> becuase you might want to a capsule for templates and not tftp, e.g using bootdisk 
<jsherrill> ohhh right it piggy backs off that
<jsherrill> sean: in that case it wouldn't really matter if the tftp was updated right? 
<jsherrill> or do you not have a tftp feature on that proxy
<jsherrill> you could enable that feature on the proxy and it shouldn't hurt anything if you're not using the tftp server there
<sean> i dont have tftp enabled, looks like im going to have to enable it and set the capsule as a 'better' fix for now
<jsherrill> sean: yeah, i think thats the best best for the shorter term
<jsherrill> but i agree, having that as an option on the subnet
<jsherrill> would be good
<jsherrill> so you don't have to have a dummy tftp server

Comment 3 Sean O'Keeffe 2018-04-10 08:14:16 UTC

*** This bug has been marked as a duplicate of bug 1347748 ***


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