Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update docker version to 1.13.1 #3

Merged
merged 1 commit into from
Nov 18, 2017

Conversation

gryphius
Copy link

not sure what the consequences are of changing the docker version. Just close is this one if it is too dangerous ...
Anyway, using 1.12.6 did not work for me, the playbook failed with : E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found

I checked on the server, 1.12.6 is indeed not available:

ubuntu@k8os-master:~$ apt-cache madison docker.io
 docker.io | 1.13.1-0ubuntu1~16.04.2 | http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
 docker.io | 1.10.3-0ubuntu6 | http://ch.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

Full ansible log:

      TASK [kubeadm : Install docker and kubernetes packages] *******************************************************************************************************************************************************************************
      Saturday 18 November 2017  12:20:31 +0100 (0:00:00.953)       0:00:45.051 *****
      failed: [k8os-3] (item=[u'docker.io=1.12.6-0ubuntu1~16.04.1', u'kubelet=1.8.3-00', u'kubeadm=1.8.3-00', u'kubectl=1.8.3-00', u'kubernetes-cni=0.5.1-00']) => {"cache_update_time": 1511004032, "cache_updated": true, "changed": false, "failed": true, "item": ["docker.io=1.12.6-0ubuntu1~16.04.1", "kubelet=1.8.3-00", "kubeadm=1.8.3-00", "kubectl=1.8.3-00", "kubernetes-cni=0.5.1-00"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'docker.io=1.12.6-0ubuntu1~16.04.1' 'kubelet=1.8.3-00' 'kubeadm=1.8.3-00' 'kubectl=1.8.3-00' 'kubernetes-cni=0.5.1-00'' failed: E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "rc": 100, "stderr": "E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "stderr_lines": ["E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information..."]}
      failed: [k8os-2] (item=[u'docker.io=1.12.6-0ubuntu1~16.04.1', u'kubelet=1.8.3-00', u'kubeadm=1.8.3-00', u'kubectl=1.8.3-00', u'kubernetes-cni=0.5.1-00']) => {"cache_update_time": 1511004033, "cache_updated": true, "changed": false, "failed": true, "item": ["docker.io=1.12.6-0ubuntu1~16.04.1", "kubelet=1.8.3-00", "kubeadm=1.8.3-00", "kubectl=1.8.3-00", "kubernetes-cni=0.5.1-00"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'docker.io=1.12.6-0ubuntu1~16.04.1' 'kubelet=1.8.3-00' 'kubeadm=1.8.3-00' 'kubectl=1.8.3-00' 'kubernetes-cni=0.5.1-00'' failed: E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "rc": 100, "stderr": "E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "stderr_lines": ["E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information..."]}
      failed: [k8os-1] (item=[u'docker.io=1.12.6-0ubuntu1~16.04.1', u'kubelet=1.8.3-00', u'kubeadm=1.8.3-00', u'kubectl=1.8.3-00', u'kubernetes-cni=0.5.1-00']) => {"cache_update_time": 1511004033, "cache_updated": true, "changed": false, "failed": true, "item": ["docker.io=1.12.6-0ubuntu1~16.04.1", "kubelet=1.8.3-00", "kubeadm=1.8.3-00", "kubectl=1.8.3-00", "kubernetes-cni=0.5.1-00"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'docker.io=1.12.6-0ubuntu1~16.04.1' 'kubelet=1.8.3-00' 'kubeadm=1.8.3-00' 'kubectl=1.8.3-00' 'kubernetes-cni=0.5.1-00'' failed: E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "rc": 100, "stderr": "E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "stderr_lines": ["E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information..."]}
      failed: [k8os-master] (item=[u'docker.io=1.12.6-0ubuntu1~16.04.1', u'kubelet=1.8.3-00', u'kubeadm=1.8.3-00', u'kubectl=1.8.3-00', u'kubernetes-cni=0.5.1-00']) => {"cache_update_time": 1511004033, "cache_updated": true, "changed": false, "failed": true, "item": ["docker.io=1.12.6-0ubuntu1~16.04.1", "kubelet=1.8.3-00", "kubeadm=1.8.3-00", "kubectl=1.8.3-00", "kubernetes-cni=0.5.1-00"], "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'docker.io=1.12.6-0ubuntu1~16.04.1' 'kubelet=1.8.3-00' 'kubeadm=1.8.3-00' 'kubectl=1.8.3-00' 'kubernetes-cni=0.5.1-00'' failed: E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "rc": 100, "stderr": "E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found\n", "stderr_lines": ["E: Version '1.12.6-0ubuntu1~16.04.1' for 'docker.io' was not found"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information..."]}

@zioproto
Copy link
Owner

You are right looks like the docker version changed upstream in Ubuntu

@zioproto zioproto merged commit 5629b36 into zioproto:master Nov 18, 2017
@zioproto
Copy link
Owner

zioproto commented Dec 5, 2017

Hello @gryphius
did it work for you with this version of Docker ?

I had a closer look today, and the deployment was broken because on the K8s nodes I had the FORWARD table of iptables with some DROP rules inserted by docker, that prevented the all thing from working correctly.

Not sure if this regression was introduced by the Docker upgrade.

I just wanted to ask if you were running into any problem.

thanks

@zioproto
Copy link
Owner

zioproto commented Dec 5, 2017

@gryphius looks like it is a known issue :(

kubernetes/kubernetes#40182

@gryphius
Copy link
Author

gryphius commented Dec 5, 2017

@zioproto I didn't actually get to the stage of actually deploying something yet, so I haven't encountered the problem so far ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants