Actions
Bug #14464
closedIf a relay is deleted (via node->delete), its system rule remains
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Very Small
Priority:
87
Name check:
Reviewed
Fix check:
Checked
Regression:
Description
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
):
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
Updated by François ARMAND over 5 years ago
- Translation missing: en.field_tag_list set to Sponsored
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.21 to 4.1.22
Updated by Benoît PECCATTE over 5 years ago
- Severity set to Major - prevents use of part of Rudder | no simple workaround
- User visibility set to Infrequent - complex configurations | third party integrations
- Priority changed from 0 to 73
Updated by François ARMAND over 5 years ago
- Target version changed from 4.1.22 to 5.0.10
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.10 to 5.0.11
- Priority changed from 73 to 72
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.11 to 5.0.12
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 5.0.12 to 5.0.13
- Priority changed from 72 to 70
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.13 to 5.0.14
- Priority changed from 70 to 68
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.14 to 5.0.15
- Priority changed from 68 to 67
Updated by François ARMAND about 5 years ago
- Effort required set to Very Small
- Priority changed from 67 to 91
It may need to be done in Rudder even if the relay-plugin is not installed because we want to be in a clean state even if the plugin isn't here anymore.
Updated by François ARMAND about 5 years ago
- Status changed from New to In progress
Updated by François ARMAND about 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder/pull/2605
Updated by François ARMAND about 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|19181bbdcfef8b1971deaec8d0ae65c4ce1e16c0.
Updated by Alexis Mousset about 5 years ago
- Subject changed from If a relay is deleted (node->delete) a system rule for it remains to If a relay is deleted (via node->delete), its system rule remains
- Name check changed from To do to Reviewed
Updated by François ARMAND almost 5 years ago
- Priority changed from 91 to 90
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ almost 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.15 which was released today.
Updated by François ARMAND almost 5 years ago
- Description updated (diff)
- Priority changed from 90 to 89
Actions