Bug 1176302 - /var/log/docker incorrectly asserts that kernel 2.6.32* "might be unstable running docker"
Summary: /var/log/docker incorrectly asserts that kernel 2.6.32* "might be unstable ru...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: docker-io
Version: el6
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-20 07:20 UTC by afoxson
Modified: 2015-07-15 21:24 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-15 21:24:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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?


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