Bug 1214464
Summary: | Unable to use --net=container on RHEL 6.6 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Paul Webster <pwebster> | ||||||
Component: | docker-io | Assignee: | Sally <somalley> | ||||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | el6 | CC: | adimania, admiller, dwalsh, golang-updates, hushan.jia, ichavero, jchaloup, jperrin, lsm5, manuel.wolfshant, mattdm, mgoldman, miminar, s, thrcka, vbatts | ||||||
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-08-21 03:25:30 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: | |||||||||
Attachments: |
|
Description
Paul Webster
2015-04-22 18:41:00 UTC
Created attachment 1018016 [details]
Failure logs when docker can't attach to the second container
This log occurs during the second container run command:
First container:
bash-4.1$ docker run -ti --name=target ubuntu /bin/bash
root@45edefd42404:/#
Second container:
bash-4.1$ docker run -ti --rm --net=container:target ubuntu /bin/bash
setup networking failed to setns current network namespace: invalid argumentFATA[0002] Error response from daemon: Cannot start container ba28e4f14f4b3c2d7b94aa4b0cca8f5b70e6b354842818fe77b31885acc77461: setup networking failed to setns current network namespace: invalid argument
Created attachment 1018436 [details]
Failure log with docker-io 1.5.0
I took an update to docker-io-1.5.0-1.el6.x86_64 yesterday but it still fails with the invalid argument message:
bash-4.1$ docker run -ti --name=target ubuntu /bin/bash
root@e90fa60b6c8e:/#
bash-4.1$ docker run -ti --rm --net=container:target ubuntu /bin/bash
FATA[0001] Error response from daemon: Cannot start container 2502130ff859150aa7f9cd28b0e50f495df1f6ecf9c14ce8abf606a2d806df25: invalid argument
I've attached the new failure log from docker -d -D.
PW
Sally can you check if this fails on current docker? docker-1.6.2 or docker-1.7 1st term: $ docker run -ti --name=target fedora /bin/bash [root@b2d4337ae33f /]# 2nd term: $ docker run -ti --rm --net=container:target fedora /bin/bash [root@b2d4337ae33f /]# No errors, running docker 1.8.0-dev Since docker 1.7 won't run on RHEL/Centos 6.6 (needs kernel upgrade)without a LOT of tweeking, should we close this bug? I verified the above running on Fedora 21. I think this would be a 'CLOSED CANTFIX' :( see: https://github.com/docker/docker/issues/14365 Doesn't the github issue state that docker 1.7.x should work on RHEL6? How is it possible to pick that up? PW Even docker 1.6.x would be an improvement. Paul, RE: 1.6.x could you please try running this build: https://kojipkgs.fedoraproject.org//packages/docker-io/1.6.2/3.el6/x86_64/docker-io-1.6.2-3.el6.x86_64.rpm it's yet to land in the testing repos. Also copying wolfy, who built the latest update, but not sure if he's noticed this bug. Lokesh, this works for me. Thanks. Also the output from comment 4 is confirmed running: docker 1.6.2 on Centos 6.6, kernel 2.6.32-504.23.4.el6.x86_64 If the package seems fine to you, please wait for it to land in epel-testing and then pay a visit to https://admin.fedoraproject.org/updates/docker-io-1.6.2-3.el6 and provide karma. TIA. (In reply to manuel wolfshant from comment #11) > If the package seems fine to you, please wait for it to land in epel-testing > and then pay a visit to > https://admin.fedoraproject.org/updates/docker-io-1.6.2-3.el6 and provide > karma. TIA. I'll keep my eye out for it. Thanks, Paul This still doesn't work for me: bash-4.1$ docker run -ti --name=target ubuntu /bin/bash root@191130b5ddb8:/# bash-4.1$ docker run -ti --rm --net=container:target ubuntu /bin/bash FATA[0002] Error response from daemon: Cannot start container 37ae928a6bb99941bc3c0ef02276fb5c5d93b71343d44604f3a513262fbf3523: [8] System error: invalid argument kernel-2.6.32-504.23.4.el6.x86_64 docker-io-1.6.2-3.el6.x86_64 What other packages should I look to so I can verify their version numbers? I'm running docker (Docker version 1.6.2, build 7c8fca2/1.6.2) installed on Centos 6.6 kernel: 2.6.32-504.23.4.el6.x86_64 First, I removed current Docker with: $ yum list installed | grep docker $ sudo yum -y remove <output from above> I then installed Docker by using the build from Comment 9: $ curl -O -sSL https://kojipkgs.fedoraproject.org//packages/docker-io/1.6.2/3.el6/x86_64/docker-io-1.6.2-3.el6.x86_64.rpm $ sudo yum localinstall --nogpgcheck docker-io-1.6.2-3.el6.x86_64.rpm $ sudo service docker start Then the cmds in Comment 13 run with no errors. Hopefully this will work for you (see Comment 11). I still receive my error using the new docker package. AFAIK I have an up to date RHEL 6.6 image. If there are any other packages whose version I can check, please let me know. kernel-2.6.32-504.23.4.el6.x86_64 docker-io-1.6.2-3.el6.x86_64 iproute-2.6.32-33.el6_6.x86_64 (In reply to Paul Webster from comment #15) > > kernel-2.6.32-504.23.4.el6.x86_64 > docker-io-1.6.2-3.el6.x86_64 > iproute-2.6.32-33.el6_6.x86_64 All those are the most current. No idea about docker though. Lokesh ? I think this might be a problem with the rhel6 kernel not supporting something docker is trying to do. |