Project

General

Profile

Actions

Bug #26023

open

Technique compilation errors doesn't seems to be reloaded when the technique is deleted

Added by Elaad FURREEDAN 16 days ago. Updated 4 days ago.

Status:
Pending release
Priority:
1 (highest)
Category:
Techniques
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
Effort required:
Priority:
161
Name check:
To do
Fix check:
To do
Regression:
No

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.


Related issues 2 (1 open1 closed)

Related to Rudder - Bug #26022: Status should not be on error when there is technique compilator error on disable techniquesPending releaseFrançois ARMANDActions
Related to Rudder - Bug #25527: List techniques with compilation failure in bar for generation statusReleasedFrançois ARMANDActions
Actions #1

Updated by Elaad FURREEDAN 16 days ago

  • Priority changed from N/A to To review
Actions #2

Updated by Elaad FURREEDAN 16 days ago

  • Related to Bug #26022: Status should not be on error when there is technique compilator error on disable techniques added
Actions #3

Updated by Clark ANDRIANASOLO 16 days ago

  • Related to Bug #25527: List techniques with compilation failure in bar for generation status added
Actions #4

Updated by Elaad FURREEDAN 16 days ago

  • 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
Actions #5

Updated by Elaad FURREEDAN 16 days ago

  • 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
Actions #6

Updated by Elaad FURREEDAN 16 days ago

In fact, even if we delete a technique from the editor directly, the error doesn't go away unless we reboot the webapp

Actions #7

Updated by Clark ANDRIANASOLO 16 days ago

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

Actions #8

Updated by François ARMAND 16 days ago

  • Assignee set to Clark ANDRIANASOLO
Actions #9

Updated by François ARMAND 16 days ago

  • Priority changed from To review to 1 (highest)
Actions #10

Updated by Clark ANDRIANASOLO 16 days ago

  • Status changed from New to In progress
Actions #11

Updated by Clark ANDRIANASOLO 16 days ago

  • 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
Actions #12

Updated by Clark ANDRIANASOLO 4 days ago

  • Status changed from Pending technical review to Pending release
Actions

Also available in: Atom PDF