Project

General

Profile

Actions

Bug #25567

closed

Wrong provision method signature for RancherOS

Added by John D. over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
TFTP
Target version:
Difficulty:
Triaged:
Yes
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 2 (1 open1 closed)

Related to Foreman - Feature #19389: Change TFTP filename pattern to include unique installation media IDClosedShimon ShteinActions
Related to Foreman - Bug #25613: Template snapshot tests should use multiple OS familiesNewLukas ZapletalActions
Actions

Also available in: Atom PDF