Project

General

Profile

Bug #17903

Unattended template doesn't call 'built'

Added by Daniel Lobato Garcia over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

The two kickstart templates provided by katello (kickstart and kickstart atomic) call home by calling 'foreman_url', instead of 'foreman_url('built')'. Calling simply foreman_url just fetches the kickstart, so booting hosts using those templates never set the host as 'finished build'. This causes a bootloop where the host will end up installing then rebooting then installing again ...

A workaround is to cancel the build manually through the web UI, but the templates should call home with 'foreman_url('built')' like every other template does.


Related issues

Related to Foreman - Support #19745: Katello default template boot loop (wrong foreman_url)Closed2017-06-02

Associated revisions

Revision d3541c40 (diff)
Added by Daniel Lobato Garcia over 5 years ago

Fixes #17903 - Use the 'built' foreman_url to call home

The two kickstart templates provided by katello (kickstart and kickstart
atomic) call home by calling 'foreman_url', instead of
'foreman_url('built')'. Calling simply foreman_url just fetches the
kickstart, so booting hosts using those templates never set the host
as 'finished build'. This causes a bootloop where the host will end
up installing then rebooting then installing again ...

History

#1 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6518 added

#2 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) set to 214

#3 Updated by Anonymous over 5 years ago

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

#4 Updated by Marek Hulán about 5 years ago

  • Related to Support #19745: Katello default template boot loop (wrong foreman_url) added

#5 Updated by Tomáš Strachota almost 5 years ago

  • Bugzilla link set to 1482890

Also available in: Atom PDF