Project

General

Profile

Bug #14164

Missing report on File key-value parameter in list

Added by Valentin Lelong about 1 month ago. Updated 23 days ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
User visibility:
Effort required:
Priority:
0

Description

Hi
I have problem with technique "File key-value parameter in list".

Here is what I see as a result in rudder :

[Missing] [Missing report #0]
[Missing] [Missing report #0]
[Missing] [Missing report #0]
[Missing] [Missing report #0]
[Success] File key-value parameter in list /etc/ssh/sshd_config if any.(group_ubuntu_13_04) was correct

I'm using last new 5.0.4 version

I'm not sure if it is bug or if i'm doing something wrong, but the techniques really work on nodes.

Full technique export json in attachment.

Hardening SSH.json (1.83 KB) Hardening SSH.json technique export Valentin Lelong, 2019-01-14 17:31

Related issues

Related to ncf - Bug #14167: Generic method in 4.3 should not use the class has_promiser_stackReleased

Associated revisions

Revision caaf104e (diff)
Added by Félix DALLIDET about 1 month ago

Fixes #14164: Missing report on File key-value parameter in list

History

#1 Updated by Félix DALLIDET about 1 month ago

I was able to reproduce a similar behaviour on a ubuntu18 server with a Rudder in 5.0.4.
First run (repaired) were ok, but as soon as the GM should return a compliant report, no reports are generated.
There are not even listed in the rudder agent output.

Moreover, I had this message in the agent output at first run which I had never had before about non-convergent policies:

warning: Setting replace-occurrences policy to 'first' is not convergent

#2 Updated by Félix DALLIDET about 1 month ago

  • Target version set to 5.0.5

#3 Updated by Félix DALLIDET about 1 month ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET

#4 Updated by Félix DALLIDET about 1 month ago

  • Status changed from In progress to New
  • Assignee deleted (Félix DALLIDET)

The missing reports comes from a reporting based on the class "has_promiser_stack" which should no longer be used in 5.0+.
Other GM are still using it and could have the same issue, see https://issues.rudder.io/issues/14167

#5 Updated by Félix DALLIDET about 1 month ago

  • Related to Bug #14167: Generic method in 4.3 should not use the class has_promiser_stack added

#6 Updated by Félix DALLIDET about 1 month ago

  • Status changed from New to Pending technical review
  • Assignee set to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/ncf/pull/897

#7 Updated by Alexis MOUSSET about 1 month ago

  • Description updated (diff)

#8 Updated by Félix DALLIDET about 1 month ago

  • Target version changed from 5.0.5 to 4.3.9

#9 Updated by Félix DALLIDET about 1 month ago

  • Pull Request changed from https://github.com/Normation/ncf/pull/897 to https://github.com/Normation/ncf/pull/898

#10 Updated by Félix DALLIDET about 1 month ago

  • Status changed from Pending technical review to Pending release

#11 Updated by Alexis MOUSSET 23 days ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.3.9 and 5.0.5 which were released today.
Changelog
Changelog

Also available in: Atom PDF