Bug 1094007 - Show some warning when install dependency for php app
Summary: Show some warning when install dependency for php app
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-04 09:46 UTC by Yan Du
Modified: 2015-05-15 00:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-10 00:47:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1176969 0 medium CLOSED Users cannot create a PHP application without internet access due to pear channel-update 2021-02-22 00:41:40 UTC

Internal Links: 1176969

Description Yan Du 2014-05-04 09:46:40 UTC
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:

Comment 2 openshift-github-bot 2014-07-28 21:52:03 UTC
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.

Comment 3 Yan Du 2014-07-30 02:18:18 UTC
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.


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