Project

General

Profile

Actions

Support #8630

closed

Puppet clean certificate hangs => Host can not be provisioned

Added by Yama Kasi over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
PuppetCA
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

When booting a new host, the installation crashes during receiving the preconfiguration file.

Started GET "/unattended/provision?token=aa0ae6a0-d550-4945-9a96-35f96b04ce60" for xxx.xxx.xxx.xxx at 2014-12-09 18:22:54 +0100
Processing by UnattendedController#provision as HTML
Parameters: {"token"=>"aa0ae6a0-d550-4945-9a96-35f96b04ce60"}
Found hostname.domain.local
Remove puppet certificate for hostname.domain.local
Connecting to database specified by database.yml
Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
Operation FAILED: ERF12-7740 [ProxyAPI::ProxyException]: Unable to delete PuppetCA certificate for hostname.domain.local ([RestClient::$
Completed 500 Internal Server Error in 60260ms

ArgumentError (There was no default layout for UnattendedController in #<ActionView::PathSet:0x00000008d9e2e0 @paths=[/usr/share/foreman/app/views, /opt/rh/rub$
app/controllers/application_controller.rb:319:in `generic_exception'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

It seems to hang on this command:

sh -c /usr/bin/sudo -S /usr/bin/puppet cert --ssldir /var/lib/puppet/ssl --clean hostname.domain.local

Manually running it naked:

/usr/bin/puppet cert --ssldir /var/lib/puppet/ssl --clean hostname.domain.local

Error: Could not find a serial number for hostname.domain.local

Which seems to be normal.

Actions

Also available in: Atom PDF