Description of problem: With bz1094007, the line: php_context "pear -c ${OPENSHIFT_HOMEDIR}.pearrc channel-update pear.php.net" is inserted to $OSE_SRC22/cartridges/openshift-origin-cartridge-php/bin/install. This means users have to connet internet. OSE user don't want to access internet. Version-Release number of selected component (if applicable): OSE 2.2 Additional info: - OSE commmit 5b7ea7711dfd2490b60e30efb2d5652ffa45c762 - Oirigin commit https://github.com/openshift/origin-server/pull/5609 - bz1094007 https://bugzilla.redhat.com/show_bug.cgi?id=1094007
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.
Verified this bug with openshift-origin-cartridge-php-1.31.0.1-1 Change pear.php.net to an invalid address in line 38 of /usr/libexec/openshift/cartridges/php/bin/install, and remove "|| true". Try to create a php app. [root@broker ~]# rhc app create test2 php-5.4 -g medium Application Options ------------------- Domain: 123 Cartridges: php-5.4 ... config-set succeeded Cannot open invalid.net Unable to complete the requested operation due to: An invalid exit code (157) was returned from the server node1.ose22-manual.com.cn. This indicates an unexpected problem during the execution of your request. Reference ID: 92ec332eef98c1acacf7472845f53042 Add "|| true" back to the file. php app could be created successfully.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0220.html