Description of problem: Documentation recommends copying files to containers using "oc rsync": https://access.redhat.com/documentation/en/openshift-enterprise/3.1/developer-guide/chapter-21-copying-files-to-or-from-a-container Some container images shipped with OpenShift however have no rsync/tar binaries, so this command does not work. Version-Release number of selected component (if applicable): registry.access.redhat.com/rhscl/mysql-56-rhel7 (45961eb9dde2) How reproducible: always Steps to Reproduce: 1. create app using the mysql image oc new-app --template=mysql-ephemeral 2. try to copy a directory into the resulting pod oc rsync somedirectory mysql-1-r2dfz:/var Actual results: WARNING: cannot use rsync: rsync not available in containerWARNING: cannot use tar: tar not available in containererror: tar not available in container Expected results: directory is copied successfully Additional info: We should ensure all containers shipped container images contain tar or rsync. Otherwise we need to update documentation to not advertise "oc rsync" functionality.
fix: https://github.com/openshift/mysql/pull/123
verified with latest images: docker.io/centos/mysql-56-centos7 latest fce798e153d2 10 hours ago 368.7 MB docker.io/openshift/mysql-55-centos7 latest 6b6505746595 10 hours ago 349.9 MB ci.dev.openshift.redhat.com:5000/rhscl/mysql-56-rhel7 latest 18c372312aad 10 hours ago 405.3 MB ci.dev.openshift.redhat.com:5000/openshift/mysql-55-rhel7 latest 84fbcb445df2 10 hours ago 385.1 MB
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://access.redhat.com/errata/RHSA-2016:1064