Open thenets opened 3 years ago
related to https://github.com/ansible/tower-packaging/issues/1429 If/when we add uninstalling a mesh node from the mesh in AWX.
@fosterseth does receptor have an notion of expiring a node from it's list of known node(s) ?
For some use cases make sense to remove an older receptor node without the need to delete everything and restart the mesh state.
Motivation
During my test cases for
execution_nodes
with the receptor, I'm facing some challenges trying to add and remove nodes to check the AWX auto-discovery behavior.I always need to destroy all the mesh and start again. Would be great if I could delete the nodes without the need to destroy everything.
Suggestion
I think that would be nice to have different ways to remove a receptor node from the mesh. If this is not possible to add those additional options, no problem, I can handle it from the Python code.
Examples:
receptorctl remove <name>
receptorctl remove --prefix <prefix_name>
receptorctl remove --older_than <age_in_seconds>
receptorctl remove --last_seen <seconds>
Time Sprint: 1 sprint