Bug 1475626 - Change the default storage driver to overlay2
Change the default storage driver to overlay2
Status: MODIFIED
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: container-storage-setup (Show other bugs)
7.5
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Frantisek Kluknavsky
atomic-bugs@redhat.com
: Extras
Depends On: 1505621
Blocks: 1477926
  Show dependency treegraph
 
Reported: 2017-07-26 23:06 EDT by Ben Breard
Modified: 2017-11-20 19:13 EST (History)
6 users (show)

See Also:
Fixed In Version: container-storage-setup-0.9.0-1.rhel75.gite0997c3.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1505621 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Github https://github.com/projectatomic/container-storage-setup/pull/262 None None None 2017-11-02 16:17 EDT

  None (edit)
Description Ben Breard 2017-07-26 23:06:39 EDT
Description of problem:

Atomic Host currently defaults to devicemapper as the storage driver for docker. This needs to change to overlay2.

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

7.5


Additional info:
Comment 3 Colin Walters 2017-11-02 13:23:18 EDT
So one thing I need to understand here - are we going to change what `docker` does by default for 7.5 or not?  @rhvgoyal said to me something of the form "let's do kernel version checks"?  Would we have something like

STORAGE_DRIVER=overlay-if-7.5
?
Comment 4 Colin Walters 2017-11-02 13:24:39 EDT
Alternatively of course we could just have separate 7.4 and 7.5 builds of docker, and anyone who does `yum update` on Extras without doing Server too is just broken?
Comment 5 Colin Walters 2017-11-02 14:17:13 EDT
We had a long chat about this on IRC; one foundational question here - is it PM's intention that this change *also* happens for yum-based RHEL?  I'm assuming it is.

<vgoyal> walters: I think there is a problem there too. People might have assumed that default graph driver is devicemapper and specified put in other variables which are devicemapper specific.
<vgoyal> walters: so we will have to make sure that there are no devicemapper specific knobs in /etc/sysconfig/docker-storage-setup before we decide to switch to overlay2
<vgoyal> walters: also we might break a system which assumes that devicemapper is default. Over upgrade to css, they might suddenly see overlay2 as default.
Comment 7 Ben Breard 2017-11-13 12:25:37 EST
Colin,

Sorry I missed your question here. Yes, both RHEL & AH should be consistent with the defaults. I think it's best for new installs (yum & rpm-ostree) to default to overlay2, but for upgraded systems to continue as they were already configured (dm or whatever). After reading the PR, it seems like you guys came to the same conclusion.

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