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 over 10 years ago. Updated over 10 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
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 #1

Updated by François ARMAND over 10 years ago

  • Status changed from New to 8
  • Assignee set to Matthieu CERDA

Matthieu, could you look to that please ?

Actions #2

Updated by Matthieu CERDA over 10 years ago

  • Category set to Techniques
  • Status changed from 8 to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • Priority changed from N/A to 1 (highest)
  • Target version set to 2.6.18
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/460

PR is ready !

Actions #3

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset policy-templates:commit:9662c7520421e8f096fd3927783d7c7382745de6.

Actions #4

Updated by Jonathan CLARKE over 10 years ago

Applied in changeset policy-templates:commit:1fe1296f730b66632f9614cf1bc7cd15396ea55e.

Actions #5

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Pending release to Released
  • Target version changed from 2.6.18 to 2.6.17

This bug has been fixed in Rudder 2.6.17, which was released today.
Check out:

Actions #6

Updated by Matthieu CERDA over 10 years ago

  • Subject changed from Process management technique 1.1 uses invalid syntax (2.11.1) to Process management technique uses invalid syntax (double action attribute for a single promiser)
  • Description updated (diff)
Actions #7

Updated by Matthieu CERDA over 10 years ago

  • Subject changed from Process management technique uses invalid syntax (double action attribute for a single promiser) to Process management technique uses invalid syntax (double action attribute for a single promiser) on CFEngine 3.5+
Actions

Also available in: Atom PDF