Bug 1249701

Summary: Images fail to download from time to time, restarting docker.service helps
Product: [Fedora] Fedora Reporter: Viktor Jancik <vjancik>
Component: dockerAssignee: Michal Minar <miminar>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 22CC: adimania, admiller, dwalsh, hhorak, ichavero, jcajka, jchaloup, lsm5, miminar, vbatts, vjancik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-28 17:32:53 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 Viktor Jancik 2015-08-03 15:20:09 UTC
Description of problem:
Sometimes, downloading a docker image fails. This wouldn't be that much of a problem, if it could be quickly restarted, but the timeout seems to be over a minute and Ctrl+C doesn't kill the attempt to download (runs in the background) and prevents a retry, until the last one finishes.

Version-Release number of selected component (if applicable):
Docker version 1.7.1.fc22, build b6416b7/1.7.1

How reproducible:
Sometimes

Steps to Reproduce:
1. Make sure not to have the containers for the image downloaded.
2. docker run -it fedora:latest bash

Actual results:
Unable to find image 'fedora:latest' locally
Trying to pull repository docker.io/fedora ... failed
Get https://index.docker.io/v1/repositories/library/fedora/images: dial tcp: lookup index.docker.io: No address associated with hostname

Expected results:
Successful download and run.

Additional info:
The only way to retry quickly, is to restart docker.service. After this, it usually works, so I am sure it's not a docker.io blackout.

Comment 1 Daniel Walsh 2015-08-21 04:09:22 UTC
I have no idea what could cause this.

Michal any ideas?

Comment 2 Daniel Walsh 2015-09-29 13:58:26 UTC
Are you still seeing this problem with docker-1.8.2?

Comment 3 Honza Horak 2016-02-12 12:59:07 UTC
Viktor is no longer in RH, so clearing the needinfo.