Project

General

Profile

Bug #2383

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

Added by Ivo Verberk about 9 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
PuppetCA
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

Related to Foreman - Bug #6402: Using "run puppet" feature fails: undefined method `gsub' for #<Array ...>Closed2014-06-26

History

#1 Updated by Ivo Verberk about 9 years ago

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

#2 Updated by Dominic Cleal almost 8 years ago

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

#3 Updated by Dominic Cleal almost 8 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.

Also available in: Atom PDF