Actions
Bug #2801
closedTechnique "Process management" is not working
Pull Request:
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
Updated by Nicolas PERRON almost 12 years ago
- Target version changed from 2.3.9 to 2.3.10
Updated by Matthieu CERDA almost 12 years ago
- Target version changed from 2.3.10 to 2.3.11
Updated by Jonathan CLARKE almost 12 years ago
- Project changed from Rudder to 24
- Category deleted (
Techniques)
Updated by Matthieu CERDA over 11 years ago
- Target version changed from 2.3.11 to 2.3.12
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
Pull request here : https://github.com/Normation/rudder-techniques/pull/119
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.
Updated by Jonathan CLARKE over 11 years ago
Applied in changeset commit:e8f79ad4ffa86a77ee01ecdeac8056973f732cec.
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.
Updated by Nicolas PERRON over 11 years ago
- Status changed from Pending release to Released
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 24 to Rudder
- Category changed from Techniques to Techniques
Actions