On 06/07, Charles Allen wrote:
> Is the retry behavior of ignition fetches documented anywhere?
It is not, but it really should be. Ignition will retry fetches until
they succeed (there are other mechanisms in the OS which will cut the
entire boot process short though). Fetches are considered complete if
they return HTTP codes less than 500. So, for example, if you fetch a
config which results in a 404, Ignition will immediately fail. If it
returns a 500, Ignition will keep trying.
> I would be very concerned if a simple 5XX response from an S3 endpoint
> could prevent an instance from booting without warning.
Agreed. On top of the above behavior, if Ignition fails to complete and
it gets stuck in the initramfs, the machine will begin a five-minute
countdown. If there is no user input within that time, the machine will
reboot and start the whole process again. The effect is that your
machine will continually attempt to boot and run Ignition until it is
sucessful.
-Alex