+++ This bug was initially created as a clone of Bug #1176491 +++ Description of problem: With bug 1094007, the line: php_context "pear -c ${OPENSHIFT_HOMEDIR}.pearrc channel-update pear.php.net" is inserted to cartridges/openshift-origin-cartridge-php/bin/install. This means users have to connet internet. OSE user don't want to access internet. Additional info: - Origin commit https://github.com/openshift/origin-server/pull/5609 - bz1094007 https://bugzilla.redhat.com/show_bug.cgi?id=1094007 --- Additional comment from Luke Meyer on 2014-12-23 11:31:26 EST --- For most cartridges, it will be difficult to accomplish much without access to the internet for downloading dependencies. Nonetheless, it does seem reasonable that this particular failure to reach the internet should not block app creation. The change for bug 1094007 was made in order to resolve a warning message; I expect we could just return to showing warning messages if the channel-update didn't work out.
https://github.com/openshift/origin-server/pull/6030 should address this.
Verified on devenv_5376. Mannually change the pear.php.net to an invalid one in online server and delete the fix "|| true", php cannot be created with errors like "Cannot open pear.php.net123"; But if add the fix "|| true", app can be created successfully.