-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always retry failed cleaning on deprovisioning (fixes #1182)
Not running cleaning immediately after a failure may: 1. cause side effects when the machine powers back on into the old operating system (and e.g. rejoins the cluster as a worker); 2. confuse users with previous Ironic background since in Ironic a node cannot enter available without going through cleaning (unless disabled). This change moves hosts manageable -> available immediately. Users who want to opt-out have to set automatedCleanMode to disabled or detach the host. As of this change, we still give up cleaning after 3 attempts, so it's still possible to end up with an unclean host causing issues.
- Loading branch information
Showing
3 changed files
with
22 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters