Bug #17083

TFTP orchestration is silently skipped when there is an AR error

Added by Lukas Zapletal 8 months ago. Updated about 1 month ago.

Status:Ready For Testing
Priority:Normal
Assigned To:Lukas Zapletal
Category:TFTP
Target version:Team Daniel - iteration 6
Difficulty: Bugzilla link:1388104
Found in release: Pull request:https://github.com/theforeman/foreman/pull/3969
Story points-
Velocity based estimate-

Description

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.


Related issues

Related to Foreman - Bug #17082: New host form network tab validations are broken Duplicate 10/25/2016

History

#1 Updated by Lukas Zapletal 8 months ago

  • Related to Bug #17082: New host form network tab validations are broken added

#2 Updated by Lukas Zapletal 8 months ago

  • Bugzilla link set to 1388104

#3 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3969 added

#4 Updated by Daniel Lobato Garcia 8 months ago

  • Target version set to Team Daniel - iteration 3

#5 Updated by Daniel Lobato Garcia 7 months ago

  • Target version changed from Team Daniel - iteration 3 to Team Daniel - iteration 6

Also available in: Atom PDF