Centos images will build on ubuntu only with docker+devicemapper (NOT AUFS !)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
BIT OF BACKSTORY:
I initially reported this bug https:/
A little of research helped me figured out its a bug related to docker+aufs where docker defaults to aufs in ubuntu.
Here is the upstream docker bug : https:/
MORE INFO EXPLAINED:
as mentioned earlier, due to docker bug #6980 , centos images would only build on docker+
docker -d -s devicemapper &
but no .. it instantly failed with error "driver not supported" . I looked up and it was easy enough to see there is another docker bug here https:/
what this means is you cant just start a "static binary" of docker like the one you get from get.docker.com and start it with `-s devicemapper` on ubuntu. No it wont work !!!
in the bug https:/
https:/
SOLUTIONS NEEDED:
- First, explicitly mention in docs when to download static docker binary, in the case of non-ubuntu OS, it should be suggested to get static binnary, or building non-centos binaries on ubuntu systems.
but when using ubuntu for building centos/rdo images, then path of docker+devicemapper where docker is a dynamic binary built locally , should be suggested to users.\
- Add detection logic, if system is ubuntu, and from `docker info` the storage is aufs, it should exit right away without going to build images and showing systemd error.
ADDITIONAL WORK APPRECIATED:
it would be really nice, for folks on ubuntu systems, that just download the latest centos rdo images from kollaglue docker hub,. unfortuantely those are outdated images with several bugs.
if we have some kind of gating job to update these docker hub images frequently, that would be great and appreciated. =)
thanks
Changed in kolla: | |
status: | Fix Committed → Fix Released |
Hello,
This is a Docker bug. While I do understand your concern about why this is failing, it is not something we should work into the build scripts. When Docker fixes the issue that will make our build script outdated.
I agree this does merrit documentation in our development guide, though.