Bug #26023
open
Technique compilation errors doesn't seems to be reloaded when the technique is deleted
Added by Elaad FURREEDAN 17 days ago.
Updated 4 days ago.
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
Description
I try to delete a technique that generate compilation error on status, I delete the directory of the technique, git add, git commit, rudder server reload-techniques but the error is still present.
Even if I try to delete it from Techniques tree page, the error is still here. The error disappear when restarting the webapp.
- Priority changed from N/A to To review
- Related to Bug #26022: Status should not be on error when there is technique compilator error on disable techniques added
- Related to Bug #25527: List techniques with compilation failure in bar for generation status added
- Subject changed from Technique compilation errors doesn't seems to be reload when the technique is delete from FS to Technique compilation errors doesn't seems to be reloaded when the technique is delete from FS
- Subject changed from Technique compilation errors doesn't seems to be reloaded when the technique is delete from FS to Technique compilation errors doesn't seems to be reloaded when the technique is deleted
In fact, even if we delete a technique from the editor directly, the error doesn't go away unless we reboot the webapp
The data model is a cache but the TechniqueCompilationErrorsActorSync#updateStatus
logic does not reset the cache, it only traverse techniques and remove those in success from the cache and adds those in error to the cache. The deleted ones are left in the cache if they were deleted when being in error
- Assignee set to Clark ANDRIANASOLO
- Priority changed from To review to 1 (highest)
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/6068
- Status changed from Pending technical review to Pending release
Also available in: Atom
PDF