Project

General

Profile

Actions

Bug #14925

closed

request_timeout not obeyed, host creation times out

Added by alvin starr about 8 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Foreman commands (obsolete)
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

when creating a host via hammer on AWS the host build times out every time.
The provisioning is being handled by ssh and takes 5 or more minutes.

The result is:

[ERROR 2016-05-03 23:06:16 Exception] Error: Request Timeout
Could not create the host:
Error: Request Timeout
[ERROR 2016-05-03 23:06:16 Exception]

RestClient::RequestTimeout (Request Timeout):
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:184:in `rescue in transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:140:in `transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.6.7/lib/restclient/resource.rb:67:in `post'
/opt/rh/ruby193/root/usr/local/share/gems/gems/apipie-bindings-0.0.16/lib/apipie_bindings/api.rb:295:in `call_client'
/opt/rh/ruby193/root/usr/local/share/gems/gems/apipie-bindings-0.0.16/lib/apipie_bindings/api.rb:224:in `http_call'
/opt/rh/ruby193/root/usr/local/share/gems/gems/apipie-bindings-0.0.16/lib/apipie_bindings/api.rb:175:in `call_action'
/opt/rh/ruby193/root/usr/local/share/gems/gems/apipie-bindings-0.0.16/lib/apipie_bindings/api.rb:169:in `call'
/opt/rh/ruby193/root/usr/local/share/gems/gems/apipie-bindings-0.0.16/lib/apipie_bindings/resource.rb:14:in `call'
/opt/rh/ruby193/root/usr/local/share/gems/gems/hammer_cli-0.6.1/lib/hammer_cli/apipie/command.rb:43:in `send_request'
/opt/rh/ruby193/root/usr/local/share/gems/gems/hammer_cli_foreman-0.6.2/lib/hammer_cli_foreman/commands.rb:189:in `send_request'
/opt/rh/ruby193/root/usr/local/share/gems/gems/hammer_cli-0.6.1/lib/hammer_cli/apipie/command.rb:34:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/rh/ruby193/root/usr/local/share/gems/gems/hammer_cli-0.6.1/lib/hammer_cli/abstract.rb:22:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/rh/ruby193/root/usr/local/share/gems/gems/hammer_cli-0.6.1/lib/hammer_cli/abstract.rb:22:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/subcommand/execution.rb:11:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run'
/opt/rh/ruby193/root/usr/local/share/gems/gems/hammer_cli-0.6.1/lib/hammer_cli/abstract.rb:22:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run'
/opt/rh/ruby193/root/usr/local/share/gems/gems/hammer_cli-0.6.1/bin/hammer:125:in `<top (required)>'
/usr/bin/hammer:23:in `load'
/usr/bin/hammer:23:in `<main>'


Files

hc.txt hc.txt 25.1 KB alvin starr, 05/05/2016 11:07 AM
Actions

Also available in: Atom PDF