Project

General

Profile

Actions

Bug #4008

closed

Disable 'build mode' unsuccessful

Added by Thomas Linck over 10 years ago. Updated over 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We have a foreman instance runnning with puppet on a debian host with following versions:

Foreman from packages VersionĀ : 1.3.1-1

Puppet from packages VersionĀ : 2.7.23-1~deb7u1

We had to change some items name for functional purpose. We updated name of hostgroup, templates, classes ...
Since this name update we are not able to disable 'build mode' on all hosts. Gui returns an error message like 'Failed to cancel pending build for <hostname>'.
In error log this message is related to the following extract:

Started GET "/hosts/<hostname>.localdomain/cancelBuild" for <myIpAddr> at 2014-01-14 07:30:41 +0000
Processing by HostsController#cancelBuild as HTML
  Parameters: {"id"=>"<hostname>.localdomain"}
Add the TFTP configuration for <hostname>.localdomain
Failed to generate PXELinux template: undefined method `template' for nil:NilClass
Delete the autosign entry for <hostname>.localdomain
Rolling back due to a problem: []
Adding autosign entry for <hostname>.localdomain
Delete the TFTP configuration for <hostname>.localdomain
Failed to save: Failed to generate PXELinux template: undefined method `template' for nil:NilClass
Redirected to https://foreman/hosts/<hostname>.localdomain
Completed 302 Found in 702.1ms (ActiveRecord: 17.2ms)

As we gave Foreman an important role in our production system, this issue is really relevant to us and is not compatible with production system.
Please check this issue as soon as possible as it really matters to us.
For any further informations, let me know.


Related issues 1 (1 open0 closed)

Is duplicate of Foreman - Bug #2792: If you delete "PXE Localboot Default" cancel build failsNew07/15/2013Actions
Actions

Also available in: Atom PDF