-
Notifications
You must be signed in to change notification settings - Fork 37
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
Template for v1.27 is broken #325
Comments
is this still an issue @vdombrovski ? cc @g-gaston @hrak @shwstppr |
Hello @rohityadavcloud , sorry for late reply. We have tested the 1.27 template: http://packages.shapeblue.com/cluster-api-provider-cloudstack/images/kvm/ubuntu-2004-kube-v1.27.2-kvm.qcow2.bz2 Now, it doesn't even start, the kubelet service fails because /var/lib/kubelet directory doesn't exist:
|
Hello @rohityadavcloud, my last comment was incorrect, here is the actual input: As a matter of fact, gcr.k8s.io is deprecated. The correct repo to be used is now: registry.k8s.io Example: registry.k8s.io/kube-apiserver:v1.27.8 |
@weizhouapache I think the image is not up to date or something
Says here "Last Modified 12 Oct 2023". Is there another image version maybe? |
@vdombrovski |
Hello @weizhouapache, okay but it doesn't really work (nor did the image from the time this issue was created). Is there something I'm missing here? Is there another image that includes the fix that we can test? |
@vdombrovski it works fine in my testing |
@weizhouapache what version of the CAPC provider are you using? 0.4.9 or 0.4.8? |
@vdombrovski After installing the calico plugin, it looks fine
|
@vdombrovski |
We are using the 1.23.3 image, it launches successfully. This morning, I went through the 0.4.9 release notes, and saw this: The issue is not in the template, but in the infrastructure components. We are upgrading our instance to 0.4.9 as we speak, I will test the 1.27 template once again; pretty sure this is what is causing the issue here. |
I agree with you. I faced a similar issue last year in e2e test, you may refer to #243 |
Thank you @weizhouapache, using the provided e2e tests I finally managed to figure out what was wrong with this. The issue was definitely on our side; not sure how we didn't notice it before. For posterity, here is a quick explanation: The repository configuration is in KubeadmControlPlane:
After you do a clusterctl generate, make sure that are using the correct repo: registry.k8s.io. Set it before applying if it's not the case. Afaik:
Closing this issue, again, thank you for your help |
/kind bug
What steps did you take and what happened:
Tried deploying using the 1.27 template.
Le control plane init was stuck on fetching the following image and would not reconcile:
k8s.gcr.io/coredns:v1.10.1
Further analysis releals that coredns image has been moved to
k8s.gcr.io/coredns/coredns:v1.10.1
See: https://console.cloud.google.com/gcr/images/k8s-artifacts-prod/eu/coredns/coredns
What did you expect to happen:
Deployment succeeds
Environment:
kubectl version
): 1.27/etc/os-release
):The text was updated successfully, but these errors were encountered: