Bug #3887
closedError when adding and deleting a node several times
Description
When adding a node, then deleting it, then adding it back, we can't delete it anymore due to that error:
Node with id a60bdb08-2669-4cd5-86a4-c5f77c1ded14 was not found Error message was: could not get machine from container machineId=422EE2BE-1314-117B-2FB3-54ADF3F2CD5B,ou=Machines,ou=Removed Inventories,ou=Inventories,cn=rudder-configuration : Failure(DN machineId=422EE2BE-1314-117B-2FB3-54ADF3F2CD5B, ou=Machines,ou=Removed Inventories,ou=Inventories,cn=rudder-configuration does not belong to machine inventories DN ou=Machines,ou=Accepted Inventories,ou=Inventories,cn=rudder-configuration
Updated by François ARMAND about 11 years ago
There seems to be two bug here:
- we should not have an error for a machine that is not in "accepted"
- we should "move back" machine from deleted to accepted when accepting a node with the same machine as a previously deleted one
The second one is more involving than the first, I'm opening a second ticket for it: #3892
Updated by François ARMAND about 11 years ago
- Status changed from 8 to Pending technical review
- Assignee changed from François ARMAND to Nicolas CHARLES
- Target version changed from 2.4.8 to 2.6.4
- Pull Request set to https://github.com/Normation/rudder/pull/307
Actually, it was due to the addition of the machine type (physical, virtual, etc) in the node summary.
Updated by François ARMAND about 11 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset 47c5896e401e95126e17cb2d46223b8d75717d02.
Updated by Nicolas CHARLES about 11 years ago
Applied in changeset 631df59c4ea8f8d5a93692aa6cf48ee49eef5e57.
Updated by François ARMAND about 11 years ago
- Status changed from Pending release to In progress
- Pull Request deleted (
https://github.com/Normation/rudder/pull/307)
It seems that something remains in the LDAPSearch, for 2.6 and up. When searching, we still see the bug: I revert the previous (incorrect) correct, and will submit an other pull request.
Updated by François ARMAND about 11 years ago
- Assignee changed from Nicolas CHARLES to François ARMAND
Updated by François ARMAND about 11 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/310
New PR here: https://github.com/Normation/rudder/pull/310
Updated by François ARMAND about 11 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset 2f5cd9508483b10ccb6ad9b5f638d66a1f89cf8c.
Updated by Nicolas CHARLES about 11 years ago
Applied in changeset 47098999ed98abc98904e97f26b828a725041cc7.
Updated by Nicolas PERRON about 11 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.6.4, which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-September/000045.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog26
- Download information: http://www.rudder-project.org/foswiki/Download/
Updated by Benoît PECCATTE over 9 years ago
- Category changed from 26 to Web - Nodes & inventories