Skip to content
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

Error: failed to download "ot-helm/redis-operator" #17

Closed
cdemi opened this issue Jan 11, 2022 · 15 comments
Closed

Error: failed to download "ot-helm/redis-operator" #17

cdemi opened this issue Jan 11, 2022 · 15 comments

Comments

@cdemi
Copy link

cdemi commented Jan 11, 2022

Following the documentation instructions:
helm upgrade redis-operator ot-helm/redis-operator --install --namespace redis-operator does not work because it looks like the latest redis-operator-0.9.0 is not available as a release on GitHub. I can see Redis 0.9.0 but not Redis Operator

Error: failed to fetch https://github.com/OT-CONTAINER-KIT/helm-charts/releases/download/redis-operator-0.9.0/redis-operator-0.9.0.tgz : 404 Not Found

@andre-lx
Copy link

Having the same issue.

helm pull ot-helm/redis-operator
Error: failed to fetch https://github.com/OT-CONTAINER-KIT/helm-charts/releases/download/redis-operator-0.9.0/redis-operator-0.9.0.tgz : 404 Not Found

And looking at the releases tab you can see that the file doesn't exist:
https://github.com/OT-CONTAINER-KIT/helm-charts/releases/tag/redis-operator-0.9.0

@TanZng
Copy link

TanZng commented Jan 12, 2022

Same issue here

➜ helm upgrade redis-operator ot-helm/redis-operator \
    --install --namespace redis-operator

Release "redis-operator" does not exist. Installing it now.
Error: failed to download "ot-helm/redis-operator"

@vincentbaeten
Copy link

vincentbaeten commented Jan 13, 2022

Same here. Looks like redis-operator-0.9.0 release got deleted?

@bleleve
Copy link

bleleve commented Jan 17, 2022

Same here. Seems to be related to https://github.com/OT-CONTAINER-KIT/helm-charts/runs/4366139164?check_suite_focus=true#step:6:15

EDIT: Version 0.9.0 is already existing in the index.yaml : https://github.com/OT-CONTAINER-KIT/helm-charts/blob/gh-pages/index.yaml#L345, the release must have been accidentally deleted !

Is there a pilot on the plane ? :)

@pkutishch
Copy link

+1 to the issue, had to bypass via specifying version to the helm install command
--version 0.8.0

@kvendingoldo
Copy link

any updates here?

@kuzm1ch
Copy link

kuzm1ch commented Feb 9, 2022

helm operator was fixed.
helm pull ot-helm/redis-operator works fine. But there is an issue with another chart.

helm pull  ot-helm/redis-cluster  
Error: failed to fetch https://github.com/OT-CONTAINER-KIT/helm-charts/releases/download/redis-cluster-0.9.0/redis-cluster-0.9.0.tgz : 404 Not Found

@jakuzure
Copy link

+1 for redis-cluster
helm search repo ot-helm says 0.9.0 is the latest version, but it can't be downloaded, switching to 0.8.0 works for now

@kvendingoldo
Copy link

@jakuzure 0.10.1 works

@apena-pmy
Copy link

@jakuzure 0.10.1 works

If you install redis-operator v0.10.1 you cannot install redis-cluster v0.9.0 because is not available (as @kuzm1ch said). Also, you cannot install redis-cluster v0.8.0 because it is not compatible:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(RedisCluster.spec.kubernetesConfig): unknown field "serviceType" in in.opstreelabs.redis.redis.v1beta1.RedisCluster.spec.kubernetesConfig, ValidationError(RedisCluster.spec.redisFollower): unknown field "serviceType" in in.opstreelabs.redis.redis.v1beta1.RedisCluster.spec.redisFollower, ValidationError(RedisCluster.spec.redisLeader): unknown field "serviceType" in in.opstreelabs.redis.redis.v1beta1.RedisCluster.spec.redisLeader]

@dm3ch
Copy link
Contributor

dm3ch commented Feb 22, 2022

@apena-matriz Yeah, there are problems with versions in this project.

The only thing I could propose is to use my fork, in this fork I've been working on PR and there's a redis-cluster-0.9.1 version. This is actually the latest version of the chart in this repo merged with my PR adding custom configuration support to the chart.

@apena-pmy
Copy link

@dm3ch
The redis-cluster.yaml in your chart has a wrong indentation in lines 18 and 28. The sentences should be at the beginning of the line.

If you try to install the chart with nodeAffinity, podAffinity or podAntiAffinity you will get the following error:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(RedisCluster.spec.redisFollower.affinity): unknown field "requiredDuringSchedulingIgnoredDuringExecution" in in.opstreelabs.redis.redis.v1beta1.RedisCluster.spec.redisFollower.affinity, ValidationError(RedisCluster.spec.redisLeader.affinity): unknown field "requiredDuringSchedulingIgnoredDuringExecution" in in.opstreelabs.redis.redis.v1beta1.RedisCluster.spec.redisLeader.affinity]

@dm3ch
Copy link
Contributor

dm3ch commented Feb 24, 2022

@dm3ch The redis-cluster.yaml in your chart has a wrong indentation in lines 18 and 28. The sentences should be at the beginning of the line.

If you try to install the chart with nodeAffinity, podAffinity or podAntiAffinity you will get the following error:

Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [ValidationError(RedisCluster.spec.redisFollower.affinity): unknown field "requiredDuringSchedulingIgnoredDuringExecution" in in.opstreelabs.redis.redis.v1beta1.RedisCluster.spec.redisFollower.affinity, ValidationError(RedisCluster.spec.redisLeader.affinity): unknown field "requiredDuringSchedulingIgnoredDuringExecution" in in.opstreelabs.redis.redis.v1beta1.RedisCluster.spec.redisLeader.affinity]

Thank you for answer - I would test.
Actually, I haven't changed anything connected to affinity in my fork, so it's an upstream problem.

Prepared PR with fix of that issue #25 and I've merged it to my main branch, resulting new version - https://github.com/dm3ch/opstree-helm-charts/releases/tag/redis-cluster-0.9.2

@aaahy
Copy link

aaahy commented Mar 25, 2022

[root@master ot-container-kit]# helm upgrade redis-cluster ot-helm/redis-cluster --set redisCluster.clusterSize=3 --install --namespace ot-operators
Release "redis-cluster" does not exist. Installing it now.
Error: failed to download "ot-helm/redis-cluster"

[root@master ot-container-kit]# helm pull  ot-helm/redis-cluster  
Error: failed to fetch https://github.com/OT-CONTAINER-KIT/helm-charts/releases/download/redis-cluster-0.9.0/redis-cluster-0.9.0.tgz : 404 Not Found

I can not install redis-cluster like above.

helm upgrade redis-operator ot-helm/redis-operator --install --namespace ot-operators --version 0.8.0
helm upgrade redis-cluster ot-helm/redis-cluster --set redisCluster.clusterSize=3 --install --namespace ot-operators --version 0.8.0

But I can install redis-operator and redis-cluster,only when I specify the versions like above.

@iamabhishek-dubey
Copy link
Member

This should be fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests