Description of problem: It always fails with "Node execution faliure" while creating scalable jbossas-7 apps. Version-Release number of selected component (if applicable): devenv_2723 How reproducible: Always Steps to Reproduce: 1.Try to create a scalable jbossas-7 app $ rhc app create app1 jbossas-7 -s 2. 3. Actual results: I'll attach the broker log. <----------------------client output--------------------------> root@ubuntu-0:~# rhc app create app1 jbossas-7 -s -d DEBUG: Connecting to https://ec2-23-20-51-169.compute-1.amazonaws.com/broker/rest/api DEBUG: Getting all cartridges DEBUG: SSL Verification failed -- Using self signed cert DEBUG: Getting all domains Password: DEBUG: SSL Verification failed -- Using self signed cert DEBUG: Getting all domains DEBUG: Finding domain jizhao1 DEBUG: Getting all domains Application Options ------------------- DEBUG: Getting all domains Namespace: jizhao1 Cartridges: jbossas-7 Gear Size: default Scaling: yes Creating application 'app1' ... DEBUG: Creating application 'app1' with these options - {:scale=>true, :cartridges=>["jbossas-7"]} DEBUG: Adding application app1 to domain jizhao1 DEBUG: SSL Verification failed -- Using self signed cert Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support. <---------------------------------------------------------> Expected results: The app should be created. Additional info:
Created attachment 687439 [details] broker log
Recreated in my devenv. Looks like app-create action is failing with this error: I, [2013-01-25T11:06:22.124856 #1156] INFO -- : openshift.rb:556:in `cartridge_do_action' cartridge_do_action validation = openshift-origin-node app-create {"--with-app-uuid"=>"5102ad77a267b76a0b00002e", "--wit h-app-name"=>"jtest", "--with-container-uuid"=>"5102ad77a267b76a0b00002e", "--with-container-name"=>"jtest", "--with-namespace"=>"pmorie094"} I, [2013-01-25T11:06:22.125153 #1156] INFO -- : openshift.rb:30:in `oo_app_create' COMMAND: oo-app-create I, [2013-01-25T11:06:22.154673 #1156] INFO -- : openshift.rb:47:in `rescue in oo_app_create' ERROR: unable to create user account(9): useradd -u 501 -d /var/lib/openshift/5102ad77a267b76a0b00002e/ -s /usr/bin/o o-trap-user -c 'OpenShift guest' -m -k /etc/openshift/skel 5102ad77a267b76a0b00002e stdout: useradd: user '5102ad77a267b76a0b00002e' already exists stderr: useradd: user '5102ad77a267b76a0b00002e' already exists I was able to create jbossews-1.0, ruby-1.9 scaled apps, as well as non-scaled jbossas-7. I think this bug must have been recently introduced, since I created a scaled jboss app successfully earlier this week.
Broken in the latest devenv, but is working in INT. So definitely looks like recently introduced. I'm guessing it might have to do with the new logic to have scaled apps only have 1 gear initially.
Bug does not exist in STG either.
typo in manifest.yml
Verified this bug on devenv_2734.