Project

General

Profile

Bug #25567

Wrong provision method signature for RancherOS

Added by John D. 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
TFTP
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

After upgrading from Foreman 1.19 to Foreman 1.20, RancherOS provisioning is not possible.

Unable to render PXELinux template ‘PXE RancherOS’: wrong number of arguments (given 1, expected 2…3)
Fetch TFTP boot files for pxetest.container.domain.de task failed with the following error: wrong number of arguments (given 1, expected 2…3)

How reproducible:

Upgrade Foreman from 1.19 to 1.20 and try to provision RancherOS.

Workaround:

Comment out /usr/share/foreman/app/models/operatingsystems/rancheros.rb

  def boot_files_uri(medium, architecture, host = nil)
    super(medium, architecture, host)
  end


Related issues

Related to Foreman - Feature #19389: Change TFTP filename pattern to include unique installation media IDClosed
Related to Foreman - Bug #25613: template snapshots should use correct os family New

Associated revisions

Revision 5842df48 (diff)
Added by Tomer Brisker 4 months ago

Fixes #25567 - Fix TFTP for RancherOS

History

#1 Updated by Tomer Brisker 4 months ago

  • Triaged changed from No to Yes
  • Target version set to 1.20.1
  • Assignee set to Tomer Brisker

#2 Updated by Tomer Brisker 4 months ago

  • Related to Feature #19389: Change TFTP filename pattern to include unique installation media ID added

#3 Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6287 added

#4 Updated by Tomer Brisker 4 months ago

  • Related to Bug #25613: template snapshots should use correct os family added

#5 Updated by Tomer Brisker 4 months ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Tomer Brisker 4 months ago

  • Fixed in Releases 1.20.1, 1.21.0 added

Also available in: Atom PDF