Bug 1264090

Summary: Copying container content is failing because of missing secrets mount
Product: Red Hat Enterprise Linux 7 Reporter: Federico Simoncelli <fsimonce>
Component: dockerAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: atomic-bugs <atomic-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: dwalsh, lsm5
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 23:13:11 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 Federico Simoncelli 2015-09-17 13:43:56 UTC
Description of problem:
Copying container content is failing because of missing secrets mount.

Version-Release number of selected component (if applicable):
docker-1.7.1-108.el7

How reproducible:
100%

Steps to Reproduce:

$ docker create --name=test1 docker.io/fedora:22 bash
$ docker cp test1:/ - | tar t
Error response from daemon: stat
/var/lib/docker/containers/95da2f313ea963972f9b60144b22ebba2c9201f9fd834fa658d218dc51006722/secrets:
no such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors


Actual results:
Container content copy fails with "no such file or directory"

Expected results:
Container content copy should succeed.


Additional info:
This defect has been introduced with the patch: ed76152 Add RHEL super secrets patch

Comment 2 Daniel Walsh 2015-09-17 14:28:58 UTC
The current github for rhel7-1.8 an rhel7-1.9 have a fix for this. Please update the packages.

Comment 3 Daniel Walsh 2015-09-28 18:21:16 UTC
Fixed in docker-1.8.2

Comment 5 Lokesh Mandvekar 2015-11-17 23:13:11 UTC
Shipped in 7.1.6

Comment 6 Red Hat Bugzilla 2023-09-14 03:05:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days