Project

General

Profile

Actions

Bug #5315

closed

Process management technique uses invalid syntax (double action attribute for a single promiser) on CFEngine 3.5+

Added by Lionel Le Folgoc almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

2014-07-24T15:41:13+0000    error: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: process_count and restart_class should not be used in the same promise as this makes no sense
2014-07-24T15:41:13+0000     info: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: Promise belongs to bundle 'check_process' in file '/var/rudder/cfengine-community/inputs/processManagement/1.1/processManagement.cf' near line 50
2014-07-24T15:41:13+0000    error: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: process_count and restart_class should not be used in the same promise as this makes no sense
2014-07-24T15:41:13+0000     info: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: Promise belongs to bundle 'check_process' in file '/var/rudder/cfengine-community/inputs/processManagement/1.1/processManagement.cf' near line 50
2014-07-24T15:41:13+0000    error: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: process_count and restart_class should not be used in the same promise as this makes no sense
2014-07-24T15:41:13+0000     info: /default/process_management/methods/'any'/default/check_process/processes/'snmpd'[0]: Promise belongs to bundle 'check_process' in file '/var/rudder/cfengine-community/inputs/processManagement/1.1/processManagement.cf' near line 50

This is due to the fact that a single "processes:" promiser has two "action" attributes: restart_class and process_select. They should be splitted in two distinct operations.

Actions

Also available in: Atom PDF