Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MGMT-13111: Freeze on
404 Not Found
(#628)
Currently when the user deletes a host the next step runner receives a `404 Not Found` response code from the server, logs it and tries again with exponential backoff. After approximately 15 minutes it stops retrying and exits, and then the main process of the agent will register the host again. The net result is that the host is automatically re-added after those 15 minutes, and we don't want that. To avoid that this patch changes the next step runner so that it freezes the agent. To register the host again the user will have to start the agent or else reboot the host. Related: https://issues.redhat.com/browse/MGMT-13111 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> Co-authored-by: Juan Hernandez <juan.hernandez@redhat.com>
- Loading branch information