Project

General

Profile

Actions

Bug #2801

closed

Technique "Process management" is not working

Added by Vincent MEMBRÉ over 12 years ago. Updated over 9 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

Also available in: Atom PDF