Red Hat Bugzilla – Bug 966963
Some failures appear in platform.log during php app creation
Last modified: 2015-05-14 19:19:57 EDT
Description of problem:
Create php app, tail the platform.log during the app creation.
Found some failure in the log:
May 24 07:53:00 INFO Failed to render ERB
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Tail platform log
2.Create php app
Some failures in the platform.log
May 24 07:53:00 INFO Failed to render ERB /var/lib/openshift/307113805725126824558592/php/versions/5.3/configuration/etc/php.ini.erb: /opt/rh/ruby193/root/usr/bin/erb:117:in `set_encoding': No such file or directory - /var/lib/openshift/307113805725126824558592/php/versions/5.3/configuration/etc/php.ini.erb (Errno::ENOENT)
from /opt/rh/ruby193/root/usr/bin/erb:117:in `run'
from /opt/rh/ruby193/root/usr/bin/erb:154:in `<main>'
Should not have such info.
PHP app works well beside the error.
Commit pushed to master at https://github.com/openshift/origin-server
Bug 966963: Remove unnecessary versioned conf files from php cart
The php 5.3/5.4 configuration files all symlink back to shared. Remove the specific version
directories/files and use only the shared directory for setup. This also fixes a bug where
the symlinks to shared become broken during setup (as ERBs are removed during processing)
and cause the remaining symlinks to be re-processed as ERBs (which fails).
Checked on devenv_3277, php app creation will not generate failures in the platform.log now.