Bug 946987
| Summary: | [fork][v2carts]Can not create php-5.3/ruby-1.8/ruby-1.9/python-2.6/perl-5.10 application successfully | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Wei Sun <wsun> | ||||||
| Component: | Containers | Assignee: | Krishna Raman <kraman> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 2.x | CC: | mfisher, mmcgrath, pmorie, xjia, yujzhang | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-04-20 03:36:01 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Wei Sun
2013-04-01 06:20:51 UTC
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 |