[openstack-dev] [Magnum] Why set DEFAULT_DOCKER_TIMEOUT = 10 in docker client?

Qiao,Liyong liyong.qiao at intel.com
Wed Nov 25 07:23:43 UTC 2015


hi all
In Magnum code, we hardcode it as DEFAULT_DOCKER_TIMEOUT = 10
This bring troubles in some bad networking environment (or bad 
performance swarm master)
At least it doesn't work on our gate.

Here is the test patch on gate https://review.openstack.org/249522 , I 
set it as 180 to make sure
the failure it due to time_out parameter passed to docker client, but we 
need to chose a suitble one

I check docker client's default value,
DEFAULT_TIMEOUT_SECONDS = 60 , I wonder why we overwrite it  as 10?

Please let me know what's your though? My suggestion is we set 
DEFAULT_DOCKER_TIMEOUT
as long as our rpc time_out.

-- 
BR, Eli(Li Yong)Qiao

-------------- next part --------------
A non-text attachment was scrubbed...
Name: liyong_qiao.vcf
Type: text/x-vcard
Size: 123 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151125/4af574fd/attachment.vcf>


More information about the OpenStack-dev mailing list