Project

General

Profile

Actions

Bug #12262

closed

jobScheduler does not work when the first non-loopback interface has no ip address

Added by Alexis Mousset almost 7 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Because the used splayclass is ${sys.host}${sys.ipv4} and sys.ipv4 is not defined when the first non-loopback interface has no IP address, the class triggerring the execution is never defined.

We can change this to hostname only as a workaround.

We also need to:

  • Fix the interfaces parsing to take the first available IP and avoid stopping after the first interface having no defined address
  • Add logs for splayclass to know at anytime what is the defined class in verbose logs
  • More generally add logs when promises containing undefined variables are skipped
Actions #2

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #3

Updated by Alexis Mousset over 6 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #4

Updated by Alexis Mousset over 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1297
Actions #5

Updated by Rudder Quality Assistant over 6 years ago

  • Assignee changed from Benoît PECCATTE to Alexis Mousset
Actions #6

Updated by Alexis Mousset over 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #7

Updated by Benoît PECCATTE over 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.12, 4.2.6 and 4.3.1 which were released today.

Actions

Also available in: Atom PDF