Project

General

Profile

Bug #14464

Updated by François ARMAND almost 5 years ago

A relay was deleted, and the " distributePolicy" directive was still applied to it, most likely because the rule for the relay was not correctly deleted.  


 Workaround: delete these element by hand with the following LDAP command (assuming the deleted relay had ID @b30e567b-b166-4888-9ba0-e41aa87c6a7c@): 

 <pre> 
 ldapmodify -xc -H ldap://localhost:389 -D "cn=manager, cn=rudder-configuration" -w "secret" << EOF 
 dn: nodeGroupId=hasPolicyServer-b30e567b-b166-4888-9ba0-e41aa87c6a7c,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration 
 changetype: delete 

 dn: ruleTarget=policyServer:b30e567b-b166-4888-9ba0-e41aa87c6a7c,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration 
 changetype: delete 

 dn: directiveId=b30e567b-b166-4888-9ba0-e41aa87c6a7c-distributePolicy,activeTechniqueId=distributePolicy,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuration 
 changetype: delete 

 dn: directiveId=common-b30e567b-b166-4888-9ba0-e41aa87c6a7c,activeTechniqueId=common,techniqueCategoryId=Rudder Internal,techniqueCategoryId=Active Techniques,ou=Rudder,cn=rudder-configuratio 
 changetype: delete 

 dn: ruleId=b30e567b-b166-4888-9ba0-e41aa87c6a7c-DP,ou=Rules,ou=Rudder,cn=rudder-configuration 
 changetype: delete 

 dn: ruleId=hasPolicyServer-b30e567b-b166-4888-9ba0-e41aa87c6a7c,ou=Rules,ou=Rudder,cn=rudder-configuration 
 changetype: delete 
 EOF 
 </pre>

Back