Docker client server mismatch versions

Bug #1521949 reported by Artur Zarzycki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Artur Zarzycki
Liberty
Fix Released
Undecided
Artur Zarzycki

Bug Description

On kolla-build there is error:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 811, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/site-packages/kolla/cmd/build.py", line 81, in run
    self.builder(image)
  File "/usr/lib/python2.7/site-packages/kolla/cmd/build.py", line 173, in builder
    forcerm=self.forcerm):
  File "/usr/lib/python2.7/site-packages/docker/client.py", line 226, in _stream_helper
    yield self._result(response)
  File "/usr/lib/python2.7/site-packages/docker/client.py", line 146, in _result
    self._raise_for_status(response)
  File "/usr/lib/python2.7/site-packages/docker/client.py", line 142, in _raise_for_status
    raise errors.APIError(e, response, explanation=explanation)
APIError: 400 Client Error: Bad Request ("client is newer than server (client API version: 1.21, server API version: 1.20)")

It's because Docker version used by kolla is fixed to 1.8.2 (API 1.20) and 2 days ago was released docker-py 1.6.0 (API 1.21).
So there is need to pin the docker-py version in requirements and dev/vagrant/bootstrap.sh.

Changed in kolla:
assignee: nobody → Artur Zarzycki (azarzycki)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/252381

Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/252381
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=dc2ad7d134e5ed14cc0b3015313b48847a7b9b00
Submitter: Jenkins
Branch: master

commit dc2ad7d134e5ed14cc0b3015313b48847a7b9b00
Author: Artur Zarzycki <email address hidden>
Date: Wed Dec 2 15:47:02 2015 +0100

    Set docker api version to auto

    Change-Id: I25d957a2368fa4e52b5fa9253d7ea5ec4046d830
    Closes-Bug: #1521949

Changed in kolla:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/252913

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

Change abandoned by Jeffrey Zhang (<email address hidden>) on branch: master
Review: https://review.openstack.org/252913

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/252969

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/liberty)

Reviewed: https://review.openstack.org/252969
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=19621ff977c59214c382e2e495a25deb486c8d94
Submitter: Jenkins
Branch: stable/liberty

commit 19621ff977c59214c382e2e495a25deb486c8d94
Author: Artur Zarzycki <email address hidden>
Date: Wed Dec 2 15:47:02 2015 +0100

    Set docker api version to auto

    Change-Id: I25d957a2368fa4e52b5fa9253d7ea5ec4046d830
    Closes-Bug: #1521949
    (cherry picked from commit dc2ad7d134e5ed14cc0b3015313b48847a7b9b00)

tags: added: in-stable-liberty
Changed in kolla:
status: Fix Committed → Fix Released
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.