Description of problem: Try to create php-5.3/ruby-1.8/ruby-1.9/python-2.6/perl-5.10 application in v2 mode,but can not create them successfully.Show error message "Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support." Version-Release number of selected component (if applicable): devenv_3020 How reproducible: Always Steps to Reproduce: 1.create a php-5.3 application 2. 3. Actual results: rhc app create phpt php-5.3 --no-git -p test Application Options ------------------- Namespace: wsundevv2auto Cartridges: php-5.3 Gear Size: default Scaling: no Creating application 'phpt' ... Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support. Expected results: Can create these applications successfully. Additional info: Can create diy-0.1,jbosseap-6.0.1,jbossews-2.0,jenkins-1.4
Created attachment 730196 [details] mcollective.log
Created attachment 730198 [details] development.log
For php: origin-server / cartridges / openshift-origin-cartridge-php / bin / setup mkdir -p $OPENSHIFT_PHP_DIR/configuration/etc/conf.d cp $OPENSHIFT_PHP_DIR/versions/$version/configuration/etc/conf.d/* $OPENSHIFT_PHP_DIR/configuration/etc/conf.d/ ===> This should be cp $OPENSHIFT_PHP_DIR/versions/shared/configuration/etc/conf.d/* $OPENSHIFT_PHP_DIR/configuration/etc/conf.d/ mkdir -p $OPENSHIFT_PHP_DIR/configuration/etc/conf cp $OPENSHIFT_PHP_DIR/versions/$version/configuration/etc/conf/* $OPENSHIFT_PHP_DIR/configuration/etc/conf/ ====>cp $OPENSHIFT_PHP_DIR/versions/shared/configuration/etc/conf/* $OPENSHIFT_PHP_DIR/configuration/etc/conf/ After modify the script "setup" and re-create php cartridge: The error message:/var/log/openshift/node/platform-trace.log: <--snip--> D, [2013-04-01T02:42:49.511937 #1026] DEBUG -- : oo_spawn buffer(6/) Syntax error on line 5 of /var/lib/openshift/633277344880784452878336/redhat-php/configuration/etc/conf.d/php.conf: D, [2013-04-01T02:42:49.512161 #1026] DEBUG -- : oo_spawn buffer(6/) Invalid command 'AddType', perhaps misspelled or defined by a module not included in the server configuration <--snip--> Check the configure file, $OPENSHIFT_PHP_DIR/configuration/etc/conf/ and $OPENSHIFT_PHP_DIR/configuration/etc/conf.d/ only have one configure file php.conf. Others are "httpd.conf.erb" "httpd_nolog.conf.erb" "openshift.config.erb" ...
Besides about cartridge, mysql-5.1 can not be added to application, error log in broker as following: 2013-04-01 04:34:43.386 [ERROR] Node execution failure (invalid exit code from node). If the problem persists please contact Red Hat support. (pid:7365) 2013-04-01 04:34:43.387 [ERROR] ["/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.7.1/lib/openshift/mcollective_application_container_proxy.rb:2535:in `parse_result'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.7.1/lib/openshift/mcollective_application_container_proxy.rb:2683:in `run_cartridge_command'", "/var/www/openshift/broker/lib/online/broker/mcollective_ext.rb:13:in `run_cartridge_command'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.7.1/lib/openshift/mcollective_application_container_proxy.rb:2286:in `add_component'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-msg-broker-mcollective-1.7.1/lib/openshift/mcollective_application_container_proxy.rb:698:in `configure_cartridge'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.7.1/app/models/gear.rb:122:in `add_component'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.7.1/app/models/pending_app_op_group.rb:185:in `block in execute'", "/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-controller-1.7.1/app/models/pending_app_op_group.rb:146:in `each'", "/opt/rh/ruby193/root/usr/share....
I was able to successfully create an app of each type indicated here except for php, which appears to have a problem specific to the php cart. Reassigning to mrunal to fix.
It looks like the root cause is actually a change made to the v2 cart model on Friday. Reassigning to Krishna.
Krishna- You can exercise the V2 cucumber tests using the following command in a devenv: cucumber openshift-test/tests/cartridge-* -t @runtime_other
Check this bug in devenv_3034 Can create php-5.3/ruby-1.8/ruby-1.9/python-2.6/perl-5.10 application successfully
We think this should be working now. Please confirm.
Verified in devenv_3108 Can create php-5.3/ruby-1.8/ruby-1.9/python-2.6/perl-5.10 application successfully