Project

General

Profile

Actions

Bug #7751

open

When we delete a relay, all system groups and directive related to this relay are not deleted

Bug #7751: When we delete a relay, all system groups and directive related to this relay are not deleted

Added by Nicolas CHARLES almost 10 years ago. Updated about 2 years ago.

Status:
New
Priority:
N/A
Target version:
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:
0
Name check:
Fix check:
Regression:

Description

When we delete a relay, a lot of groups and directive (system) remain. It should even be impossible to delete a relay that as node under it, and only be deletable when it is safe to be so, and in this case purge all system groups/directives/rules linked to it.
This may be done only via an external script (like when we transform a node to relay)


Related issues 2 (1 open1 closed)

Related to Rudder - Bug #7288: Policy does not get deleted when changing relaysNewFrançois ARMANDActions
Related to Rudder - Question #9719: Node deletes are not properly cleaned upResolvedActions

Updated by Vincent MEMBRÉ almost 10 years ago Actions #1

  • Target version changed from 2.11.18 to 2.11.19

Updated by Vincent MEMBRÉ over 9 years ago Actions #2

  • Target version changed from 2.11.19 to 2.11.20

Updated by Vincent MEMBRÉ over 9 years ago Actions #3

  • Target version changed from 2.11.20 to 2.11.21

Updated by François ARMAND over 9 years ago Actions #4

  • Related to Bug #7288: Policy does not get deleted when changing relays added

Updated by Vincent MEMBRÉ over 9 years ago Actions #5

  • Target version changed from 2.11.21 to 2.11.22

Updated by Vincent MEMBRÉ over 9 years ago Actions #6

  • Target version changed from 2.11.22 to 2.11.23

Updated by Vincent MEMBRÉ over 9 years ago Actions #7

  • Target version changed from 2.11.23 to 2.11.24

Updated by Vincent MEMBRÉ about 9 years ago Actions #8

  • Target version changed from 2.11.24 to 308

Updated by Vincent MEMBRÉ about 9 years ago Actions #9

  • Target version changed from 308 to 3.1.14

Updated by Vincent MEMBRÉ about 9 years ago Actions #10

  • Target version changed from 3.1.14 to 3.1.15

Updated by Vincent MEMBRÉ about 9 years ago Actions #11

  • Target version changed from 3.1.15 to 3.1.16

Updated by Vincent MEMBRÉ about 9 years ago Actions #12

  • Target version changed from 3.1.16 to 3.1.17

Updated by Janos Mattyasovszky almost 9 years ago Actions #13

  • Related to Question #9719: Node deletes are not properly cleaned up added

Updated by Vincent MEMBRÉ almost 9 years ago Actions #14

  • Target version changed from 3.1.17 to 3.1.18

Updated by Vincent MEMBRÉ over 8 years ago Actions #15

  • Target version changed from 3.1.18 to 3.1.19

Updated by Jonathan CLARKE over 8 years ago Actions #16

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Infrequent - complex configurations | third party integrations

Updated by Benoît PECCATTE over 8 years ago Actions #17

  • Priority set to 21

Updated by Vincent MEMBRÉ over 8 years ago Actions #18

  • Target version changed from 3.1.19 to 3.1.20

Updated by Vincent MEMBRÉ over 8 years ago Actions #19

  • Target version changed from 3.1.20 to 3.1.21

Updated by Vincent MEMBRÉ over 8 years ago Actions #20

  • Target version changed from 3.1.21 to 3.1.22

Updated by Benoît PECCATTE over 8 years ago Actions #21

  • Priority changed from 21 to 34

Updated by Vincent MEMBRÉ over 8 years ago Actions #22

  • Target version changed from 3.1.22 to 3.1.23

Updated by Vincent MEMBRÉ about 8 years ago Actions #23

  • Target version changed from 3.1.23 to 3.1.24

Updated by Vincent MEMBRÉ about 8 years ago Actions #24

  • Target version changed from 3.1.24 to 3.1.25

Updated by Vincent MEMBRÉ almost 8 years ago Actions #25

  • Target version changed from 3.1.25 to 387

Updated by Vincent MEMBRÉ almost 8 years ago Actions #26

  • Target version changed from 387 to 4.1.10

Updated by Vincent MEMBRÉ over 7 years ago Actions #27

  • Target version changed from 4.1.10 to 4.1.11

Updated by Vincent MEMBRÉ over 7 years ago Actions #28

  • Target version changed from 4.1.11 to 4.1.12

Updated by Vincent MEMBRÉ over 7 years ago Actions #29

  • Target version changed from 4.1.12 to 4.1.13

Updated by Vincent MEMBRÉ over 7 years ago Actions #30

  • Target version changed from 4.1.13 to 4.1.14

Updated by Benoît PECCATTE over 7 years ago Actions #31

  • Target version changed from 4.1.14 to 4.1.15

Updated by Vincent MEMBRÉ about 7 years ago Actions #32

  • Target version changed from 4.1.15 to 4.1.16

Updated by Vincent MEMBRÉ about 7 years ago Actions #33

  • Target version changed from 4.1.16 to 4.1.17

Updated by Vincent MEMBRÉ almost 7 years ago Actions #34

  • Target version changed from 4.1.17 to 4.1.18

Updated by Vincent MEMBRÉ almost 7 years ago Actions #35

  • Target version changed from 4.1.18 to 4.1.19

Updated by Alexis Mousset almost 7 years ago Actions #36

  • Target version changed from 4.1.19 to 4.1.20

Updated by François ARMAND over 6 years ago Actions #37

  • Target version changed from 4.1.20 to 4.1.21
  • Priority changed from 34 to 35

Updated by Vincent MEMBRÉ over 6 years ago Actions #38

  • Target version changed from 4.1.21 to 4.1.22

Updated by Vincent MEMBRÉ over 6 years ago Actions #39

  • Target version changed from 4.1.22 to 4.1.23

Updated by Vincent MEMBRÉ over 6 years ago Actions #40

  • Target version changed from 4.1.23 to 4.1.24

Updated by Vincent MEMBRÉ over 6 years ago Actions #41

  • Target version changed from 4.1.24 to 588
  • Priority changed from 35 to 36

Updated by Alexis Mousset over 6 years ago Actions #42

  • Target version changed from 588 to 5.0.13

still there

Updated by Vincent MEMBRÉ about 6 years ago Actions #43

  • Target version changed from 5.0.13 to 5.0.14

Updated by Vincent MEMBRÉ about 6 years ago Actions #44

  • Target version changed from 5.0.14 to 5.0.15
  • Priority changed from 36 to 37

Updated by François ARMAND about 6 years ago Actions #45

  • Project changed from Rudder to Scale-out relay
  • Category deleted (Server components)
  • Assignee set to Elaad FURREEDAN
  • Target version deleted (5.0.15)
  • Effort required set to Very Small
  • Priority changed from 37 to 63

This could be a nice, simple feature to add in scale-out-relay.
Three scenarios:

1/ from the scale-out relay UI:

- list of relays
- delete that relay (the "delete" button should be disabled for relay in that case)

2/ add a "node" deletion hook with the plugin

Deletion already had hooks, but I'm not sure they are for code hook. If no, we need to had them in 6.0.
Then add one for deletion of related feature.

3/ Consider relay as a known case from rudder core and delete related things from rudder core.

This is the simplest and less modular solution: when a node is deleted, look if it is/was a policy server and delete related groups/rule/directives.

Effort very small at least to look and choose at the correct solution.

Updated by Elaad FURREEDAN almost 6 years ago Actions #46

  • Target version set to 5.0-1.2

Updated by Elaad FURREEDAN almost 6 years ago Actions #47

  • Status changed from New to In progress

Updated by Vincent MEMBRÉ almost 6 years ago Actions #48

  • Target version changed from 5.0-1.2 to 5.0-1.3
  • Priority changed from 63 to 64

Updated by Elaad FURREEDAN almost 6 years ago Actions #49

  • Status changed from In progress to New

Updated by Vincent MEMBRÉ over 5 years ago Actions #50

  • Target version changed from 5.0-1.3 to 5.0-1.4
  • Priority changed from 64 to 67

Updated by Vincent MEMBRÉ over 2 years ago Actions #51

  • Target version changed from 5.0-1.4 to 7.2
  • Priority changed from 67 to 0

Updated by Alexis Mousset about 2 years ago Actions #52

  • Target version changed from 7.2 to 7.3
Actions

Also available in: PDF Atom