Deploy fails with "Docker API Error: client is newer than server" error in stable/liberty

Bug #1531113 reported by Andres Toomsalu
6
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
Revision history for this message
Kuo-tung Kao (jelly) (coding1314) wrote :

docker 1.8.2 is not compatible with docker-py 1.6.0
using docker-py <= 1.5.0 will work.

Changed in kolla:
status: New → Confirmed
Changed in kolla:
assignee: nobody → Mauricio José de Lima (mlima) (limamauricio)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/293390

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (stable/liberty)

Change abandoned by Mauricio Lima (<email address hidden>) on branch: stable/liberty
Review: https://review.openstack.org/293390

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
Revision history for this message
Mauricio Lima (mliima) (mauricio-lima) wrote :

stable/liberty was removed.

Changed in kolla:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.