Actions
Bug #3598
closedMake timeouts configurable
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman commands (obsolete)
Target version:
Description
Creating Hosts can be slow, particularly for image-based Compute Resources, which block until the image is up and the Finish template has been run. This leads to a timeout from Hammer:
[greg:~/github/hammer-cli]$ bundle exec bin/hammer host create --name test1 --hostgroup-id 11 --compute-resource-id 9 --compute-attributes "flavor_ref=1,image_ref=9c9d4946-3e33-4f6e-92f0-f3527ef42862,network=public"
Could not create the host:
Error: Request Timeout
The host is actually created fine:
Body: {"host":{"name":"test1.elysium.emeraldreverie.org","id":3871,"ip":"172.20.10.156","environment_id":6, ... <snip> }}
Completed 200 OK in 117643ms (Views: 54.6ms | ActiveRecord: 2454.5ms)
It would be nice to be able to increase the timeout for these actions
Actions