Bug #5503
closedBug #5660: Evaluation of promises is not correctly done in CFEngine 3.6.0 - 3.6.2, preventing some promises evaluation
Manage files and folders: files and folders are not deleted with rudder-agent 2.11
Description
Manage files and folders 2.0: files and folders are not deleted. However, the webapp reports success.
In the output I see things like this:
2014-09-08T15:45:18+0200 verbose: /default/manageFilesAndFolders/files/'/usr/local/hobbit'[1]: file_select result 'leaf_name.mtime' on '/usr/local/hobbit/load.bb' was 'false'
Updated by Dennis Cabooter about 10 years ago
For now I will migrate back to version 1.1.
Updated by Vincent MEMBRÉ about 10 years ago
- Assignee set to Nicolas CHARLES
Nicolas (or Matthieu/Benoit) can you look at it ?
Dennis, to be sure, what are the parameter you put in that technique?
Updated by Dennis Cabooter about 10 years ago
- Path: /usr/local/hobbit
- Set action on file or folder: Clean
- Everything in this directory and the directory itself
Updated by Dennis Cabooter about 10 years ago
Migrating back to 1.1 didn't help. Files and folders are still not deleted. Olivier Mauras tested for me and he experienced the same behaviour.
Updated by Nicolas CHARLES about 10 years ago
If reverting to previous version doesn't fix the issue, then it is probably related to the new version of the agent (3.6)
Updated by Nicolas CHARLES about 10 years ago
From my tests, using mtime and leaf_name with cfengine 3.6 fails. I'm opening a ticket on cfengine bug tracker
Updated by Nicolas CHARLES about 10 years ago
Ok, it is much much more complex than that
In CFEngine 3.6.x, we cannot delete files based on mtime while iterating on lists.
I've opened this ticket with this weird description there https://dev.cfengine.com/issues/6577
Updated by Matthieu CERDA about 10 years ago
- Target version changed from 2.11.3 to 2.11.4
Updated by Nicolas CHARLES about 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Nicolas CHARLES to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/489
PR is there : https://github.com/Normation/rudder-packages/pull/489
Note: it also fixes http://www.rudder-project.org/redmine/issues/5565
Updated by Jonathan CLARKE about 10 years ago
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
Updated by Nicolas CHARLES about 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset packages:commit:b92fe951865eb0899823fd13acb5713d1148c7ac.
Updated by Jonathan CLARKE about 10 years ago
Applied in changeset packages:commit:1ae116ba2f6bc02280f0bd91297df06e081d336e.
Updated by Nicolas CHARLES about 10 years ago
- Subject changed from Manage files and folders 2.0: files and folders are not deleted to Manage files and folders: files and folders are not deleted with rudder-agent 2.11
Updated by Vincent MEMBRÉ about 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.4, which was released today.
- Announcement
- Changelog
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/