Project

General

Profile

Actions

Bug #2801

closed

Technique "Process management" is not working

Added by Vincent MEMBRÉ over 12 years ago. Updated almost 10 years ago.

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

Description

Creating a directive using "process management" technique is not working with these parameters:
  • process name : /usr/bin/dbus-daemon
  • minimum : 1
  • maximum : 1
  • restart command : /etc/init.d/dbus
  • arguments : system

when generating promises we obtain the following log

[pool-1-thread-1] INFO  c.n.r.s.s.NodeConfigurationChangeDetectServiceImpl - Checking changes in node 53c31268-c441-4698-8f25-be6056c3e0f4
12:27:37.934 [pool-1-thread-1] INFO  c.n.r.s.s.NodeConfigurationChangeDetectServiceImpl - Checking changes in node root
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/processManagement/1.1/processManagement.cf:78,127: syntax error, near token ';'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:3,14: Something defined outside of a block or missing punctuation in input, near token '$(command)"'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:3,14: syntax error, near token '$(command)"'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,10: Something defined outside of a block or missing punctuation in input, near token 'classes'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,10: syntax error, near token 'classes'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,13: Something defined outside of a block or missing punctuation in input, near token '=>'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,13: syntax error, near token '=>'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,26: Something defined outside of a block or missing punctuation in input, near token 'kept_if_else'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,26: syntax error, near token 'kept_if_else'
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,27: Something defined outside of a block or missing punctuation in input, near token '('
rudder> /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community/aptPackageInstallation/1.0/aptPackageInstallation.cf:4,27: syntax error, near token '('
Fatal cfengine error: Too many errors
12:27:38.289 [pool-1-thread-1] ERROR c.n.r.s.p.RudderPromiseWriterServiceImpl - The generated promises at /var/rudder/share/53c31268-c441-4698-8f25-be6056c3e0f4.new/rules/cfengine-community are invalid
12:27:38.289 [pool-1-thread-1] ERROR c.n.r.batch.AsyncDeploymentAgent - Deployment error for process '21' at 2012/08/13 12:27:38: Cannot write  configuration node

Actions #1

Updated by Jonathan CLARKE over 12 years ago

  • Assignee deleted (Nicolas PERRON)
Actions #2

Updated by Nicolas PERRON about 12 years ago

  • Target version changed from 2.3.9 to 2.3.10
Actions #3

Updated by Matthieu CERDA almost 12 years ago

  • Target version changed from 2.3.10 to 2.3.11
Actions #4

Updated by Jonathan CLARKE almost 12 years ago

  • Project changed from Rudder to 24
  • Category deleted (Techniques)
Actions #5

Updated by Matthieu CERDA over 11 years ago

  • Target version changed from 2.3.11 to 2.3.12
Actions #6

Updated by Vincent MEMBRÉ over 11 years ago

  • Category set to Techniques
  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/119
Actions #7

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from In progress to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:c834a7504fa67bd845fe76461ba002ec75dfc5a0.

Actions #8

Updated by Jonathan CLARKE over 11 years ago

Applied in changeset commit:e8f79ad4ffa86a77ee01ecdeac8056973f732cec.

Actions #9

Updated by Matthieu CERDA over 11 years ago

  • Pull Request changed from https://github.com/Normation/rudder-techniques/pull/119 to https://github.com/Normation/rudder-techniques/pull/120

PR is not up to date => https://github.com/Normation/rudder-techniques/pull/120

Tech review OK.

Actions #10

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Pending release to Released
Actions #11

Updated by Benoît PECCATTE almost 10 years ago

  • Project changed from 24 to Rudder
  • Category changed from Techniques to Techniques
Actions

Also available in: Atom PDF