| Summary: | Could not create drupal quickstart with zend-5.6 cartridge successfully in INT | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Wei Sun <wsun> |
| Component: | Templates | Assignee: | Vojtech Vitek <vvitek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | agoldste, chunchen, david.l, hripps, mfojtik, vvitek, wsun, xtian |
| Target Milestone: | --- | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-30 00:49:41 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: | |
|
Description
Wei Sun
2013-10-31 11:10:20 UTC
This works in devenv_3974. Please retest when INT is >= 3974. Thanks! Tested this bug in INT(devenv_3975),still could not create drupal quickstart with zend-5.6,but could create drupal quickstart with zend-5.6 in devenv-stage_546. Result: [wsun@dhcp-8-229 test]$ rhc app create drupal zend-5 mysql-5 cron --from-code=git://github.com/openshift/drupal-quickstart.git --server int.openshift.redhat.com -l wsun+3 Using zend-5.6 (Zend Server 5.6) for 'zend-5' Using mysql-5.1 (MySQL 5.1) for 'mysql-5' Using cron-1.4 (Cron 1.4) for 'cron' Application Options ------------------- Domain: wsun3int Cartridges: zend-5.6, 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 52731b8603ef64802a000381 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c3,c106' /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 cartridge Stopping Zend Server Console lighttpd is not running Stopping Zend Server JobQueue daemon jqd is not running Stopping Apache Syntax error on line 2 of /var/lib/openshift/52731b8603ef64802a000381/zend/configuration/etc/conf.d/openshift.conf: DocumentRoot must be a directory httpd (no pid file) not running Stopping Zend Server Monitor node monitor is not running Stopping Zend Server Deployment daemon zdd is not running Stopping Cron cartridge Building git ref 'master', commit 8d24734 Checking pear: pear.drush.org/drush PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/bcmath.so' - /usr/local/zend/lib/php/20090626/bcmath.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/bz2.so' - /usr/local/zend/lib/php/20090626/bz2.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/calendar.so' - /usr/local/zend/lib/php/20090626/calendar.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ctype.so' - /usr/local/zend/lib/php/20090626/ctype.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/curl.so' - /usr/local/zend/lib/php/20090626/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/exif.so' - /usr/local/zend/lib/php/20090626/exif.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/fileinfo.so' - /usr/local/zend/lib/php/20090626/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ftp.so' - /usr/local/zend/lib/php/20090626/ftp.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/gd.so' - /usr/local/zend/lib/php/20090626/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/gettext.so' - /usr/local/zend/lib/php/20090626/gettext.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/imap.so' - /usr/local/zend/lib/php/20090626/imap.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/intl.so' - /usr/local/zend/lib/php/20090626/intl.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/json.so' - /usr/local/zend/lib/php/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/ldap.so' - /usr/local/zend/lib/php/20090626/ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mbstring.so' - /usr/local/zend/lib/php/20090626/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mcrypt.so' - /usr/local/zend/lib/php/20090626/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mongo.so' - /usr/local/zend/lib/php/20090626/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mysql.so' - /usr/local/zend/lib/php/20090626/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/mysqli.so' - /usr/local/zend/lib/php/20090626/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pdo_mysql.so' - /usr/local/zend/lib/php/20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pdo_pgsql.so' - /usr/local/zend/lib/php/20090626/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/pgsql.so' - /usr/local/zend/lib/php/20090626/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/phar.so' - /usr/local/zend/lib/php/20090626/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/posix.so' - /usr/local/zend/lib/php/20090626/posix.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/soap.so' - /usr/local/zend/lib/php/20090626/soap.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/sockets.so' - /usr/local/zend/lib/php/20090626/sockets.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/sqlite.so' - /usr/local/zend/lib/php/20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/tidy.so' - /usr/local/zend/lib/php/20090626/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/tokenizer.so' - /usr/local/zend/lib/php/20090626/tokenizer.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/xsl.so' - /usr/local/zend/lib/php/20090626/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/zend/lib/php/20090626/zip.so' - /usr/local/zend/lib/php/20090626/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0 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.1.0.0.tgz ... Starting to download drush-6.1.0.0.tgz (504,788 bytes) ...done: 504,788 bytes install ok: channel://pear.drush.org/drush-6.1.0.0 Download and install the latest stable version of Drupal /var/lib/openshift/52731b8603ef64802a000381/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 52731b8603ef64802a000381 application drupal For more details about the problem, try running the command again with the '--trace' option. Tested in INT(devenv_4043),still could reproduce this issue. I was not able to reproduce the issue on devenv_4044. @Wei Sun, can you please retest again or provide the devenv_4043 #ami reference? I reproduced the issue on the current INT(devenv_4052). Going to launch devenv_4052 and report back. devenv_4052: SUCCESS I can't reproduce the issue. Zend Server should provide all the necessary extensions to run popular php apps such as Drupal, Magento and wordpress. Please try installing such apps without using pear/pecl. @Wei Sun, I couldn't reproduce the issue on INT/PROD right now. Can you please verify? @Vojtech Vitek, I checked it on INT(devenv_4141), the issue was not totally fixed. It was failed to create drupal quickstart for Zend-6.1, but successful to create drupal quickstart for Zend-5.6. Please refer to the following results: 1. For Zend-6.1 1) drupal with mysql-5.1 ]$ rhc app create drupal6 zend-6.1 mysql-5.1 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git Using cron-1.4 (Cron 1.4) for 'cron' Application Options ------------------- Domain: cdm Cartridges: zend-6.1, mysql-5.1, cron-1.4 Source Code: git://github.com/openshift/drupal-quickstart.git Gear Size: default Scaling: no Creating application 'drupal6' ... The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 52b020166cec0e4eae0001b3 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c3,c672' /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 Zend Server daemon zsd is not running Stopping Zend Server JobQueue daemon jqd is not running Stopping Zend Server Deployment daemon zdd is not running Stopping Zend Server Java Bridge daemon java_daemon is not running Stopping Zend Server Console lighttpd is not running Stopping Apache Syntax error on line 2 of /var/lib/openshift/52b020166cec0e4eae0001b3/zend/configuration/etc/conf.d/openshift.conf: DocumentRoot must be a directory httpd (no pid file) not running Stopping Zend Server Monitor node monitor is not running Stopping MySQL cartridge Repairing links for 1 deployments Building git ref 'master', commit 8b529ba 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 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function ctype_alnum() in /var/lib/openshift/52b020166cec0e4eae0001b3/app-root/runtime/dependencies/zend/phplib/pear/pear/php/drush/includes/command.inc, line 896 ERROR: Unable download and install Drupal. An error occurred executing 'gear postreceive' (exit code: 7) Error message: Failed to execute action hook 'build' for 52b020166cec0e4eae0001b3 application drupal6 For more details about the problem, try running the command again with the '--trace' option. 2) drupal with mysql-5.5 ]$ rhc app create drupal6 zend-6 mysql-5.5 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git Using zend-6.1 (PHP - Zend Server 6.1 (PHP 5.4)) for 'zend-6' Using cron-1.4 (Cron 1.4) for 'cron' Application Options ------------------- Domain: cdm Cartridges: zend-6.1, mysql-5.5, cron-1.4 Source Code: git://github.com/openshift/drupal-quickstart.git Gear Size: default Scaling: no Creating application 'drupal6' ... The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 52b020cb03ef6434bc000193 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c5,c931' /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 cartridge Stopping Cron cartridge Stopping Zend Server daemon zsd is not running Stopping Zend Server JobQueue daemon jqd is not running Stopping Zend Server Deployment daemon zdd is not running Stopping Zend Server Java Bridge daemon java_daemon is not running Stopping Zend Server Console lighttpd is not running Stopping Apache Syntax error on line 2 of /var/lib/openshift/52b020cb03ef6434bc000193/zend/configuration/etc/conf.d/openshift.conf: DocumentRoot must be a directory httpd (no pid file) not running Stopping Zend Server Monitor node monitor is not running Repairing links for 1 deployments Building git ref 'master', commit 8b529ba 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 Drush command terminated abnormally due to an unrecoverable error. [error] Error: Call to undefined function ctype_alnum() in /var/lib/openshift/52b020cb03ef6434bc000193/app-root/runtime/dependencies/zend/phplib/pear/pear/php/drush/includes/command.inc, line 896 ERROR: Unable download and install Drupal. An error occurred executing 'gear postreceive' (exit code: 7) Error message: Failed to execute action hook 'build' for 52b020cb03ef6434bc000193 application drupal6 For more details about the problem, try running the command again with the '--trace' option. 2. For Zend-5.6 1) drupal with mysql-5.1 ]$ rhc app create drupal zend-5 mysql-5.1 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git Using zend-5.6 (PHP - Zend Server 5.6 (PHP 5.3)) for 'zend-5' Using cron-1.4 (Cron 1.4) for 'cron' Application Options ------------------- Domain: cdm Cartridges: zend-5.6, mysql-5.1, cron-1.4 Source Code: git://github.com/openshift/drupal-quickstart.git Gear Size: default Scaling: no Creating application 'drupal' ... done Note: You should set password for the Zend Server Console at: https://drupal-cdm.int.rhcloud.com/ZendServer MySQL 5.1 database added. Please make note of these credentials: Root User: adminquCiEF2 Root Password: B4UNER54i8sa Database Name: drupal Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/ You can manage your new MySQL database by also embedding phpmyadmin. The phpmyadmin username and password will be the same as the MySQL credentials above. To schedule your scripts to run on a periodic basis, add the scripts to your application's .openshift/cron/{minutely,hourly,daily,weekly,monthly}/ directories (and commit and redeploy your application). Example: A script .openshift/cron/hourly/crony added to your application will be executed once every hour. Similarly, a script .openshift/cron/weekly/chronograph added to your application will be executed once every week. Zend Server 5.6 started successfully Zend Server 5.6 stopped successfully Zend Server 5.6 started successfully Waiting for your DNS name to be available ... done Your application 'drupal' is now available. URL: http://drupal-cdm.int.rhcloud.com/ SSH to: 52b01da403ef641617000001.rhcloud.com Git remote: ssh://52b01da403ef641617000001.rhcloud.com/~/git/drupal.git/ Run 'rhc show-app drupal' for more details about your app. 2) drupal with mysql-5.5 ]$ rhc app create drupal5 zend-5.6 mysql-5.5 cron --from-code=git://github.com/openshift/drupal-quickstart.git --no-git Using cron-1.4 (Cron 1.4) for 'cron' Application Options ------------------- Domain: cdm Cartridges: zend-5.6, mysql-5.5, cron-1.4 Source Code: git://github.com/openshift/drupal-quickstart.git Gear Size: default Scaling: no Creating application 'drupal5' ... done Note: You should set password for the Zend Server Console at: https://drupal5-cdm.int.rhcloud.com/ZendServer MySQL 5.5 database added. Please make note of these credentials: Root User: adminbfp4svS Root Password: StPtc4NwAzFS Database Name: drupal5 Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/ You can manage your new MySQL database by also embedding phpmyadmin. The phpmyadmin username and password will be the same as the MySQL credentials above. To schedule your scripts to run on a periodic basis, add the scripts to your application's .openshift/cron/{minutely,hourly,daily,weekly,monthly}/ directories (and commit and redeploy your application). Example: A script .openshift/cron/hourly/crony added to your application will be executed once every hour. Similarly, a script .openshift/cron/weekly/chronograph added to your application will be executed once every week. Zend Server 5.6 started successfully Zend Server 5.6 stopped successfully Zend Server 5.6 started successfully Waiting for your DNS name to be available ... done Your application 'drupal5' is now available. URL: http://drupal5-cdm.int.rhcloud.com/ SSH to: 52b01f4003ef6434bc000149.rhcloud.com Git remote: ssh://52b01f4003ef6434bc000149.rhcloud.com/~/git/drupal5.git/ Run 'rhc show-app drupal5' for more details about your app. @chunchen,
> Drush command terminated abnormally due to an unrecoverable error. [error]
> Error: Call to undefined function ctype_alnum() in
> /var/lib/openshift/52b020166cec0e4eae0001b3/app-root/runtime/dependencies/zend/phplib/pear/pear/php/drush/includes/command.inc,
> line 896
this is completely unrelated bug. Can you please submit a new bug "ctype_alnum() function not available in Zend-6.1" and VERIFY this bug (as it was originally open against zend-5.6 only)?
Thanks, Vojtech
According to #Comment 18 and #Comment 19,verify this bug. File a new bug: https://bugzilla.redhat.com/show_bug.cgi?id=1044312 to track the issue "ctype_alnum() function not available in Zend-6.1" |