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: hold the force uninstalling process untill the last addon been deleted #4101
Fix: hold the force uninstalling process untill the last addon been deleted #4101
Conversation
6501c87
to
4d17ea5
Compare
Codecov Report
@@ Coverage Diff @@
## master #4101 +/- ##
==========================================
+ Coverage 60.28% 60.43% +0.15%
==========================================
Files 330 330
Lines 31760 31760
==========================================
+ Hits 19145 19193 +48
+ Misses 10118 10072 -46
+ Partials 2497 2495 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
why we need to wait 5 second |
The vela-core controller is gc the resources of fluxcd addon. Should wait untill the gc process finish, then delete the vela-core controller, otherwise the fluxcd addon application will block in |
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> fix lint Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> fix comments Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> fix comments Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
0dd07c8
to
1d42664
Compare
can we make it shorter since there's a for-loop here? |
Have updated with 2 minutes. |
I mean 5s -> 2s, for better experience |
the waiting message is Waiting delete the fluxcd addon, timeout left 4m59.96s
|
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com> fix lint Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
0899ca8
to
cecd8c2
Compare
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com>
LGTM |
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.
LGTM,Approved.
Successfully created backport PR #4103 for |
A bug generated when fluxcd addon has been enabled, then use
uninstall -f
The uninstall process begin to remove the vela core controller and vela-system namespace while fluxcd addon is been deleting. This will cause a dead clock to block whole uninstall and re-install process.
Signed-off-by: 楚岳 wangyike.wyk@alibaba-inc.com
Description of your changes
Fixes #
I have:
make reviewable
to ensure this PR is ready for review.backport release-x.y
labels to auto-backport this PR if necessary.How has this code been tested
Special notes for your reviewer