Bug 966963 - Some failures appear in platform.log during php app creation
Summary: Some failures appear in platform.log during php app creation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-24 12:05 UTC by Meng Bo
Modified: 2015-05-14 23:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 04:11:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meng Bo 2013-05-24 12:05:33 UTC
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):
devenv_3268

How reproducible:
always

Steps to Reproduce:
1.Tail platform log
#tailf /var/log/openshift/node/platform.log
2.Create php app
3.

Actual results:
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>'


Expected results:
Should not have such info.

Additional info:
PHP app works well beside the error.

Comment 2 openshift-github-bot 2013-05-25 14:03:36 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/f73937b84a694af4206d23ae659a4e913663f58f
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).

Comment 3 Meng Bo 2013-05-27 08:03:22 UTC
Checked on devenv_3277, php app creation will not generate failures in the platform.log now.


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