Actions
Bug #7190
closedAgent cannot replace file per folder when copying promises, and it may lock agent with invalid promises
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Sometimes, the agent fails at copying folder, and for odd reason create a file (happens in very high load condition)
When it does that, every subsequent runs will leave the invalid file rather than replacing by a folder, which effectively leave the agent in invalid state
https://docs.cfengine.com/docs/3.6/reference-promise-types-files.html#type_check could be a solution for reparing in subsequent runs
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.11.14 to 2.11.15
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.11.15 to 2.11.16
Updated by Nicolas CHARLES about 9 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES about 9 years ago
Setting type_check => "false" doesn't solve the issue at all :(
/default/update/methods/'update'/default/update_action/files/'/var/rudder/cfengine-community/inputs'[0]: The object /var/rudder/cfengine-community/inputs/aptPackageInstallation is not a directory. Cannot make a new directory without deleting it. /default/update/methods/'update'/default/update_action/files/'/var/rudder/cfengine-community/inputs'[0]: Unable to make directory for '/var/rudder/cfengine-community/inputs/aptPackageInstallation/dummy' in file-copy '/var/rudder/share/NODE_UUID/rules/cfengine-community' to '(null)'
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.11.16 to 2.11.17
Updated by Nicolas CHARLES about 9 years ago
The right solution is to use "move_obstruction" in the promise !
Updated by Nicolas CHARLES about 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/761
Updated by Nicolas CHARLES about 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|2421fd32ed23cd1b9173d2951707e094e465286b.
Updated by Benoît PECCATTE about 9 years ago
Applied in changeset rudder-techniques|5323e7358e2687a1b5a70bf13361bd9e3e511276.
Updated by Vincent MEMBRÉ about 9 years ago
- Status changed from Pending release to Released
Actions