Open CharlyF opened 6 years ago
@JulienBalestra this can be solved as the problem is only the Docker version - But it was far from obvious to figure out. Do you think there is a way for us to prevent this kind of situation to occur ? Whitelisting supported versions of docker seems a little too much (although we know it has to be > 18 and exclude 18.05.0).
Maybe we could have a way to log this ?
@CharlyF this is a very good memo to consider.
We definitely need to attach supported container runtime version to the selected kubelet version.
FWIW, hit the same issue, using the nightly build works
rpm -Uvh https://download.docker.com/linux/fedora/28/x86_64/nightly/Packages/docker-ce-18.06.0.ce-0.0.dev.git20180609.170747.0.ecac08f.fc28.x86_64.rpm
Describe what happened: pupernetes does not start, it is stuck trying to reach the API server.
No logs from the containers.
But inspecting the 0cfa5d332ddf we have:
.
"State": { "Status": "created", "Running": false, "Paused": false, "Restarting": false, "OOMKilled": false, "Dead": false, "Pid": 0, "ExitCode": 128, "Error": "linux mounts: Could not find source mount of /home/charly/go/src/github.com/DataDog/pupernetes/dca-cm/secrets", "StartedAt": "0001-01-01T00:00:00Z", "FinishedAt": "0001-01-01T00:00:00Z" },
This started happening after I installed docker-compose. It must have updated
/etc/apt/sources.list
. I had to tweak it in order toapt-get install docker-ce
. I used to run 18.03.0 and it got bumped to:It seems as though this is a known issue which was merged into master a few days ago: https://github.com/moby/moby/issues/37032.
Updating my sources.list to only one entry:
deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
and re-installing docker specifying the version:sudo apt-get install docker-ce=18.03.1~ce-0~ubuntu
pupernetes immediately started.
For tracking purposes:
journalctl -u e2e-kubelet.service -o cat -r