New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kernel Panic when mounting volumes on RHEL 6.5 using Docker 1.4.0, Docker 1.4.1, with latest device mapper #9856
Comments
Upgrade from 1.2.0 to 1.4.0 reuses the same /var/lib/dockerIt is worth to mention that I also upgrade the host from Docker 1.2.0 to Docker 1.4.0 from the testing EPEL repo initially. That's when I had to upgrade... Also, I've reused the same "/var/lib/docker" directory from the upgrade as my Docker directory resides in a separate partition/disk.
Questions
Workaround: Downgraded to Docker 1.3.3Downgrading to Docker 1.3.3 works as expected:
The device mapper used is still the newest available:
With the downgrade, everything is "working"...
|
Also encountered the same problem with docker 1.4.1, kernel version 2.6.32-431.el6.x86_64
|
@marcellodesales @chenchun Please install system updates using /cc @vbatts |
@marcellodesales wait, so you are reporting a couple of issues. |
Hi @vbatts As I described above, I pulled the 1.3.x version from the EPEL repos from RedHat, while I built Docker 1.4.x from the current dev branches (see details above). Here's what version I have with Docker 1.4.x and 1.3.x. Docker 1.4.xThis is the version that breaks the server, and similar to what @chenchun described, I can't login to the
Docker 1.3.xThis version works with Fig.
Updating the versionsI used the versions by downloading the binary and swapping the versions... I once had to remove the lib directory, but upgrading from 1.3.3 to 1.4.0 just was a matter of updating the symlinks and restarting the service...
What's next?Let me know if you need any more information about this environment... @chenchun, could you also describe what is your environment? thanks guys! We still have till mid March to get RHEL 7.0 and I just can't wait. Until then, I'm still suffering with the lack of Docker 1.4.x ... |
I didn't use original docker-1.4.1 package from community, because we did some customer development and mountains our internal version of docker. But I'm sure the bug is not due to the added feathers since we also use our internal version of docker-1.3.1 pretty well.
And it is not that easy for us to upgrade kernels because we have to use our internal kernel from the kernel team in our company. |
What should I run to reproduce this issue locally? Tried " docker run --rm docker.oa.com:8080/library/centos7 env" and it fails. docker.oa.com is not even reachable. |
@rhvgoyal Thanks for looking at this, you can pull docker.cn/docker/centos. |
I tried following on Fedora 21 with 1.4.1 docker and it works just fine. [root@tiger ~]# docker run --rm centos env |
This is RedHat Enterprise Linux 6.5 host... Not centos... |
@marcellodesales CentOS 6.5 and RHEL 6.5 have the exact same kernel and they're extremely close to being identical when it comes to devicemapper. That's why CentOS 6.x, RHEL 6.x and other distributions based on RHEL 6.x are frequently discussed together. |
@unclejack Thanks for the clarification... I just want to make sure they don't have any deltas that could impact with the verification of this... Today I experienced the same behavior, but this time the Using the --net host also breaksEverything was fine...
After inspecting the /var/hosts... The server crashed...
Weird behavior... I will downgrade again... thanks! |
Any update on this issue? I am able to reproduce this issue on CentOS 6.5 (2.6.32-431.el6.x86_64) + Docker 1.4.1 + Fig 1.0.1. |
I am also seeing this issue with the exact same setup: CentOS 6.5 (2.6.32-431.el6.x86_64) + Docker 1.4.1 + Fig 1.0.1 The only immediate workaround I've found is to not use Fig and to just run the docker commands manually. In this case Fig seems to be the problem. |
Downgrading to Docker 1.3.2 resolves the issue but would love to move to 1.5. It's in fedora testing repo, hopefully it will make it to stable soon. |
it seems that I am a little later to arrive here,centos 6.5 + epel source,and the same kernel panic as pircture above.And ... ,Can you Downgrading to Docker 1.3.2 or quickly resolve it? |
I'm also seeing this regularly with the same setup |
http://koji.fedoraproject.org/koji/buildinfo?buildID=595471 Here we can get the history 1.3.2 rpm source package,and you can install by the following: rpm -i docker-io-1.3.2-2.el6.src.rpm cd rpmbuild/SPECS rpmbuild -ba docker-io.spec cd rpmbuild/RPMS and the rpm we want is in rpmbuild/RPMS |
@jfrazelle,I'm sorry,And Could you please cancel the two label on my response above? It's my mistake,the CentOS's version I use in that comment is 6.5,and the 6.6 is OK for this issue. |
+1 |
This seems to be re-occuring in kernel 2.6.32-504.23.4.el6.x86_64. Had to downgrade to 2.6.32-504.16.2.el6.x86_64. |
I am also noticing the panic using kernel 2.6.32-504.23.4.el6.x86_64. Downgrading to 2.6.32-504.16.2.el6.x86_64 works for me. |
I am also noticing the panic using kernel 2.6.32-504.23.4.el6.x86_64 (RHEL 6.6, Centos 6.6). Older version kernel 2.6.32-504.8.1.el6.x86_64 works fine. |
Can somebody paste the full panic() with any backtrace here. IOW, please paste the output of console. |
This is the only log I've been able to get so far: SELinux: initialized (dev proc, type proc), uses genfs_contexts Pid: 5166, comm: docker Not tainted 2.6.32-504.23.4.el6.x86_64 #1 innotek GmbH VirtualBox/VirtualBox
|
@Khazrak This sounds like a kernel issue. Can you open a bug at https://bugzilla.redhat.com/ to track this. |
@rhvgoyal Done. https://bugzilla.redhat.com/show_bug.cgi?id=1232779 Bug nr 1232779 |
I'm not able to see the redhat bug. @Khazrak, if you are able, could you add any updates from the bug here, when/if at all possible? |
@strootman perhaps I could try cc'ing your email to that bug, do you have an account on the bz site? |
@lsm5 yes I do, under |
@strootman done, please check |
@lsm5 I can see it. Ty! |
https://access.redhat.com/solutions/1378023 The Red Hat provided, maintained and supported version of Docker is only available on RHEL 7. Red Hat does not recommend running any version of Docker on any RHEL 6 releases. Docker feature developments are tied to RHEL7 infrastructure components for kernel, devicemapper (thin provisioning, direct lvm), sVirt and systemd. |
@tiborvass @moxiegirl @vbatts ^^ does that mean we should drop RHEL6 from the installation docs as well? |
Dropping the docs may confuse some. Likely better to have notice requiring
|
@vbatts agreed; must say I wasn't aware RH communicated this (not recommending Docker on RHEL6). Was a bit surprised, and under the assumption that they did support it and that being the reason we tried to keep Docker working on it. I'll open a separate issue when I get home, so that it can be further discussed without cluttering the discussion here. |
I must say for both me and my company it would be catastrophic to lose docker support for RHEL/CentOS 6.x. For the longest time Docker has stated support for RHEL/Centos 6.5. Recently updated to a minimum of 6.6. For us, upgrading to 7 is out of the question for the near term. |
+1 same trace |
@feiyang21687 Correct me if I'm wrong but Docker didn't work on RHEL/CentOS until Cent OS 2.6.32-504.x (you said your version was 2.6.32-431.x). |
@Khazrak yeah, you are right. But it is ok when we run docker 1.3.2 on 2.6.32-431.x. |
The version compatibility matrix is all over the place. There have plenty
|
Our servers were just upgrade to Red Hat 6.5
|
does this still occur with 6.7? https://access.redhat.com/articles/3078#RHEL6 |
The problem
After mounting a host volume with Docker 1.4.0, Docker 1.4.1-dev, the server hangs for a few seconds and the ssh terminal session is lost with the host. Here's a Fig up session:
The same occurs when running the docker command manually...
I cannot ssh to the host until I restart the server... ssh to the host becomes unavailable...
Reproducing
First, I installed the latest Docker 1.4.0 from yum EPEL, and later built Docker 1.4.1 on a Ubuntu machine and scp the latest version to the host. Still the same problem occurs. Everything started with the following error:
http://stackoverflow.com/questions/27216473/docker-1-3-fails-to-start-on-rhel6-5
So I upgraded the device mapper library to the latest version:
After that, I was able to restart Docker 1.4.0 or Docker 1.4.1-dev without a problem...
I can list images without a problem and manipulate them using Fig:
After that, I tried to "fig up" again and the same problem occurs...
The text was updated successfully, but these errors were encountered: