Open Nathan-Nesbitt opened 7 months ago
The only thing I found was I was having similar issues with another helm repo, and the only way I could fix it was to nuke the entire flux bootstrap and restart. Saying that, that's not really practical for anything beyond setup... is there some other way to force reset helm (if that is actually the issue?)
This hasn't worked for this chart, it has been stuck like this for a while now.
Hi,
what I can see is that the HelmRepository manifest is named "rook-ceph", but in the HelmRelease the referenced HelmRepository name ist "rook".
What helps me often is to run following command:
kubectl describe HelmRelease rook-ceph-cluster -n rook-ceph
@98jan thanks for the reply, I must have changed that last night while playing around, unfortunately it's still stuck with the error.
The interesting part to me is that, the error has to do with releases not the chart itself, which to me looks like the release is the issue as it finds v1.13.14
in the helm repository which is not specified.
To me this looks like the release name is somehow wrong/non-existent? Even tho it is specified and should be the same as the name of the HelmRelease from above?
I think this has to do with the application of the values
to the releaseName.
What is also interesting is any time I try to force a reconcile it results in the following:
βΊ annotating HelmRelease rook-ceph-cluster in rook-ceph namespace β HelmRelease annotated β waiting for HelmRelease reconciliation β context deadline exceeded
Yeah there's something very unusual going on, nuked the node and recreated everything and it's now working:
True Helm install succeeded for release rook-ceph/rook-ceph-cluster.v1 with chart rook-ceph-cluster@v1.13.4
No change to the charts or anything, just started working after I deleted everything...
Is there any general advice on how to debug issues like this? Seems like general flakeyness but it's not clear why this worked or even what the actual original issue was.
I encountered this problem today. The flux "HelmRelease" resource was failing to install.
$ kubectl get hr velero
NAME AGE READY STATUS
velero 2m58s False Helm upgrade failed for release velero with chart velero@6.0.0: "velero" has no deployed releases
What I couldn't understand was why the HelmRelease was performing an upgrade action, when the helm ls
command reported no releases:
$ helm history velero
There had been a previous installation of velero, which had not been properly cleaned up.
$ helm history velero
REVISION UPDATED STATUS CHART APP VERSION DESCRIPTION
1 Fri Jun 7 10:13:05 2024 uninstalling velero-6.6.0 1.13.2 Deletion in progress (or silently failed)
@Nathan-Nesbitt Perhaps this could be your issue? It would explain why nuking your setup fixed the problem.
try kubectl get secret
in the respective namespace where you are managing everything. nuke any sh.helm.release.v1.whatever
secret that's no actually applying. it'll try an install instead of an upgrade.
good luck!
Describe the bug
Here is the config file that I have for creating the
rook-ceph-cluster
as defined here. I can deploy using almost the same layout for therook-ceph
helm chart but therook-ceph-cluster
chart fails.This is the helm repository file:
When I go to deploy, I get the following error, which I cannot for the life of me figure out why.
I can create it manually from the cli using helm by running the following:
So it's not an issue with the helm repository, or with rook.
Any ideas?
Steps to reproduce
Expected behavior
It should just run as expected π€·
Screenshots and recordings
No response
OS / Distro
Ubuntu -- Jammy
Flux version
flux version 2.2.3
Flux check
βΊ checking prerequisites β Kubernetes 1.27.10+rke2r1 >=1.26.0-0 βΊ checking version in cluster β distribution: flux-v2.2.3 β bootstrapped: true βΊ checking controllers β helm-controller: deployment ready βΊ ghcr.io/fluxcd/helm-controller:v0.37.4 β kustomize-controller: deployment ready βΊ ghcr.io/fluxcd/kustomize-controller:v1.2.2 β notification-controller: deployment ready βΊ ghcr.io/fluxcd/notification-controller:v1.2.4 β source-controller: deployment ready βΊ ghcr.io/fluxcd/source-controller:v1.2.4 βΊ checking crds β alerts.notification.toolkit.fluxcd.io/v1beta3 β buckets.source.toolkit.fluxcd.io/v1beta2 β gitrepositories.source.toolkit.fluxcd.io/v1 β helmcharts.source.toolkit.fluxcd.io/v1beta2 β helmreleases.helm.toolkit.fluxcd.io/v2beta2 β helmrepositories.source.toolkit.fluxcd.io/v1beta2 β kustomizations.kustomize.toolkit.fluxcd.io/v1 β ocirepositories.source.toolkit.fluxcd.io/v1beta2 β providers.notification.toolkit.fluxcd.io/v1beta3 β receivers.notification.toolkit.fluxcd.io/v1 β all checks passed
Git provider
No response
Container Registry provider
No response
Additional context
No response
Code of Conduct