Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Use the http retry mechanism when loading service yaml files #2872

Closed
niusmallnan opened this issue Aug 15, 2019 · 1 comment
Closed

Use the http retry mechanism when loading service yaml files #2872

niusmallnan opened this issue Aug 15, 2019 · 1 comment

Comments

@niusmallnan
Copy link
Contributor

ROS can try to download the yaml file of os-service when booting, there is a chance that it will fail, because http get will only be called once. For example, these scenarios:

ros c set rancher.docker.engine xxxx
reboot

Or

ros c set rancher.console ubuntu
reboot

We need to add the http retry mechanism to do our best to download the yaml file.

@kingsd041
Copy link
Contributor

In case of unstable network, it will try again to download YAML file 3 times.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants