Bug 1176302

Summary: /var/log/docker incorrectly asserts that kernel 2.6.32* "might be unstable running docker"
Product: [Fedora] Fedora EPEL Reporter: afoxson
Component: docker-ioAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: adimania, admiller, dwalsh, golang-updates, hushan.jia, jchaloup, jperrin, lsm5, 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-07-15 21:24:04 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 afoxson 2014-12-20 07:20:46 UTC
Description of problem:

The following warning appears in /var/log/docker:

"WARNING: You are running linux kernel version 2.6.32-504.1.3.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.8.0."

Version-Release number of selected component (if applicable):

docker-io-1.3.2-2.el6.x86_64.rpm

How reproducible:

Consistently.

Steps to Reproduce:

1. Run docker in daemon mode.
2. Review /var/log/docker.

Actual results:

The aforementioned warning appears in /var/log/docker.

Expected results:

The aforementioned warning not appearing in /var/log/docker.

Additional info:

This warning is incorrect as per:

https://github.com/docker/docker/issues/407#issuecomment-43206662

which states:

"Kernels older than 3.8 aren't supported. That means technical support isn't provided and you might run into unexpected behavior, even if it seems like it's working. The only exception is the kernel provided by RHEL6 (2.6.32xxxxxx) which was patched and improved to work properly with Docker."

It seems that an environment variable is available for this situation, as per:

https://github.com/shykes/docker-dev/commit/2c2a655da14f6de9353454673f2a1c9ce198e954

which states:

"set DOCKER_NOWARN_KERNEL_VERSION=1 to disable the warning for RHEL 6.5"

Comment 1 Daniel Walsh 2015-01-19 14:57:13 UTC
Lokesh can you add this environment variable to /etc/sysconfig/docker for rhel6.5

Comment 3 Lokesh Mandvekar 2015-04-09 13:16:06 UTC
I've added this to dist-git http://pkgs.fedoraproject.org/cgit/docker-io.git/commit/?h=el6&id=727750a4746c7cae75831fd4ab5d3a7a04e37664

fedpkg build seems to wait forever though :| . The build should be listed here: http://koji.fedoraproject.org/koji/packageinfo?packageID=17053 . I'll give it another try if I still can't find it there.

Comment 4 Daniel Walsh 2015-06-03 12:20:57 UTC
Lokesh can we close this as fixed?