Description of problem: when install dependency for php app , will get the warning like : remote: WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update Issue can't be reproduced on INT(devenv_4751) Version-Release number of selected component (if applicable): devenv_4757 How reproducible: always Steps to Reproduce: 1. rhc app create php1 php-5.4 2. echo channel://pear.php.net/Validate-0.8.5 > .openshift/pear.txt 3. git push Actual results: Got the warning "remote: WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update" Detail push log as below: remote: Stopping PHP 5.4 cartridge (Apache+mod_php) remote: Waiting for stop to finish remote: Waiting for stop to finish remote: Building git ref 'master', commit d1b7c00 remote: Checking .openshift/pear.txt for PEAR dependency... remote: Checking PEAR: channel://pear.php.net/Validate-0.8.5 remote: remote: WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update remote: Failed to download pear/Net_IDNA within preferred state "stable", latest release is version 0.8.1, stability "beta", use "channel://pear.php.net/Net_IDNA-0.8.1" to install remote: pear/Validate can optionally use package "pear/Net_IDNA" (version >= 0.7.1) remote: downloading Validate-0.8.5.tgz ... remote: Starting to download Validate-0.8.5.tgz (21,668 bytes) remote: ........done: 21,668 bytes remote: downloading Date-1.4.7.tgz ... remote: Starting to download Date-1.4.7.tgz (55,754 bytes) remote: ...done: 55,754 bytes remote: install ok: channel://pear.php.net/Validate-0.8.5 remote: install ok: channel://pear.php.net/Date-1.4.7 remote: remote: Preparing build for deployment remote: Deployment id is b6d57d71 remote: Activating deployment remote: Starting PHP 5.4 cartridge (Apache+mod_php) remote: Application directory "/" selected as DocumentRoot remote: ------------------------- remote: Git Post-Receive Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://53662bef26c9d0af1c0001f5.rhcloud.com/~/git/php1.git/ Expected results: No such warning shown Additional info:
https://github.com/openshift/origin-server/pull/5609
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/5b7ea7711dfd2490b60e30efb2d5652ffa45c762 Bug 1094007 - PHP cart: update pear.php.net channel when install This patch fixes the warning: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update.
Test on INT(devenv_5024) Issue have been fixed. the warning won't show again. remote: Stopping PHP 5.4 cartridge (Apache+mod_php) remote: Waiting for stop to finish remote: Waiting for stop to finish remote: Waiting for stop to finish remote: Building git ref 'master', commit 7c2ba27 remote: Checking .openshift/pear.txt for PEAR dependency... remote: Checking PEAR: channel://pear.php.net/Validate-0.8.5 remote: remote: Failed to download pear/Net_IDNA within preferred state "stable", latest release is version 0.8.1, stability "beta", use "channel://pear.php.net/Net_IDNA-0.8.1" to install remote: pear/Validate can optionally use package "pear/Net_IDNA" (version >= 0.7.1) remote: downloading Validate-0.8.5.tgz ... remote: Starting to download Validate-0.8.5.tgz (21,668 bytes) remote: ........done: 21,668 bytes remote: downloading Date-1.4.7.tgz ... remote: Starting to download Date-1.4.7.tgz (55,754 bytes) remote: ...done: 55,754 bytes remote: install ok: channel://pear.php.net/Validate-0.8.5 remote: install ok: channel://pear.php.net/Date-1.4.7 remote: remote: Preparing build for deployment remote: Deployment id is abce7eba remote: Activating deployment remote: Starting PHP 5.4 cartridge (Apache+mod_php) remote: Application directory "/" selected as DocumentRoot remote: ------------------------- remote: Git Post-Receive Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://53d8556603ef6400a40004af.rhcloud.com/~/git/php1.git/ 474769f..7c2ba27 master -> master Move bug to verified.