Project

General

Profile

Actions

Bug #4973

closed

Bug #4966: Date/time is not defined on all reports in failsafe.cf from initial promises

Date/time is not defined on all reports in failsafe.cf from initial promises (Android/Windows)

Added by Jonathan CLARKE over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
3
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The common bundle "g" contains a load of globally uses variables across our CFEngine promises. One of them is "execRun" which contains the date/time that we include in all Rudder reports. This is in failsafe.cf and site.cf. However, the failsafe.cf from initial-promises is missing this variable.

This results in log lines like these:

2014-06-09T06:08:01-0400   notice: R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@${g.execRun}##be933c39-8781-4298-8ca5-9d5b6843ecbe@#Cannot update common Rudder ncf instance
2014-06-09T06:08:01-0400   notice: R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@${g.execRun}##be933c39-8781-4298-8ca5-9d5b6843ecbe@#Cannot update local Rudder ncf instance
2014-06-09T06:08:01-0400   notice: R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@00@@Update@@None@@${g.execRun}##be933c39-8781-4298-8ca5-9d5b6843ecbe@#Cannot update node's policy

This is the same as bug #4966, but on the 2.9 branch, where Windows and Android support for execRun was added.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #4974: Date/time is not defined on all reports in failsafe.cf from initial promises (AIX/other)ReleasedNicolas CHARLES2014-06-09Actions
Actions #1

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Pull Request changed from https://github.com/Normation/rudder-techniques/pull/397 to https://github.com/Normation/rudder-techniques/pull/398
Actions #2

Updated by Jonathan CLARKE over 10 years ago

  • Subject changed from Windows and Andoid: failsafe.cf in initial-promises doesn't have a "execDate" variable, causing all reports to not contain the date/time to Windows and Android: failsafe.cf in initial-promises doesn't have a "execDate" variable, causing all reports to not contain the date/time
Actions #3

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset policy-templates:commit:0890fcaa5b71dcf782b5ab03d23d56073229df81.

Actions #4

Updated by Nicolas CHARLES over 10 years ago

Applied in changeset policy-templates:commit:8f75516392106b835db1491447900df526ed50ee.

Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Parent task set to #4966
Actions #6

Updated by Vincent MEMBRÉ over 10 years ago

  • Subject changed from Windows and Android: failsafe.cf in initial-promises doesn't have a "execDate" variable, causing all reports to not contain the date/time to Date/time is not defined on all reports in failsafe.cf from initial promises (Android/Windows)
Actions #7

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder versions that were released today.

Actions

Also available in: Atom PDF