karmada-io / karmada

Open, Multi-Cloud, Multi-Cluster Kubernetes Orchestration
https://karmada.io
Apache License 2.0
4.14k stars 812 forks source link

It seem that the karmada-controller-manager has a bug which it throw index out of range #4878

Open SZT0728 opened 2 weeks ago

SZT0728 commented 2 weeks ago

the karmada-controller-manager throw a error "index out of range" even though i change the image version,such as v1.5.1、v1.6.0、v1.6.1:

fix this bug:

the karmada will auto throw the error and panic while it running:

Anything else we need to know?:

Environment:

XiShanYongYe-Chang commented 2 weeks ago

Hi @SZT0728, thanks for your feedback. Is the problem still present in v1.9 or in the master branch?

SZT0728 commented 2 weeks ago

Hi @SZT0728, thanks for your feedback. Is the problem still present in v1.9 or in the master branch?

Sorry, I don't know whether it still exist because the server will shutdown with the below info in v1.9: WechatIMG84

XiShanYongYe-Chang commented 2 weeks ago

What you point out in the picture, I understand should not be directly related.

I look at the code now and the logic has changed,

https://github.com/karmada-io/karmada/blob/81916d6d8f1f84075c4f0ce14e33b67a8f43eda5/pkg/modeling/modeling.go#L165

so I guess the bug you pointed out may have been fixed.

SZT0728 commented 2 weeks ago

What you point out in the picture, I understand should not be directly related.

I look at the code now and the logic has changed,

https://github.com/karmada-io/karmada/blob/81916d6d8f1f84075c4f0ce14e33b67a8f43eda5/pkg/modeling/modeling.go#L165

so I guess the bug you pointed out may have been fixed.

so which version i should use? becase the karmada-controller-manager throw another bug in v1.9.0.

XiShanYongYe-Chang commented 2 weeks ago

so which version i should use?

I recommend using the new version of the tutorial. The community currently maintains only the three most recent versions.

becase the karmada-controller-manager throw another bug in v1.9.0.

What bug do you encounter?

chaunceyjiang commented 2 weeks ago

This issue has been fixed in the latest version.

RainbowMango commented 2 weeks ago

PS: This issue has been fixed in release 1.7, by #3950.

Karmada version: v1.4.2

@SZT0728 are you still using v1.4?