Project

General

Profile

User story #18035

API to totally erase a node everywhere

Added by François ARMAND 6 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Suggestion strength:
User visibility:
Effort required:
Tags:

Description

We need an API to totally wipe-out a node everywhere, which means:

- whatever its state, node inventory is deleted,
- node properties/state/etc are deleted,
- generated node policies are deleted,
- node cache is deleted,
- groups are regenerated.

Not sure:

- expected reports for node are deleted
- rudder sys event (compliance reports)

We still keep historized information about compliance data.

The most compatible way to do it is to add a "mode" parameter, with possible values "archive" (default, current behaviour) and "erase" (new mode that doesn't keep inventory etc).

Files in FS should be deleted in any case, node cache too.


Related issues

Related to Rudder - Bug #16941: delete entries from nodes_info when a node is deletedNewActions
Related to Rudder - Bug #18654: API message when a node details is not found is extremelly misleadingReleasedNicolas CHARLESActions
#1

Updated by François ARMAND 6 months ago

  • Status changed from New to In progress
#2

Updated by François ARMAND 6 months ago

  • Description updated (diff)
#3

Updated by Vincent MEMBRÉ 5 months ago

  • Target version changed from 5.0.19 to 5.0.20
#4

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 5.0.20 to 5.0.21
#5

Updated by François ARMAND 3 months ago

  • Target version changed from 5.0.21 to 6.1.7
#6

Updated by François ARMAND 3 months 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/3347
#7

Updated by François ARMAND 2 months ago

  • Related to Bug #16941: delete entries from nodes_info when a node is deleted added
#8

Updated by François ARMAND 2 months ago

  • Status changed from Pending technical review to Pending release
#9

Updated by François ARMAND 2 months ago

  • Related to Bug #18654: API message when a node details is not found is extremelly misleading added
#11

Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.7 which was released today.

Also available in: Atom PDF