Bug 1664854

Summary: Add rsync back to the docker-registry image
Product: OpenShift Container Platform Reporter: Ben Parees <bparees>
Component: ReleaseAssignee: Luke Meyer <lmeyer>
Status: CLOSED ERRATA QA Contact: Wenjing Zheng <wzheng>
Severity: medium Docs Contact:
Priority: urgent    
Version: 4.1.0CC: aos-bugs, bparees, jokerman, mmccomas, smunilla, xiuwang
Target Milestone: ---Keywords: NeedsTestCase, Regression
Target Release: 4.1.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1614841 Environment:
Last Closed: 2019-06-04 10:41:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1614841    
Bug Blocks: 1664853    

Comment 2 XiuJuan Wang 2019-01-25 03:28:14 UTC
This issue didn't fix in ocp 4.0, which has included https://github.com/openshift/image-registry/pull/140 .

$oc adm release info --pullspecs registry.svc.ci.openshift.org/ocp/release:4.0.0-0.nightly-2019-01-24-184525  | grep  docker-registry  docker-registry                               registry.svc.ci.openshift.org/ocp/4.0-art-latest-2019-01-24-184525@sha256:4f7563afb5afe286df55314ea1100f0e01208bf31a92a24b4fe245e9adbc9b90
[xiuwang@dhcp-140-96 release-payload]$ oc image info registry.svc.ci.openshift.org/ocp/4.0-art-latest-2019-01-24-184525@sha256:4f7563afb5afe286df55314ea1100f0e01208bf31a92a24b4fe245e9adbc9b90  | grep commit 
$oc rsh -n openshift-image-registry  image-registry-5bcb79bf8d-t4wcr
sh-4.2$ rpm -qa | grep  rsync

$docker run --user root  -it --entrypoint=/bin/bash --rm  registry.reg-aws.openshift.com:443/openshift/ose-docker-registry:v4.0
[root@3d38c691cf98 /]# rpm -qa | grep rsync 
[root@3d38c691cf98 /]#

Comment 3 Ben Parees 2019-01-25 04:27:42 UTC
it's in our dockerfile so this is a question for the release team as to why it's not in the image:

it's possible the ocp image is still building off this dockerfile which i think would be wrong:

Comment 4 Ben Parees 2019-01-30 15:22:23 UTC
Luke figured out the ART build config is pointing to the older dockerfile, he's going to update the build config:


Comment 5 Luke Meyer 2019-01-30 16:28:56 UTC
The build should be using the new dockerfile as of v4.0.0-0.150.1

Comment 6 Wenjing Zheng 2019-01-31 08:51:40 UTC
Verified with quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.0.0-0.150.1-ose-docker-registry:
[wzheng@laptop ~]$ docker run --user root  -it --entrypoint=/bin/bash --rm quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.0.0-0.150.1-ose-docker-registry  
Unable to find image 'quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.0.0-0.150.1-ose-docker-registry' locally
Trying to pull repository quay.io/openshift-release-dev/ocp-v4.0-art-dev ... 
sha256:d6da1fbfd4cc153ca8fd59317b8faee806b6defe124ff5ab920b646ebdf81f53: Pulling from quay.io/openshift-release-dev/ocp-v4.0-art-dev
c325120ebc8d: Already exists 
c9d123037991: Already exists 
b5cb4b561557: Already exists 
3b460945a39c: Pull complete 
Digest: sha256:d6da1fbfd4cc153ca8fd59317b8faee806b6defe124ff5ab920b646ebdf81f53
Status: Downloaded newer image for quay.io/openshift-release-dev/ocp-v4.0-art-dev:v4.0.0-0.150.1-ose-docker-registry
[root@1739e3c3549c /]# rpm -qa | grep rsync

Comment 9 errata-xmlrpc 2019-06-04 10:41:42 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.