Skip to content

Post DR have Retired nodes show up in node/network/removable_nodes API #6604

@gaurav137

Description

@gaurav137

At present after a DR the pre-DR nodes get reported as Retired in the node/network/nodes but they don't how up in node/network/removable_nodes. If we can have the nodes listed in removable_nodes api then from an orchestrator's perspective it as an indication that nodes is marked retired, its considered removable by CCF so operator can go ahead and DELETE the infra node and also invoke DELETE /node/network/nodes/nodeid. At present only nodes that go via the remove_node proposal show up in removable_nodes api. The logic to detect and cleanup stale nodes can then be the same:

  • Wait for node to be reported as retired.
  • Wait for node to appear in removal_nodes api.
  • Delete node from infra.
  • Invoke DELETE /node/network/nodes/nodeid API.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions