Project

General

Profile

Actions

Bug #29191

closed

Unable to render iPXE template 'Kickstart default iPXE': no implicit conversion of URI::HTTP into String"

Added by Oleh Fedorenko about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Category:
Templates
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1807073

Description of problem:

Unable to render iPXE template 'Kickstart default iPXE': no implicit conversion of URI::HTTP into String"]

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

How reproducible:

Steps to Reproduce:
1. Create a Host and fill all the mandatory fields
2. Under the 'Parameters' tab, add a host parameter as below:
-> Name: kickstart_liveimg
-> Type: string
-> Value: custom/RHEL_8_Image/RHEL_8_Image/devserver2-1.tar.xz

3. Click on 'Submit'

Actual results:
We get the below message:
---
The following errors may prevent a successful build:

Templates

Failure parsing Kickstart default iPXE: no implicit conversion of URI::HTTP into String.
---
Expected results:
The build finishes successfully

Additional info:
Workaround:
Change 'Kickstart default iPXE' template as below:

Modify the line below from:
stage2 = host_param('kickstart_liveimg') ? 'inst.stage2=' + medium_uri : ''
To:
stage2 = host_param('kickstart_liveimg') ? 'inst.stage2=' + medium_uri.to_s : ''

Actions #1

Updated by Oleh Fedorenko about 4 years ago

  • Category changed from TFTP to Templates
  • Status changed from New to Assigned
  • Assignee set to Oleh Fedorenko
  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot about 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/community-templates/pull/694 added
Actions #3

Updated by The Foreman Bot about 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #4

Updated by Oleh Fedorenko about 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker almost 4 years ago

  • Subject changed from Unable to render iPXE template 'Kickstart default iPXE': no implicit conversion of URI::HTTP into String"] to Unable to render iPXE template 'Kickstart default iPXE': no implicit conversion of URI::HTTP into String"
Actions

Also available in: Atom PDF