Bug 1260940
Summary: | S2I rhel images are missing tar | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | DeShuai Ma <dma> | |
Component: | Build | Assignee: | Scott Dodson <sdodson> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Wenjing Zheng <wzheng> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 3.0.0 | CC: | aos-bugs, bparees | |
Target Milestone: | --- | Keywords: | TestBlocker | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1261117 (view as bug list) | Environment: | ||
Last Closed: | 2015-09-25 17:12:18 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1261117 |
Description
DeShuai Ma
2015-09-08 09:29:42 UTC
Two issues here. 1) s2i should work for this. it looks like it's not properly detecting it as a layered build. 2) tar needs to be in the s2i images. i will fix that. the image should have tar in it (we yum install it). something went wrong and sdodson is looking into it. but we still have a bug in that s2i should have done a layered build here since there is no tar, and it didn't. Gabe, assuming the actual images get fixed shortly, you'll need to recreate this by hacking up an image with no tar. this bug should be used to fix the fact that our s2i rhel images do not have tar installed. The rhel-7-server-rpms repo wasn't enabled when the base image was built. I've rebuilt it with that repo enabled and the optional repo as I noticed that bsdtar was omitted from the image. All S2I images have been rebuilt. 1. ruby rhel Image Id: ea16bfe08293, image has tar command, this bug is fixed. [root@openshift-134 ~]# docker images|grep ruby registry.access.redhat.com/openshift3/ruby-20-rhel7 latest ea16bfe08293 8 hours ago 478.5 MB rcm-img-docker01.build.eng.bos.redhat.com:5001/openshift3/ruby-20-rhel7 latest ea16bfe08293 8 hours ago 478.5 MB [root@openshift-134 ~]# docker run -it registry.access.redhat.com/openshift3/ruby-20-rhel7 /bin/bash Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning. bash-4.2$ which tar /usr/bin/tar bash-4.2$ exit exit |