Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure proper handling of ErrorMessage/ErrorReason for referenced resources #1294

Closed
detiber opened this issue Aug 21, 2019 · 9 comments
Closed
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.

Comments

@detiber
Copy link
Member

detiber commented Aug 21, 2019

/kind feature

Describe the solution you'd like
Ensure that we are properly checking a referenced resource for ErrorMessage/ErrorReason for referenced resources. If they are present, then we should not attempt to use data from those resources and we should propagate a summary to the user via our ErrorMessage/ErrorReason pointing the user to the resource(s) with ErrorMessage/ErrorReason set.

/priority important-soon
/milestone v1alpha2

@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 21, 2019
@k8s-ci-robot k8s-ci-robot added this to the v1alpha2 milestone Aug 21, 2019
@k8s-ci-robot k8s-ci-robot added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Aug 21, 2019
@vincepri
Copy link
Member

This should be already implemented as described, reconcileExternal method in cluster and machine controllers sync the errors back with the main resources.

@vincepri vincepri self-assigned this Aug 21, 2019
@detiber
Copy link
Member Author

detiber commented Aug 21, 2019

@vincepri looking at the linked code, it just copies the ErrorMessage/ErrorReason from the external resource, it doesn't give any additional context to the user

@vincepri
Copy link
Member

/lifecycle active

@k8s-ci-robot k8s-ci-robot added the lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. label Aug 27, 2019
@ncdc ncdc modified the milestones: v0.2.x (v1alpha2), Next Sep 4, 2019
@timothysc timothysc added the kind/bug Categorizes issue or PR as related to a bug. label Sep 26, 2019
@timothysc timothysc added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. and removed lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. labels Sep 26, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 25, 2019
@detiber
Copy link
Member Author

detiber commented Dec 26, 2019

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 26, 2019
@vincepri
Copy link
Member

@detiber Is this something we might want to look soon-ish or should we close it in favor of #1658 ?

@detiber
Copy link
Member Author

detiber commented Mar 11, 2020

/close
closing in favor of #1658

@k8s-ci-robot
Copy link
Contributor

@detiber: Closing this issue.

In response to this:

/close
closing in favor of #1658

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Projects
None yet
Development

No branches or pull requests

6 participants