Description of problem: If try to create a scalable jbossews/jbossas app, it would be faild with following error shown in development.log: [ERROR] Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support. (pid:29688) 2012-12-24 00:51:33.437 [ERROR] ["/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.3.1/lib/openshift/mcollective_application_container_proxy.rb:1131:in `parse_result'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.3.1/lib/openshift/mcollective_application_container_proxy.rb:189:in `block in create'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.3.1/lib/openshift/mcollective_application_container_proxy.rb:178:in `each'" Version-Release number of selected component (if applicable): fork_ami_refctr1_372 rhc-1.3.2-1.el6_3.noarch How reproducible: always Steps to Reproduce: 1.Create a scalable jbossews/jbossas app Actual results: It's failed as below: Waiting for your DNS name to be available ... DEBUG: Start checking for application dns @ 'jbosas6-fork372test3.dev.rhcloud.com' retry # 1 - Waiting for DNS: jbosas6-fork372test3.dev.rhcloud.com retry # 2 - Waiting for DNS: jbosas6-fork372test3.dev.rhcloud.com retry # 3 - Waiting for DNS: jbosas6-fork372test3.dev.rhcloud.com retry # 4 - Waiting for DNS: jbosas6-fork372test3.dev.rhcloud.com retry # 5 - Waiting for DNS: jbosas6-fork372test3.dev.rhcloud.com retry # 6 - Waiting for DNS: jbosas6-fork372test3.dev.rhcloud.com retry # 7 - Waiting for DNS: jbosas6-fork372test3.dev.rhcloud.com DEBUG: End checking for application dns @ 'jbosas6-fork372test3.dev.rhcloud.com - found=' failure !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: Your application was created successfully but had problems during configuration. Below is a list of the issues and steps you can take to complete the configuration of your application. Application URL: http://jbosas6-fork372test3.dev.rhcloud.com/ Issues: 1. We were unable to lookup your hostname (jbosas6-fork372test3.dev.rhcloud.com) in a reasonable amount of time and can not clone your application. Steps to complete your configuration: 1. Clone your git repo $ rhc git-clone jbosas6 If you can't get your application 'jbosas6' running in the browser, you can try destroying and recreating the application: $ rhc app delete jbosas6 --confirm If this doesn't work for you, let us know in the forums or in IRC and we'll make sure to get you up and running. Forums - https://openshift.redhat.com/community/forums/openshift IRC - #openshift (on Freenode) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Expected results: App created successfully. Additional info: 1. It can create scalable jbosseap app successfully. 2. If try to show this app, following error is shown: # rhc app show -a jbosas6 -l jinzhang+3 Password: * The server did not respond correctly. This may be an issue with the server configuration or with your connection to the server (such as a Web proxy or firewall).Please verify that you can access the OpenShift server https://ec2-23-20-194-126.compute-1.amazonaws.com/broker/rest/domains/fork372test3/applications/jbosas6/cartridges 3. Please refer to attached development.log
Created attachment 668328 [details] development log on fork_ami_refctr1_372
Details: First calls: I, [2013-01-02T18:14:35.838852 #2741] INFO -- : openshift.rb:477:in `cartridge_do_action' cartridge_do_act ion call / request = #<MCollective::RPC::Request:0x000000013fcd60 @action="cartridge_do", @agent="openshift", @caller="uid=493", @data= {:cartridge=>"openshift-origin-node", :action=>"app-create", :args=> {"--with-app-uuid"=>"50e4bf590331bd75730000d0", "--with-app-name"=>"danmcp114a", "--with-container-uuid"=>"50e4bf590331bd75730000d0", "--with-container-name"=>"danmcp114a", "--with-namespace"=>"danmcp114", "--with-uid"=>1006}, :process_results=>true}, Then calls: I, [2013-01-02T18:14:37.115731 #2741] INFO -- : openshift.rb:477:in `cartridge_do_action' cartridge_do_act ion call / request = #<MCollective::RPC::Request:0x000000010a2a70 @action="cartridge_do", @agent="openshift", @caller="uid=493", @data= {:cartridge=>"openshift-origin-node", :action=>"app-create", :args=> {"--with-app-uuid"=>"50e4bf590331bd75730000d0", "--with-app-name"=>"danmcp114a", "--with-container-uuid"=>"50e4bf590331bd75730000d0", "--with-container-name"=>"danmcp114a", "--with-namespace"=>"danmcp114", "--with-uid"=>1007}, :process_results=>true}, and fails with: I, [2013-01-02T18:14:37.116019 #2741] INFO -- : openshift.rb:478:in `cartridge_do_action' cartridge_do_act ion validation = openshift-origin-node app-create {"--with-app-uuid"=>"50e4bf590331bd75730000d0", "--with-a pp-name"=>"danmcp114a", "--with-container-uuid"=>"50e4bf590331bd75730000d0", "--with-container-name"=>"danm cp114a", "--with-namespace"=>"danmcp114", "--with-uid"=>1007} I, [2013-01-02T18:14:37.116325 #2741] INFO -- : openshift.rb:30:in `oo_app_create' COMMAND: oo-app-create I, [2013-01-02T18:14:37.165710 #2741] INFO -- : openshift.rb:47:in `rescue in oo_app_create' ERROR: unable to create user account(9): useradd -u 1006 -d /var/lib/openshift/50e4bf590331bd75730000d0/ -s /usr/bin/oo-trap-user -c 'OpenShift guest' -m -k /etc/openshift/skel 50e4bf590331bd75730000d0 stdout: useradd: user '50e4bf590331bd75730000d0' already exists stderr: useradd: user '50e4bf590331bd75730000d0' already exists
Fixed in >= fork_ami_refctr1_373
It's fixed with fork_ami_refctr1_373, scalable jbossews/jbossas apps can be created successfully in the fork ami. Thanks.