IBM / ubiquity

Ubiquity
Apache License 2.0
90 stars 26 forks source link

UB-1622 provisioner long time for start in the installation phase #291

Closed 27149chen closed 5 years ago

27149chen commented 5 years ago

helm install takes ~3.5 mins, while provisioner activation takes ~2 mins. The root cause is that the default timeout interval for a http request is very long. This PR:

  1. set a short timeout for every request (10 seconds)
  2. set a shorter timeout for activation (2 seconds) and retry 30 times if it fails.

This change is Reviewable

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-0.1%) to 58.662% when pulling 8f8a7504266389ad78287a58764261e31a12a99a on feature/UB-1622_provisioner_timeout_during_installation into bf9a572a09294818716306cad200c0f8cd252108 on dev.