Project

General

Profile

Actions

Bug #3117

closed

Calling "GET /unattended/built" fails

Added by Mark Heily over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We recently upgraded from Foreman 1.1 to 1.2, and hit a regression in the "GET unattended/built" page. Here's the part of the Kickstart that is failing:

# Inform the build system that we are done.
echo "Informing Foreman that we are built" 
wget -q -O /dev/null --no-check-certificate http://192.168.1.2:3000/unattended/built

Here's what shows up in the logs on the Foreman server:

Started GET "/unattended/built" for 192.168.1.14 at 2013-09-13 10:00:48 -0400
Processing by UnattendedController#built as */*
Found -certificate name redacted-
Filter chain halted as :allowed_to_install? rendered or redirected
Completed 405 Method Not Allowed in 9ms (ActiveRecord: 1.4ms)

This failure causes Foreman to not recognize that the build process is complete, so the host gets stuck in an infinite rebuild loop. As a workaround, you can hit the 'Cancel build' button manually via the web interface.

Actions

Also available in: Atom PDF