Project

General

Profile

Actions

Bug #2383

closed

Pushing the "Certificates" button on a smart proxy with disabled PuppetCA throws cryptic ActiveRecord error

Added by Ivo Verberk almost 11 years ago. Updated over 9 years ago.

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

Description

I think a more meaningful error message should be displayed. Something like: "This smart-proxy has certificate management disabled". I don't know if other errors in the dns, puppet or dhcp functionality are any more meaningful, but I think ActiveRecord errors are not the preferred messages to display.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #6402: Using "run puppet" feature fails: undefined method `gsub' for #<Array ...>ClosedDominic Cleal06/26/2014Actions
Actions #1

Updated by Ivo Verberk almost 11 years ago

Or better yet: don't display the certificate options at all...

Actions #2

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #6402: Using "run puppet" feature fails: undefined method `gsub' for #<Array ...> added
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Resolved
  • Assignee deleted (Ohad Levy)

Thanks, I believe this is now resolved in Foreman 1.5.2. Errors like this are raised as standard Foreman exceptions, which should provide the response from the proxy with an error code which can be looked up on our wiki. The proxy logs will also detail the underlying cause.

Actions

Also available in: Atom PDF