OpenShift Gear Creation Errors out, timeout suspected.
Issue
- With a little maven project that builds from source (eg. hello world servlet with small maven dependencies list) there is no problem. However with a larger maven project, the broker results an error, and the application does not get created.
- We suspect a timeout because for the same maven project and when the workflow is different (binary deployment) we can deploy it with success.
- How can we fix this use case ?
- Logs Demonstrating Error
I, [2013-10-30T17:28:19.208818 #1240] INFO -- : openshift.rb:51:in `cartridge_do_action' cartridge_do_action call / action: cartridge
_do, agent=openshift, data={:cartridge=>"jbosseap-6.0",
:action=>"post-configure",
:args=>
{"--with-app-uuid"=>"5271338411ced6334d000080",
"--with-app-name"=>"test4",
"--with-container-uuid"=>"5271338411ced6334d000080",
"--with-container-name"=>"test4",
"--with-namespace"=>"asogukpi",
"--with-request-id"=>"1d52a74047061db419a53458621a64eb",
"--cart-name"=>"jbosseap-6.0",
"--component-name"=>"jbosseap-6.0",
"--with-software-version"=>"6.0",
"--cartridge-vendor"=>"redhat",
"--with-template-git-url"=>
"https://github.com/boly38/spring-petclinic-hsql-openshift-quickstart.git"},
:process_results=>true}
- Error message of "timeout error" shows up 4 min 11 sec at 17:31:30.
E, [2013-10-30T17:31:30.041304 #1240] ERROR -- : openshift.rb:171:in `rescue in with_container_from_args' /opt/rh/ruby193/root/usr/sha
re/gems/gems/openshift-origin-node-1.9.14.6/lib/openshift-origin-node/model/application_container.rb:140:in `rescue in post_configure'
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.9.14.6/lib/openshift-origin-node/model/application_container.rb:117:i
n `post_configure'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:595:in `block in oo_post_configure'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:166:in `with_container_from_args'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:594:in `oo_post_configure'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:93:in `execute_action'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:65:in `cartridge_do_action'
/opt/rh/ruby193/root/usr/share/ruby/mcollective/rpc/agent.rb:86:in `handlemsg'
/opt/rh/ruby193/root/usr/share/ruby/mcollective/agents.rb:126:in `block (2 levels) in dispatch'
/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in `timeout'
/opt/rh/ruby193/root/usr/share/ruby/mcollective/agents.rb:125:in `block in dispatch'
I, [2013-10-30T17:31:30.041454 #1240] INFO -- : openshift.rb:100:in `execute_action' Finished executing action [post-configure] (-1)
I, [2013-10-30T17:31:30.041819 #1240] INFO -- : openshift.rb:73:in `cartridge_do_action' cartridge_do_action failed (-1)
------
CLIENT_ERROR: The initial build for the application failed. Last 10 kB of build output:
Environment
- OpenShift Enterprise 1.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
