Bug 1474752 - docker fails to run containers while crashing in the background
Summary: docker fails to run containers while crashing in the background
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: docker
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Antonio Murdaca
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1474970 1475695 1476933 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-25 10:31 UTC by Tomas Tomecek
Modified: 2017-12-18 10:28 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-16 19:13:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
systemctl status docker (11.23 KB, text/plain)
2017-07-25 10:31 UTC, Tomas Tomecek
no flags Details

Description Tomas Tomecek 2017-07-25 10:31:45 UTC
Created attachment 1304165 [details]
systemctl status docker

Description of problem:
docker fails to start a container


Version-Release number of selected component (if applicable):
$ rpm -qa | egrep '^docker'
docker-common-1.13.1-22.git27e468e.fc27.x86_64
docker-zsh-completion-1.13.1-22.git27e468e.fc27.x86_64
docker-1.13.1-22.git27e468e.fc27.x86_64
docker-vim-1.13.1-22.git27e468e.fc27.x86_64
docker-rhel-push-plugin-1.13.1-22.git27e468e.fc27.x86_64


How reproducible:
$ sudo docker run fedora:26 bash
/usr/bin/docker-current: error during connect: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/containers/create: EOF.
See '/usr/bin/docker-current run --help'.


Additional info:
one of the goroutines is crashing in the background: see logs

Comment 1 Tomas Tomecek 2017-07-25 13:00:44 UTC
I just downgraded to 'docker-1.13.1-20.git27e468e.fc27' and it works. '-21' did not work either.

Comment 2 Antonio Murdaca 2017-07-25 13:13:15 UTC
This is because go1.9.x (beta2) includes this commit https://github.com/golang/go/commit/3792db518327c685da17ca6c6faa4e1d2da4c33c#diff-2bd4b6db4c434f0fc104d159813965e9L24 - that line is changing an internal field in a struct we use to gather the network file descriptor for audit purpose. We used to look for "sysfd", now we have to look for "pfd->Sysfd".

I've fixed this here meanwhile, need just a rebuild:

https://github.com/projectatomic/docker/commit/b5e3294e8666bb6d8da564286ed4c2790c7b9af1

This was probably caused by "-20" being built with another golang version I guess, while -21 with go1.9beta2.

Comment 3 Antonio Murdaca 2017-07-25 18:06:08 UTC
*** Bug 1474970 has been marked as a duplicate of this bug. ***

Comment 4 Antonio Murdaca 2017-07-27 10:38:19 UTC
*** Bug 1475695 has been marked as a duplicate of this bug. ***

Comment 5 Antonio Murdaca 2017-07-31 22:51:17 UTC
*** Bug 1476933 has been marked as a duplicate of this bug. ***

Comment 6 Lukas Slebodnik 2017-08-01 07:20:33 UTC
Is there any chance that package could be built for rawhide. It would simplify my life with blacklisting packages as part of upgrade.

Thank you in advance :-)

Comment 7 Antonio Murdaca 2017-08-01 07:47:37 UTC
Frantisek, could you rebuild docker and docker-latest in rawhide?

Comment 8 Frantisek Kluknavsky 2017-08-07 15:22:39 UTC
https://koji.fedoraproject.org/koji/taskinfo?taskID=21093352

Comment 9 Lukas Slebodnik 2017-08-07 17:25:28 UTC
(In reply to Frantisek Kluknavsky from comment #8)
> https://koji.fedoraproject.org/koji/taskinfo?taskID=21093352

Thank you
sanity testing passed for me :-)

Comment 10 Jan Kurik 2017-08-15 06:58:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 11 Micah Abbott 2017-08-16 19:13:00 UTC
This appears to be fixed in Rawhide Atomic Host with 'docker-1.13.1-25.gitb5e3294.fc27.x86_64'

# rpm-ostree status
State: idle
Deployments:
● rawhide:fedora/rawhide/x86_64/atomic-host
                   Version: Rawhide.20170815.n.1 (2017-08-15 20:34:47)
                    Commit: a5b8ef53e3e93ed057c65e0d2b0ddea7f392862e77b930595dca9c7811abbd78

# rpm -q docker
docker-1.13.1-25.gitb5e3294.fc27.x86_64

# docker run fedora:26 echo "it works!"
it works!
#

Comment 12 Ranjith Rajaram 2017-12-18 10:28:51 UTC
It seems the bug is still present with the docker-latest package
https://bugzilla.redhat.com/show_bug.cgi?id=1517120


Note You need to log in before you can comment on or make changes to this bug.