Actions
Bug #9325
closedIf a node has both the community and nova agents, promises cannot be generated
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
34
Name check:
Fix check:
Regression:
Description
With a node with both agents, promise generation fails
Exceprt from the logs
[2016-10-11 14:33:20] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Sorted Technique for path [/var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules.new/cfengine-community] (and their Rules a nd Directives used to sort): [2016-10-11 14:33:23] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - ` Execute cf-promise for '/var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules.new/cfengine-community': 1902ms (1s) [2016-10-11 14:33:23] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Sorted Technique for path [/var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules.new/cfengine-nova] (and their Rules and Di rectives used to sort): [2016-10-11 14:33:23] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - ` Execute cf-promise for '/var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules.new/cfengine-nova': 0ms (0s) ... [2016-10-11 14:33:32] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Backuping old promises from /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-nova to /var/rudder/backup/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-nova [2016-10-11 14:33:32] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Copying new promises into /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-nova [2016-10-11 14:33:32] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Moving folders from /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules.new/cfengine-nova to /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-nova [2016-10-11 14:33:32] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Backuping old promises from /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-community to /var/rudder/backup/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-community [2016-10-11 14:33:32] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Copying new promises into /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-community [2016-10-11 14:33:32] DEBUG com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Moving folders from /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules.new/cfengine-community to /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-community [2016-10-11 14:33:32] ERROR com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Could not find freshly created promises at /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules.new/cfengine-community [2016-10-11 14:33:32] ERROR com.normation.rudder.services.policies.RudderCf3PromisesFileWriterServiceImpl - Could not write promises into /var/rudder/share/e308dc89-bbf3-416f-8d2e-95da78fdce3b/rules/cfengine-community, reason : java.io.IOException: Created promises not found !!!!
Actions