Project

General

Profile

Actions

Bug #17893

closed

Unable to preview iPXE template because of missing method bootdisk_chain_url

Added by Shlomi Zadok over 7 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1393848
Description of problem: Unable to preview provisioning template "Boot disk iPXE - host"

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

How reproducible:
100%

Steps to Reproduce:
1. Try to preview the "Boot disk iPXE - host" for any host
2.
3.

Actual results:
Warning! There was an error rendering the Boot disk iPXE - host template: undefined method `bootdisk_chain_url' for #

Expected results:
Preview the template

Additional info:
Can be resolved by creating a clone for the "Boot disk iPXE - host"

Change the following from:
~~~
...
  1. Chainload from Foreman rather than embedding OS info here, so the behaviour
  2. is entirely dynamic.
    chain <%= bootdisk_chain_url %>
    exit 0
    ...
    ~~~
To:
~~~
...
  1. Chainload from Foreman rather than embedding OS info here, so the behaviour
  2. is entirely dynamic.
    chain <%= foreman_url ('iPXE') %>
    exit 0
    ...
    ~~~

Related issues 1 (0 open1 closed)

Related to Foreman - Feature #18175: Optionally disable preview for a templateResolvedOndřej Pražák01/20/2017Actions
Actions #1

Updated by Marek Hulán over 7 years ago

  • Priority changed from High to Normal
  • Target version set to 115
Actions #2

Updated by Ondřej Pražák about 7 years ago

  • Related to Feature #18175: Optionally disable preview for a template added
Actions #3

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_bootdisk/pull/36 added
Actions #4

Updated by The Foreman Bot about 7 years ago

  • Pull request https://github.com/theforeman/foreman_bootdisk/pull/37 added
Actions #5

Updated by Ondřej Pražák about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Dominique Quatravaux about 3 years ago

  • Triaged set to No

For some reason the latest release of foreman_bootdisk, dated June 15, 2020 doesn't appear to contain https://github.com/theforeman/foreman_bootdisk/pull/37 ?
Update: https://github.com/theforeman/foreman_bootdisk/commit/789d80afdcd3028e36769bd3e139984fc7a4a325 apparently introduced a regression here.

Actions

Also available in: Atom PDF