Actions
Bug #15418
closedPolicy generation fails in 5.1 with centos7
Pull Request:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
⇨ Policy update error for process '3' at 2019-08-06 14:21:33
⇨ Cannot write nodes configuration
⇨ Unable to delete directory /var/rudder/cfengine-community/inputs
total error is
[2019-08-06 14:24:38] DEBUG policy.generation - Reports updated in 1 ms [2019-08-06 14:24:38] ERROR com.normation.rudder.services.policies.WriteNodeCertificatesPemImpl - Unexpected: Error when executing reload command '/opt/rudder/bin/rudder relay reload' after writing node certificates file. Command output: code: 1 stdout: error: Could not reload relayd configuration stderr: curl: (7) Failed to connect to 127.0.0.1 port 3030: Connection refused [2019-08-06 14:24:38] DEBUG policy.generation - Paths computed and templates read in 621 ms [2019-08-06 14:24:38] DEBUG policy.generation - Promises prepared in 18 ms [2019-08-06 14:24:38] DEBUG policy.generation - Promises written in 109 ms [2019-08-06 14:24:38] DEBUG policy.generation - Properties written in 2 ms [2019-08-06 14:24:38] DEBUG policy.generation - Parameters written in 0 ms [2019-08-06 14:24:39] DEBUG policy.generation - Hooks for policy-generation-node-ready executed in 1070 ms [2019-08-06 14:24:39] INFO policy.generation - Policy generation failed after: 2 s [2019-08-06 14:24:39] ERROR policy.generation - Error when updating policy, reason was: Cannot write nodes configuration <- Unable to delete directory /var/rudder/cfengine-community/inputs. [2019-08-06 14:24:39] ERROR policy.generation - Root exception was: Unable to delete directory /var/rudder/cfengine-community/inputs. [2019-08-06 14:24:39] INFO policy.generation - Flag file '/opt/rudder/etc/policy-update-running' successfully removed [2019-08-06 14:24:39] ERROR policy.generation - Policy update error for process '5' at 2019-08-06 14:24:39: Cannot write nodes configuration [2019-08-06 14:29:19] INFO scheduledJob - Purged 0 inventories from the removed inventory tree
Actions