You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consider supporting multiple sources for a Resource #1104
Hmm that said we should probably also have nicer support for multiple URLs in included Ignition, so that one could upload configs to multiple S3 regions and have fallback; something like:
If we wanted to do this, I'm thinking we'd have a sources array in Resource. If we fetch every source in parallel, with the first successful result winning (as we do for config sources in e.g. OpenStack), we can avoid being responsible for a timeout and backoff scheme.
If we fetch every source in parallel, with the first successful result winning (as we do for config sources in e.g. OpenStack), we can avoid being responsible for a timeout and backoff scheme.
I think a timeout, backoff, and retry scheme would still be needed for intermittent network issues. For example, a sufficient part of the stack is available to retrieve the initial Ignition config (e.g. from user-data), but access to the referenced sources is not (yet) available (e.g. DNS failure, route failure, etc).
Right, I didn't phrase that well. Ignition already has a retry scheme for exactly the reason you mentioned. But I'd like to avoid adding logic for giving up on one resource and falling back to the next one.
Activity
bgilbert commentedon Sep 30, 2020
If we wanted to do this, I'm thinking we'd have a
sourcesarray in Resource. If we fetch every source in parallel, with the first successful result winning (as we do for config sources in e.g. OpenStack), we can avoid being responsible for a timeout and backoff scheme.paulnivin commentedon Oct 2, 2020
I think a timeout, backoff, and retry scheme would still be needed for intermittent network issues. For example, a sufficient part of the stack is available to retrieve the initial Ignition config (e.g. from user-data), but access to the referenced sources is not (yet) available (e.g. DNS failure, route failure, etc).
bgilbert commentedon Oct 2, 2020
Right, I didn't phrase that well. Ignition already has a retry scheme for exactly the reason you mentioned. But I'd like to avoid adding logic for giving up on one resource and falling back to the next one.
bgilbert commentedon May 5, 2022
Closing in favor of #1276. More info in #1176 (comment).