Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1425545

Summary: Build failures on container install
Product: OpenShift Container Platform Reporter: Vikas Laad <vlaad>
Component: BuildAssignee: Cesar Wong <cewong>
Status: CLOSED DUPLICATE QA Contact: Wenjing Zheng <wzheng>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, mifiedle, skuznets
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-21 19:06:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vikas Laad 2017-02-21 16:56:48 UTC
Description of problem:
Quickstart app builds are failing on container install.

Version-Release number of selected component (if applicable):
openshift v3.5.0.32-1+4f84c83
kubernetes v1.5.2+43a9be4
etcd 3.1.0

How reproducible:
Always

Steps to Reproduce:
1. oc new-project rails
oc new-app --template=rails-postgresql-example
2. build starts and fails with following error

root@ip-172-31-37-221: ~/svt/reliability # oc logs -f rails-postgresql-example-2-build
Cloning "https://github.com/openshift/rails-ex.git" ...
	Commit:	c42ad67258e91a28a5ee5ffea24be485b9e18716 (Merge pull request #82 from bparees/sc_metadata)
	Author:	Ben Parees <bparees.github.com>
	Date:	Wed Feb 15 16:27:01 2017 -0500
---> Installing application source ...
---> Building your Ruby application from source ...
---> Running 'bundle install --deployment' ...
/opt/rh/rh-ruby23/root/usr/bin/ruby: error while loading shared libraries: libruby.so.2.3: cannot open shared object file: No such file or directory
error: build error: non-zero (13) exit code from registry.access.redhat.com/rhscl/ruby-23-rhel7@sha256:43d9fdcee9996e62e3240d4f73773e65f53fb00fba974c4a20c0f49eeeab5702

docker ps on master
root@ip-172-31-37-221: ~/svt/reliability # docker ps
CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS              PORTS               NAMES
ff6b9e57f467        openshift3/ose:v3.5.0.32                "/usr/bin/openshift s"   24 minutes ago      Up 24 minutes                           atomic-openshift-master
80c99bcccc27        openshift3/node:v3.5.0.32               "/usr/local/bin/origi"   35 minutes ago      Up 35 minutes                           atomic-openshift-node
117e7ee303c6        openshift3/openvswitch:v3.5.0.32        "/usr/local/bin/ovs-r"   36 minutes ago      Up 36 minutes                           openvswitch
b5dc45f4a4b6        registry.access.redhat.com/rhel7/etcd   "/usr/bin/etcd"          36 minutes ago      Up 36 minutes                           etcd_container


Actual results:
Build fails

Expected results:
Build should succeed.

Additional info:
This is happening with other quickstart apps too. Error from dancer mysql app

root@ip-172-31-37-221: ~/svt/reliability # oc logs -n dancer      dancer-mysql-example-1-build
Cloning "https://github.com/openshift/dancer-ex.git" ...
	Commit:	e7f27dc44cd31de837d2100b9aab3f6e7b805d81 (Merge pull request #59 from bparees/sc_metadata)
	Author:	Ben Parees <bparees.github.com>
	Date:	Wed Feb 15 16:27:52 2017 -0500
---> Installing application source ...
---> Copying configuration files...
'./cfg/dancer.conf' -> '/opt/app-root/etc/httpd.d/dancer.conf'
---> Installing modules from cpanfile ...
/opt/rh/rh-perl524/root/usr/bin/perl: error while loading shared libraries: libperl.so.rh-perl524-5.24: cannot open shared object file: No such file or directory
error: build error: non-zero (13) exit code from registry.access.redhat.com/rhscl/perl-524-rhel7@sha256:af1b2cf7794ee339c0cb6e53bdd07b9eaa290264e5bf8c7bbb857f8796c02a9d

Comment 1 Steve Kuznetsov 2017-02-21 19:06:10 UTC

*** This bug has been marked as a duplicate of bug 1425574 ***