Deploy fails with "Docker API Error: client is newer than server" error in stable/liberty
Bug #1531113 reported by
Andres Toomsalu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
Low
|
Unassigned |
Bug Description
It seems that running 'pip install -r requirements.txt' on stable/liberty pulls docker-py 1.6.0 and that creates client version mismatch.
Build/deploy host is Centos 7.2 with Docker 1.8.2.
Quick workaround is to cap docker-py version in requirements.txt:
diff --git a/requirements.txt b/requirements.txt
index 450c7b1..4cf7e35 100755
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,5 @@
pbr<2.0,>=1.6
-docker-py>=1.1.0 # Apache-2.0
+docker-py<=1.4.0 # Apache-2.0
Jinja2>=2.6 # BSD License (3 clause)
gitdb>=0.6.4 # BSD License (3 clause)
GitPython>=1.0.1 # BSD License (3 clause)
description: | updated |
Changed in kolla: | |
assignee: | nobody → Mauricio José de Lima (mlima) (limamauricio) |
Changed in kolla: | |
assignee: | Mauricio José de Lima (mlima) (limamauricio) → nobody |
Changed in kolla: | |
assignee: | nobody → Mauricio José de Lima (mlima) (limamauricio) |
Changed in kolla: | |
assignee: | Mauricio José de Lima (mlima) (limamauricio) → nobody |
Changed in kolla: | |
importance: | Undecided → Low |
To post a comment you must log in.
docker 1.8.2 is not compatible with docker-py 1.6.0
using docker-py <= 1.5.0 will work.