Bug 1324574 - s2i perl image broken on docker1.8
Summary: s2i perl image broken on docker1.8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Troy Dawson
QA Contact: Wang Haoran
URL:
Whiteboard:
: 1324758 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-06 16:39 UTC by Ben Parees
Modified: 2016-04-21 19:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-21 19:45:16 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0680 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 3.1.1.6 S2I images enhancement update 2016-04-21 23:45:08 UTC

Description Ben Parees 2016-04-06 16:39:54 UTC
Full details are covered in this issue:
https://github.com/openshift/sti-perl/issues/75

the short version is that the perl image currently contains some httpd configuration that causes it to break on docker1.8.  We need to revert the config changes in the perl image that OSE publishes (SCL will handle the image they ship).

Comment 2 Ben Parees 2016-04-06 17:28:44 UTC
here's the pull to fix the issue:
https://github.com/openshift/sti-perl/pull/76

Comment 3 Ben Parees 2016-04-06 18:20:25 UTC
new PR:
https://github.com/openshift/sti-perl/pull/77

Comment 4 Wenjing Zheng 2016-04-07 11:00:31 UTC
It seems this bug is similar to the one I reported today: https://bugzilla.redhat.com/show_bug.cgi?id=1324758, @Ben, is it?

Comment 6 Ben Parees 2016-04-07 13:31:13 UTC
*** Bug 1324758 has been marked as a duplicate of this bug. ***

Comment 7 Ben Parees 2016-04-07 13:31:41 UTC
@Wenjing, yes looks to be, i've closed that bug as a dupe.

Comment 10 Troy Dawson 2016-04-07 16:21:43 UTC
Updated image with fix has been built.

openshift3/perl-516-rhel7:5.16-35

Comment 12 Wenjing Zheng 2016-04-08 08:03:25 UTC
QE has tested with latest image
brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/rhscl/perl-516-rhel7 with image id 4a970d78f539, the fix is in this image, but get below error when build with this image:
# docker logs 9468ed4c3ab3
[Fri Apr 08 03:44:03.317586 2016] [so:warn] [pid 1] AH01574: module perl_module is already loaded, skipping
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 10.2.0.16. Set the 'ServerName' directive globally to suppress this message
(13)Permission denied: AH00091: httpd: could not open error log file /proc/self/fd/1.
AH00015: Unable to open logs

So will reopen this bug.

Comment 13 Troy Dawson 2016-04-08 13:19:01 UTC
This is not a rhscl image, it is an openshift3 image. Please test with the correct image.

brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/perl-516-rhel7
id 4a970d78f539

Comment 14 Wenjing Zheng 2016-04-10 01:43:04 UTC
(In reply to Troy Dawson from comment #13)
> This is not a rhscl image, it is an openshift3 image. Please test with the
> correct image.
> 
> brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/perl-516-
> rhel7
> id 4a970d78f539

Sorry, I mean openshift3 image, perl-520-rhel7 works well. Here is issued image id info:
brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/perl-516-rhel7        latest              4a970d78f539

Comment 15 Ben Parees 2016-04-11 17:26:38 UTC
the proper fix for this has been merged here:
https://github.com/openshift/sti-perl/pull/79

Troy you should be able to pull that in and rebuild now.

Comment 16 Troy Dawson 2016-04-11 19:15:29 UTC
Fix has been merged.
Updated image has been build.

QE, can you please test the updated image


openshift3/perl-516-rhel7:5.16-36
id: a2cc09363488

Comment 17 Dongbo Yan 2016-04-12 03:22:33 UTC
This bug is fixed.

openshift3/perl-516-rhel7          5.16-36             a2cc09363488

Comment 19 errata-xmlrpc 2016-04-21 19:45:16 UTC
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/RHEA-2016-0680.html


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