Open fenio opened 11 months ago
WebUI shows not ready but I really can't find a reason to show that status. Everything seems to be fine. I'm fine with provide further info but to be honest I don't know how to gather it.
The only thing these repositories have in common is:
[☸ lab:network] ❯ ~ flux get sources all | grep "Helm repository is Ready" helmrepository/bitnami False True Helm repository is Ready helmrepository/bjw-s False True Helm repository is Ready helmrepository/weaveworks False True Helm repository is Ready
But if it's ready then why Webui says it's not ready?
Thanks for the ticket @fenio. Checking it
I'm pasting another screenshot as it seems to be related to this issue. Basically when I choose or source and start sync it seems that once the sync is over UI still waits for some time and then it looks like it gaves up and throws the following error:
I also removed screenshot from my initial bugreport as it contained my domain name and in fact the new screenshot I've provided contains more info and should be more useful.
could you please confirm if the status changes after a while to Ready or remain Not Ready and if not ready, what is the error message you get on the details page?
It stays in "Not ready" forever and except that JSON error there's no really too much errors to show. When I enter to details of one of these failing repositories all I get is this:
No data in Events tab and in YAML tab it looks normal to me. If I try to sync it then after exactly one minute of spinning arrows I'm getting that JSON error mentioned in https://github.com/weaveworks/weave-gitops/issues/4168#issuecomment-1857924497 In the meantime flux cli shows all repositories as healthy.
Just some extra info. In the meantime I had some issues with my lab and I had to reinstall everything from scratch. So at this point I wouldn't really connect that issue to upgrade. Apparently the newest flux + the newest webui + oci based sources are simply incompatible.
same for flux v2.2.*
I think is related to OCI type of repo: https://fluxcd.io/flux/components/source/helmrepositories/#helm-oci-repository
Because the OCI Helm repository is a data container, there’s nothing to report for READY and STATUS columns above. The existence of the object can be considered to be ready for use.
on flux v2.0.1
it's OK
Yeah it's definitely related only to OCI helm repositories. But flux itself lists them with their status and readiness:
❯ ~ flux get sources helm
NAME REVISION SUSPENDED READY MESSAGE
bitnami False True Helm repository is Ready
bjw-s False True Helm repository is Ready
cloudnative-pg sha256:c0325874 False True stored artifact: revision 'sha256:c0325874'
democratic-csi sha256:98551e2a False True stored artifact: revision 'sha256:98551e2a'
external-dns sha256:8aa1d029 False True stored artifact: revision 'sha256:8aa1d029'
hajimari sha256:ba9498af False True stored artifact: revision 'sha256:ba9498af'
jetstack sha256:c3d766f6 False True stored artifact: revision 'sha256:c3d766f6'
metallb sha256:bd1fd831 False True stored artifact: revision 'sha256:bd1fd831'
netdata sha256:7391a6f1 False True stored artifact: revision 'sha256:7391a6f1'
prometheus sha256:d8d6263d False True stored artifact: revision 'sha256:d8d6263d'
reloader sha256:e1a81af5 False True stored artifact: revision 'sha256:e1a81af5'
traefik sha256:197ec1f7 False True stored artifact: revision 'sha256:197ec1f7'
weaveworks False True Helm repository is Ready
bitnami, bjw-s and weaveworks are the only three OCI repositories I've got and as you can see flux shows them fine, but in webui:
I have this status error too!
incosistency between what flux reports and what webui shows
Environment
To Reproduce
No idea. Flux seems to be happy after upgrade to 2.2.0. Webui still complains about some weird errors.
Expected behavior
I'd expect it to be in sync.