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
Update VM controller error handling #850
Update VM controller error handling #850
Conversation
If the PVC or PV does not exist, do we want to try checking again? Will these resources be created eventually? |
The PVC is associated to the VM, is just not created yet, the backoff ensure we will try the reconcile loop again in a few seconds |
Instead of retrying later, can you check the If a VM has this |
2a3c377
to
b859395
Compare
updated @akrejcir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Can you add more text to the commit message?
- adds 5 seconds backoff between failed reconcile loops of VM controller - removes 'error' wording from logs when VM controller does not create the VM related metrics - skips metric creation when VM related resources are still in Provisioning status Signed-off-by: João Vilaça <jvilaca@redhat.com>
b859395
to
1a79799
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
done! |
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akrejcir The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/cherry-pick release-v0.19 |
@machadovilaca: new pull request created: #857 In response to this:
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. |
What this PR does / why we need it:
Sometimes some resources might not exist yet and we see a huge amount of logs stating that an error created the VM metrics.
This PR:
Which issue(s) this PR fixes:
jira-ticket: https://issues.redhat.com/browse/CNV-35806
Special notes for your reviewer:
Release note: