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

(rcm) improve error reporting #13382

Merged
merged 2 commits into from
Sep 8, 2022
Merged

(rcm) improve error reporting #13382

merged 2 commits into from
Sep 8, 2022

Conversation

arbll
Copy link
Member

@arbll arbll commented Sep 6, 2022

What does this PR do?

Improves error reporting:

  • All errors are now prefixed for easy categorization
  • Removed reporting of warnings

This PR also fixes a bogus warn log when the agent does not yet have a targets.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
  • A release note has been added or the changelog/no-changelog label has been applied.
  • Changed code has automated tests for its functionality.
  • Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
  • At least one team/.. label has been applied, indicating the team(s) that should QA this change.
  • If applicable, docs team has been notified or an issue has been opened on the documentation repo.
  • If applicable, the need-change/operator and need-change/helm labels have been applied.
  • If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
  • If applicable, the config template has been updated.

@arbll arbll merged commit 7a2cb52 into main Sep 8, 2022
@arbll arbll deleted the arbll/improve-reported-errors branch September 8, 2022 16:36
BaptisteFoy pushed a commit that referenced this pull request Sep 16, 2022
BaptisteFoy pushed a commit that referenced this pull request Sep 16, 2022
BaptisteFoy pushed a commit that referenced this pull request Sep 16, 2022
BaptisteFoy added a commit that referenced this pull request Sep 16, 2022
* [RCM-132] Send back fetch error to backend (#13282)

* Send back fetch error to backend

* Fix test

* (rcm) improve error reporting (#13382)

* [RCM-432] fix(remote-config): Clean remote state on error & use fixed fork of go-tuf (#13517)

* [RCM-432] fix(TUF): Clean remote state on TUF error

* fix(go-tuf): Use fork of go-tuf for the time being.

* refactor(uptane): Refactor the Update methods

Co-authored-by: Paul <[email protected]>
Co-authored-by: Arthur Bellal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants