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 1383582 - TFTP Rebuild failed for host
Summary: TFTP Rebuild failed for host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning Templates
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Roman Plevka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 07:01 UTC by Lukas Zapletal
Modified: 2019-09-26 16:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 17:09:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16819 0 None None None 2016-10-11 08:03:36 UTC

Description Lukas Zapletal 2016-10-11 07:01:46 UTC
After upgrading to 1.13 (also, already to rc1/2), triggering a "rebuild config" via Foreman UI results in the following error message:

2016-10-06T15:15:09 41b4843f [app] [I] Started POST "/hosts/submit_rebuild_config?host_ids%5B%5D=9" for 2001:a62:14b:a301:xxx at 2016-10-06 15:15:09 +0200
2016-10-06T15:15:09 41b4843f [app] [I] Processing by HostsController#submit_rebuild_config as HTML
2016-10-06T15:15:09 41b4843f [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZVbKXQGHxZwy9rHR8EGUiagzy99rjCE/8sL0KcVxqQUgb3iVhw1kEZxxx", "host_ids"=>["9"]}
2016-10-06T15:15:09 41b4843f [app] [I] Delete DHCP reservation for argon.example.com-00:25:90:0e:b4:c2/10.10.10.112
2016-10-06T15:15:09 41b4843f [app] [I] Create DHCP reservation for argon.example.com-00:25:90:0e:b4:c2/10.10.10.112
2016-10-06T15:15:09 41b4843f [app] [E] Failed to rebuild TFTP record for argon.example.com (10.10.10.112/2a02:xxxx)
 | ArgumentError: wrong number of arguments (0 for 1)
 | /usr/share/foreman/app/models/concerns/orchestration/tftp.rb:92:in `setTFTP'
 | /usr/share/foreman/app/models/concerns/orchestration/tftp.rb:39:in `rebuild_tftp'

http://projects.theforeman.org/issues/16819

Comment 2 Bryan Kearney 2016-10-11 10:09:27 UTC
Upstream bug component is Provisioning Templates

Comment 3 Bryan Kearney 2016-10-13 10:10:14 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16819 has been resolved.

Comment 4 Kedar Bidarkar 2017-09-11 19:45:44 UTC
Is this upgrade specific, meaning should this be tested only after an upgrade from sat62 to sat63?

Comment 5 Lukas Zapletal 2017-09-14 11:56:33 UTC
Just verify the rebuild button works, nothing to do with upgrades.

Comment 6 Roman Plevka 2017-09-27 13:40:31 UTC
VERIFIED
on sat6.3.0-17

- rebuilding works as a charm.
- there's no longer a POST request to "/hosts/submit_rebuild_config" as this was refactored.
- I was able to rebuild el7.4 x86_64 host to el6 i386 host.
the TFTP pxelinux and grub config files got properly overwritten.

Comment 7 Bryan Kearney 2018-02-21 16:44:02 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-2018:0336

Comment 8 Bryan Kearney 2018-02-21 17:09:51 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-2018:0336


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