Project

General

Profile

Bug #1725

Unattended installation returns HTTP 200 when an error occurs

Added by Ewoud Kohl van Wijngaarden almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Unattended installations
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

I tried to install a new machine with a non-finished puppet master. This gave a message:

Failed to clean any old certificates or add the autosign entry. Terminating the build!

This is to be expected, but since it's a HTTP 200 the actual error was hard to track down. It wasn't logged and the kickstart just asked for the URL instead of warning me that the kickstart was invalid (though I don't know if anaconda checks http status codes).

Associated revisions

Revision 26f75f44 (diff)
Added by Ewoud Kohl van Wijngaarden almost 7 years ago

Return a HTTP 500 when we fail on handle_ca (fixes #1725)

History

#1 Updated by Ewoud Kohl van Wijngaarden almost 7 years ago

For the record, I tested with CentOS 5 and 6 and both behave as expected. I used the following PHP script (forgive me :P):

header('HTTP/1.1 500 Internal Server Error');
echo 'Failed to clean any old certificates or add the autosign entry. Terminating the build!';

When booting it gives an error:

Error downloading kickstart file

Unable to download the kickstart file. Please modify the kickstart parameter below or press Cancel to proceed as an interactive installation.

#2 Updated by Ohad Levy almost 7 years ago

  • Target version set to 1.0

#3 Updated by Anonymous almost 7 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF