forked from openshift/assisted-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MGMT-15878: Add a condition to show the last preparation failure (ope…
…nshift#5524) Presently when installing a cluster, there is no indication of the reason for the last failure in preparation. We record the fact that a failure occurred in that database field `cluster.installation_preparation_completion_status` but we do not store any reason for the failure. We are adding the field `cluster.installation_preparation_completion_status_reason` so that we may record the reason at the same time an event is generated. The content of `cluster.installation_preparation_completion_status` and `cluster.installation_preparation_completion_status_reason` are used to determine the state of a newly created condition `LastInstallationPreparationFailed`
- Loading branch information
1 parent
5f7f3f1
commit ea87037
Showing
31 changed files
with
941 additions
and
57 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
42 changes: 42 additions & 0 deletions
42
api/vendor/github.com/openshift/assisted-service/models/cluster.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
111 changes: 111 additions & 0 deletions
111
api/vendor/github.com/openshift/assisted-service/models/last_installation_preparation.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
42 changes: 42 additions & 0 deletions
42
client/vendor/github.com/openshift/assisted-service/models/cluster.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
111 changes: 111 additions & 0 deletions
111
client/vendor/github.com/openshift/assisted-service/models/last_installation_preparation.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.