devstack assumes obsoleted docker API v1.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
Fix Committed
|
Undecided
|
Davanum Srinivas (DIMS) |
Bug Description
This is a nova-docker issue when using devstack to install nova-docker.
Devstack installs Docker (extras.
`echo -e 'GET /v1.3/version HTTP/1.0\n\n' | socat - unix-connect:
The version of Docker currently being installed is Server version: 1.7.1 Server API version: 1.19 which returns an error when devstack attempts to use API version 1.3 (above GET command).
Newer Docker daemon (1.7.1) returns an error:
HTTP/1.0 400 Bad Request
Content-Type: text/plain; charset=utf-8
Date: Tue, 25 Aug 2015 17:53:09 GMT...
devstack is expecting the response to include the string "200 OK" as seen in the grep above. This causes the devstack nova-docker stack.sh install to fail.
Possible solutions include:
(1) Forcing an older tested version (e.g.1.5.0) of Docker for the install_package and is_package_
(2) Fixing the devstack scripts to use the newer Docker http API versions. If newer Docker package versions are used testing for other unintended consequences would seem appropriate too.
The temp fix using option (1) works with the following two lines is devstack scripts changed:
stack@Steve-
devstack/
devstack/
stack@Steve-
-------------------
Steve Adams
<email address hidden>
------------------
Changed in nova-docker: | |
assignee: | nobody → Davanum Srinivas (DIMS) (dims-v) |
status: | New → Fix Committed |