TFTP orchestration is silently skipped when there is an AR error
|Assigned To:||Lukas Zapletal|
|Target version:||Team Daniel - iteration 6|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/3969|
|Velocity based estimate||-|
If there is an ActiveRecord error during unattended/built orchestration (queue_tftp), the method silently does not enqueue TFTP orchestration. We should print the error in logs, otherwise it is impossible to investigate the root cause.
Symptoms are even more difficult to spot because due to bug #17082 no error is reported when unattended "built" REST API call fails, so the TFTP orchestration is silently ignored and hosts stays in provisioning loop.