Project

General

Profile

Bug #21491

Updated by Nicolas CHARLES over 2 years ago

When we try to delete a old techniques, created from the era of Rudder 4 and 5, cannot be deleted from the technique that contains a space editor because they are in its name, it doesn't delete: the webapp says it's ok but the logs says meta-technique category 
 <pre> 
 [2022-07-27 15:46:41+0200] INFO    techniques.reader - Reloading Any technique library, no modified techniques found created outside of "User techniques" category won't be deleted also 
 [2022-07-27 15:46:41+0200] INFO    com.normation.rudder.services.policies.DeployOnTechniqueCallback - Update Technique library after deletion of Technique this technique wont delete editor says they can be, but actually they can't 

 </pre> 

 Workaround: delete from file system 
 <pre> 
 

 cd /var/rudder/configuration-repository/techniques/ncf_techniques 
 rm -rf <deleted folder> 
 git add <deleted folder> 
 git commit -m "removing technique" 
 rudder server reload-techniques 
 </pre>

Back