Project

General

Profile

Actions

Bug #14164

closed

Missing report on File key-value parameter in list

Added by Valentin Lelong almost 6 years ago. Updated almost 6 years ago.

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

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.


Files

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

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #14167: Generic method in 4.3 should not use the class has_promiser_stackReleasedNicolas CHARLESActions
Actions #1

Updated by Félix DALLIDET almost 6 years 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

Actions #2

Updated by Félix DALLIDET almost 6 years ago

  • Target version set to 5.0.5
Actions #3

Updated by Félix DALLIDET almost 6 years ago

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

Updated by Félix DALLIDET almost 6 years 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

Actions #5

Updated by Félix DALLIDET almost 6 years ago

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

Updated by Félix DALLIDET almost 6 years 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
Actions #7

Updated by Alexis Mousset almost 6 years ago

  • Description updated (diff)
Actions #8

Updated by Félix DALLIDET almost 6 years ago

  • Target version changed from 5.0.5 to 4.3.9
Actions #9

Updated by Félix DALLIDET almost 6 years ago

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

Updated by Félix DALLIDET almost 6 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset ncf:commit:caaf104e62c49f2735d26778828602a325e71e98.

Actions #11

Updated by Alexis Mousset almost 6 years 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
Actions

Also available in: Atom PDF