-
Notifications
You must be signed in to change notification settings - Fork 94
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
🐛 Fix: hello template e2e error. #558
🐛 Fix: hello template e2e error. #558
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #558 +/- ##
=======================================
Coverage 62.41% 62.41%
=======================================
Files 177 177
Lines 13857 13857
=======================================
Hits 8649 8649
Misses 4339 4339
Partials 869 869
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: GitHub <noreply@github.com>
a4d9d76
to
164c90a
Compare
/assign @zhujian7 /assign @qiujian16 |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: qiujian16, xuezhaojun 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 |
990a639
into
open-cluster-management-io:main
Signed-off-by: GitHub <noreply@github.com>
* Only bind the agent role for the addon group Signed-off-by: zhujian <jiazhu@redhat.com> * Update addon rolebinding Signed-off-by: zhujian <jiazhu@redhat.com> * Start an addon informor for each addon Signed-off-by: zhujian <jiazhu@redhat.com> * Fix: addon manager flaky error. (open-cluster-management-io#558) Signed-off-by: GitHub <noreply@github.com> --------- Signed-off-by: zhujian <jiazhu@redhat.com> Signed-off-by: GitHub <noreply@github.com> Co-authored-by: xuezhao <zxue@redhat.com>
Summary
Recently we got this addon-manager flaky errors very frequently:
From the log, you can see the root cause is because:
This is because currently, the namespace for addons are fixed to be:
open-cluster-management-agent-addon
. Currently we have 5 places tocleanKlusterletResources
:There are chances that
open-cluster-management-agent
is cleaned up, and then addon-manager start to test its case.BUT, addon-manager is using the universal klusterlet create at the init of the e2e, that klusterlet is not changed, so the controller won't be reconcile to create
open-cluster-management-agent-addon
again.That's the reason why we have the
namespaces \"open-cluster-management-agent-addon\" not found
error.A simple way to fix it is using another ns in addon-manager cases.