Description of problem: Create drupal quickstart with php-5.4 cartridge in INT following repo: https://github.com/openshift/drupal-quickstart and https://github.com/ncdc/drupal-quickstart.git, could not create quickstart successfully. But in devenv_4159,could create drupal quickstart with php-5.4 cartridge successfully. Could create drupal quickstart with php-5.3 cartridge successfully in INT and devenv. Version-Release number of selected component (if applicable): INT(devenv_4158) https://github.com/openshift/drupal-quickstart https://github.com/ncdc/drupal-quickstart.git How reproducible: Always Steps to Reproduce: 1.Create drupal quickstart with php-5.4 following https://github.com/openshift/drupal-quickstart 2.Create drupal quickstart with php-5.4 following https://github.com/ncdc/drupal-quickstart.git Actual results: 1.OpenShift:test openshift$ rhc app create drupal php-5.4 mysql-5.1 cron --from-code=git://github.com/openshift/drupal-quickstart.git Using cron-1.4 (Cron 1.4) for 'cron' Application Options ------------------- Domain: wsunint Cartridges: php-5.4, mysql-5.1, cron-1.4 Source Code: git://github.com/openshift/drupal-quickstart.git Gear Size: default Scaling: no Creating application 'drupal' ... The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 52b3be7603ef64f83c0003f3 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c6,c392' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255 .Last 10 kB of build output: Stopping Cron cartridge Stopping PHP cartridge Syntax error on line 2 of /var/lib/openshift/52b3be7603ef64f83c0003f3/php/configuration/etc/conf.d/openshift.conf: DocumentRoot must be a directory httpd (no pid file) not running Stopping MySQL cartridge Repairing links for 1 deployments Building git ref 'master', commit 8b529ba Building PHP cartridge Checking pear: pear.drush.org/drush Extension already installed in the system: pear.drush.org/drush Download and install the latest stable version of Drupal /var/lib/openshift/52b3be7603ef64f83c0003f3/app-root/runtime/repo/.openshift/action_hooks/build: line 41: drush: command not found ERROR: Unable download and install Drupal. An error occurred executing 'gear postreceive' (exit code: 7) Error message: Failed to execute action hook 'build' for 52b3be7603ef64f83c0003f3 application drupal For more details about the problem, try running the command again with the '--trace' option. 2.OpenShift:test openshift$ rhc app create drupal php-5.4 mysql-5.1 cron --from-code=https://github.com/ncdc/drupal-quickstart.git Using cron-1.4 (Cron 1.4) for 'cron' Application Options ------------------- Domain: wsunint Cartridges: php-5.4, mysql-5.1, cron-1.4 Source Code: https://github.com/ncdc/drupal-quickstart.git Gear Size: default Scaling: no Creating application 'drupal' ... The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 52b3bf3d03ef64c4b60001f0 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c6,c367' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255 .Last 10 kB of build output: Stopping PHP cartridge httpd (no pid file) not running Stopping MySQL cartridge Stopping Cron cartridge Repairing links for 1 deployments Building git ref 'master', commit eee3d09 Building PHP cartridge Checking pear: pear.drush.org/drush Extension already installed in the system: pear.drush.org/drush Download and install the latest stable version of Drupal /var/lib/openshift/52b3bf3d03ef64c4b60001f0/app-root/runtime/repo/.openshift/action_hooks/build: line 40: drush: command not found ERROR: Unable download and install Drupal. An error occurred executing 'gear postreceive' (exit code: 7) Error message: Failed to execute action hook 'build' for 52b3bf3d03ef64c4b60001f0 application drupal For more details about the problem, try running the command again with the '--trace' option. Expected results: Could create drupal quickstart with php-5.4 cartridge successfully Additional info:
https://github.com/openshift/origin-server/pull/4450
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/d62bb4c3d394cc8ea2a7abbf7ca18d09d57e3c86 fix php cart PEAR builds - ignore checking for php extensions, as they're not PEARs - do not fail on upgrading PEAR to the same specific version - upgrade each PEAR with all dependencies - prevent malforming PEAR cache®istry files Bug 1047473 - Fail to install missing dependencies to PHP-5.4 app via deplist.txt - https://bugzilla.redhat.com/show_bug.cgi?id=1047473 Bug 1045338 - Failed to create drupal quickstart with php-5.4 cartridge in INT - https://bugzilla.redhat.com/show_bug.cgi?id=1045338 Bug 1046048 - Mail PEAR causes errors during deploy, no email capabilities - https://bugzilla.redhat.com/show_bug.cgi?id=1046048 Bug 977036 - PHP gear creating throwing PEAR warnings to platform logs - https://bugzilla.redhat.com/show_bug.cgi?id=977036
Could create drupal quickstart with php-5.4 cartridge in devenv_4229 Today INT has the same packages installed as devenv_4227,but this fixed is merged in devenv_4228,so will check this bug when INT has the same packages installed as devenv_4228 (or > devenv_4228)
Test on INT(devenv_4234) 1.Create drupal quickstart with php-5.4 following https://github.com/openshift/drupal-quickstart 2.Create drupal quickstart with php-5.4 following https://github.com/ncdc/drupal-quickstart.git Both apps can be created and work normally. Move bug to verified.