Ability to build container against docker swarm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
Victor Coutellier |
Bug Description
I wan't to build my kolla container using a corporate docker swarm environment to push resulting container into a DTR.
However, in recent swarm environment, docker API doesn't return clear JSON when using this code in kolla/images/
for response in self.dc.
The "response" of is line is truncated, by exemple :
'{"stream":"'
Then this line in kolla will fail with an error decoding the JSON
There is an option to force json decoding in modern version of docker sdk : http://
This option is already used earlier in the code when pushing to a registry, so there must be no problem to use it here too.
Changed in kolla: | |
assignee: | nobody → Victor Coutellier (alistarle) |
Fix proposed to branch: master /review. openstack. org/579337
Review: https:/