Bug 1108900 - drupal-quickstart fails in latest INT deploy
Summary: drupal-quickstart fails in latest INT deploy
Keywords:
Status: CLOSED DUPLICATE of bug 1106349
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-12 19:23 UTC by Troy Dawson
Modified: 2015-05-15 02:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 05:47:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Troy Dawson 2014-06-12 19:23:49 UTC
Description of problem:
drupal-quickstart fails when trying to use it in the latest INT enviroment.
This needs to get fixed before this makes it to STG and PROD

Version-Release number of selected component (if applicable):
openshift-origin-cartridge-cron-1.23.1-1.el6oso
openshift-origin-cartridge-mysql-1.25.2-1.el6oso
openshift-origin-cartridge-php-1.26.2-1.el6oso

How reproducible:
100%

Steps to Reproduce:
1.rhc app create mydrupal cron -k php-5.3 mysql-5.1 --from-code=git://github.com/openshift/drupal-quickstart.git --no-git -l $user -p $pass
2.
3.

Actual results:
$ rhc app create mydrupal cron -k php-5.3 mysql-5.1 --from-code=git://github.com/openshift/drupal-quickstart.git --no-git -l $user -p $pass
Using cron-1.4 (Cron 1.4) for 'cron'

Application Options
-------------------
Domain:      tdawsonautotest
Cartridges:  cron-1.4, php-5.3, mysql-5.1
Source Code: git://github.com/openshift/drupal-quickstart.git
Gear Size:   default
Scaling:     no

Creating application 'mydrupal' ... 
The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 5399fdb56cec0ea0a700016d -c
"exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c6,c122' /bin/sh -c \"gear postreceive --init >>
/tmp/initial-build.log 2>&1\""' returned an error. rc=255

.Last 10 kB of build output:
Stopping MySQL 5.1 cartridge
Stopping PHP 5.3 cartridge (Apache+mod_php)
Stopping Cron cartridge
Repairing links for 1 deployments
Building git ref 'master', commit f2fb2b5
It appears you have a deplist.txt and .openshift/pear.txt file.
Please consider running `git rm deplist.txt'.
Checking .openshift/pear.txt for PEAR dependency...
Checking PEAR: pear.drush.org/drush

Attempting to discover channel "pear.drush.org"...
downloading channel.xml ...
Starting to download channel.xml (804 bytes)
....done: 804 bytes
Auto-discovered channel "pear.drush.org", alias "drush", adding to registry
downloading drush-6.2.0.0.tgz ...
Starting to download drush-6.2.0.0.tgz (505,989 bytes)
...done: 505,989 bytes
install ok: channel://pear.drush.org/drush-6.2.0.0


Download and install the latest stable version of Drupal

PHP Fatal error:  Call to undefined function json_encode() in
/var/lib/openshift/5399fdb56cec0ea0a700016d/app-root/runtime/dependencies/php/phplib/pear/pear/php/drush/includes/output.inc
on line 708
Drush command terminated abnormally due to an unrecoverable error.       [error]
Error: Call to undefined function json_encode() in
/var/lib/openshift/5399fdb56cec0ea0a700016d/app-root/runtime/dependencies/php/phplib/pear/pear/php/drush/includes/output.inc,
line 708
ERROR: Unable download and install Drupal.
An error occurred executing 'gear postreceive' (exit code: 7)
Error message: CLIENT_ERROR: Failed to execute action hook 'build' for 5399fdb56cec0ea0a700016d application
mydrupal

For more details about the problem, try running the command again with the '--trace' option.



Expected results:
It should be deployed.

Additional info:

Comment 1 weiwei jiang 2014-06-13 02:00:32 UTC
Duplicate with https://bugzilla.redhat.com/show_bug.cgi?id=1106349

Comment 2 Xiaoli Tian 2014-06-13 05:47:22 UTC

*** This bug has been marked as a duplicate of bug 1106349 ***


Note You need to log in before you can comment on or make changes to this bug.