neoave / mrack

Multicloud use-case based multihost async provisioner for CIs and testing during development
Apache License 2.0
11 stars 14 forks source link

feat: Retry provisioning strategy #70

Closed pvoborni closed 3 years ago

pvoborni commented 3 years ago

Optional (currently applied only for OpenStack) provisioning strategy to retry provisioning of host which ended with error in a provisioning attempt.

This is useful if environment gets into state where the provisioning is a bit unstable but in general working. I.e. succeeds for some host and fails for others.

The Retry strategy:

  1. tries to provision all hosts
  2. if some failed, delete them and retry only for these hosts
  3. if they fail more than max_attempts time(default: 5), fail the job

Default strategy:

In each job failure case:

Signed-off-by: Petr Vobornik pvoborni@redhat.com