-
Notifications
You must be signed in to change notification settings - Fork 70
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
Release stuck in CannotUpdateExternalResource #58
Comments
Seems to be related to the case described here: #36 (comment) Enabling rollback could help to recover from such cases: #36 (comment) |
An actual fix would probably implementing something like this in helm provider controller: helm/helm#7139 (comment) |
@muvaf reported same issue and we don't see any pod restarts in helm provider. helm deployment probably cancelled due to context deadline in this case. |
In summary; If chart contains hooks, helm deployment takes longer since helm go client waits (blocking) until hooks completed (if pre), or all other resources completed (if post), which could become more severe because of things like:
Actual helm release marked as
A short term solution could be increasing the context deadline which would block reconciler loop longer. This is not a perfect solution for a k8s controller, but since helm provider was already configured to run 10 workers by default, it wouldn't hurt much. Actual fix should be to find a way to do the deployment as asynchronous instead of blocking with helm go client. Even with a fix, I believe rollback should be enabled in helm release (esp. if there are hooks in the chart) by setting |
As detailed here: crossplane-contrib/provider-helm#58 (comment) Signed-off-by: Hasan Turken <[email protected]>
Having short term solution merged, closing this issue in favor of #63 Please reopen, if you observe again. |
What happened?
I'm trying to create a
CompositeCluster
via Upbound Cloud using the AWS reference platform v0.0.4, which I think corresponds roughly to https://github.com/upbound/platform-ref-aws/tree/fee50c794da296e832fb7a80bdee8cff508aac96. It seems like the Helm release created by this platform is stuck permanently inCannotUpdateExternalResource
:How can we reproduce it?
Use Upbound Cloud to create a
CompositeNetwork
, then aCompositeCluster
.What environment did it happen in?
The text was updated successfully, but these errors were encountered: