Project

General

Profile

Actions

Bug #17990

open

Vault and consul plugins should not try to open config file if it doesn't exist

Added by Alexis Mousset almost 5 years ago. Updated 10 days ago.

Status:
New
Priority:
2
Category:
Refactoring
Target version:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
I bothers me each time
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

It displays annoying error message on nodes that are not configured to use it:

2020-07-16T12:55:56+00:00    error: readjson: data error parsing JSON file '/var/rudder/plugin-resources/vault.json': No data
Actions #1

Updated by Alexis Mousset almost 5 years ago

  • Project changed from Rudder to Rudder plugins
  • Category set to Refactoring
  • Target version changed from 6.0.8 to 6.0
Actions #2

Updated by Alexis Mousset about 3 years ago

  • Severity set to Trivial - no functional impact | cosmetic
  • UX impact set to I bothers me each time
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Effort required set to Very Small
  • Priority changed from 0 to 48
Actions #3

Updated by Elaad FURREEDAN 11 days ago

  • Priority changed from N/A to To review
  • Target version changed from 6.0 to 8.2
  • Priority changed from 48 to 0
  • Regression set to No
If the plugins are not used and removed, the error message is still spamming syslog, to resolve this problem, we should remove (and committing):
  • /var/rudder/configuration-repository/ncf/20_cfe_basics/consul_lib.cf
  • /var/rudder/configuration-repository/ncf/20_cfe_basics/vault_lib.cf
  • /var/rudder/configuration-repository/ncf/30_generic_methods/variable_from_consul.cf
  • /var/rudder/configuration-repository/ncf/30_generic_methods/variable_from_vault.cf

Afterward, delete /var/rudder/ncf/local/generic_methods.json it will be regenerated

Actions #4

Updated by François ARMAND 10 days ago

  • Assignee set to Benoît PECCATTE
  • Priority changed from To review to 2
Actions

Also available in: Atom PDF