Project

General

Profile

Actions

Bug #3135

closed

Request Timeout on Puppet Class Import

Added by Shawn LoPresto over 10 years ago. Updated over 5 years ago.

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

Description

This was working previously, but now when I attempt to import my puppet classes, I get a request timeout every time.

RestClient::RequestTimeout
Request Timeout
lib/proxy_api/resource.rb:68:in `get'
lib/proxy_api/puppet.rb:9:in `environments'
app/models/puppet_class_importer.rb:121:in `actual_environments'
app/models/puppet_class_importer.rb:21:in `changes'
lib/foreman/controller/environments.rb:9:in `import_environments'
lib/foreman/thread_session.rb:31:in `clear_thread'


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2283: Need a way to configure proxy timeoutClosed03/05/2013Actions
Actions #1

Updated by Dominic Cleal over 10 years ago

  • Target version deleted (1.2.3)

I'd perhaps check your foreman-proxy service is up and fully accessible, perhaps restart it.

Actions #2

Updated by Jason Smith over 10 years ago

I think this is related to bug #2283. When trying to import many environments that each have many classes it can often take over the default 60 second rest client timeout.

Actions #3

Updated by Dominic Cleal over 10 years ago

  • Related to Bug #2283: Need a way to configure proxy timeout added
Actions #4

Updated by Paul Calabro over 9 years ago

I'm experiencing this same issue. I have 7 environments. I'm also on 3.6 RC1.
When I go to import a new environment, I get the following error:

Warning!

ERF12-4115 [ProxyAPI::ProxyException]: Unable to get classes from Puppet for development_nagios ([RestClient::RequestTimeout]: Request Timeout) for proxy https://FQDN:8443/puppet

The full trace is:

ProxyAPI::ProxyException
ERF12-4115 [ProxyAPI::ProxyException]: Unable to get classes from Puppet for development_nagios ([RestClient::RequestTimeout]: Request Timeout) for proxy https://FQDN:8443/puppet
lib/proxy_api/puppet.rb:27:in `rescue in classes'
lib/proxy_api/puppet.rb:21:in `classes'
app/services/puppet_class_importer.rb:155:in `actual_classes'
app/services/puppet_class_importer.rb:78:in `new_classes_for'
app/services/puppet_class_importer.rb:25:in `block in changes'
app/services/puppet_class_importer.rb:24:in `each'
app/services/puppet_class_importer.rb:24:in `changes'
app/controllers/concerns/foreman/controller/environments.rb:11:in `import_environments'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'

Actions #5

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 1.7.2
  • Pull request https://github.com/theforeman/foreman/pull/1839 added
Actions #6

Updated by Anonymous over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Dominic Cleal over 9 years ago

  • translation missing: en.field_release set to 21
Actions

Also available in: Atom PDF