-
Notifications
You must be signed in to change notification settings - Fork 502
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 installing from official repos onto Ubuntu #3219
Comments
This issue is currently awaiting triage. SIG Docs takes a lead on issue triage for this website, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks for reporting this /sig release |
@ganeshgunasekaran, what happens when you run this: The error output, if there is one, might help you understand what to fix. |
Thanks a lot for picking up this issue. @sftim . ubuntu1@ubuntu1:
HTTP/2 403
|
Looks like the docs are correct. /transfer kubernetes |
/retitle Error (403 Forbidden) installing from official repos onto Ubuntu |
@ganeshgunasekaran what happens when you run this exact command: ? |
Hi @sftim ,
<
< Archive: deb iQEVAwUBZNuwXiNGVNqaKWQ2AQiSRQf/V/9DWBbLR54XkMrtohORmPmrVdcBRTlS
|
/retitle Error installing from official repos onto Ubuntu Feels like a support query; I'm not sure (for now) |
/retitle Error installing from official repos onto Ubuntu |
/transfer release |
/triage accepted |
For what it's worth, I'm also observing the "Access Denied" issue above. I'm not very familiar with how an APT repo is supposed to work, but most of the ones I have used allow browsing available packages (e.g. https://apt.kubernetes.io/). |
@dominic-p What cloud provider or infrastructure are you using? For example, AWS tends to block access from some Hetzner IP addresses and we're aware of that, but there's nothing that we can do about that. Speaking of browsing the repo, this is not supported via |
Thanks for the quick reply. That is very interesting as I am using Hetzner, and I've been struggling with network issues in a lot of areas. I assumed it was a misconfiguration on my end, but maybe my IPs are blacklisted. Just so I'm clear, it is expected behavior to get "Access Denied" when visiting https://pkgs.k8s.io/core:/stable:/v1.28/deb/ correct? I originally came here because after switching from the Google repos to the community ones, my Hetzner load balancers no longer get any targets. The exact same config/version works when I install from the Google repos. I can open an issue on Hetzner's CCM, but I thought I would check here first. Are there any differences in the actual packages between the Google repos and the community ones? |
Yes, it's expected. We don't have a file browser at
There should be no major differences. For both the Google repos and the community repos, we use the same binaries (e.g. |
Thanks for the confirmation. Yes, the kubelet is running. I checked the logs, and I didn't see anything that looked out of the ordinary. It seems to have trouble connecting to the CRI-O unix socket for a bit at startup and then everything looks good. I'll take a look at the .deb files from each repo to see if I can see any differences. |
@dominic-p Sounds good and please let us know if you find any difference. We tried our best to match these debs, and if there's any difference, it would be good to address it if it's possible. |
Ok, I downloaded 1.28 kubelet debs from both the google repo and the community repo just now using a fresh Debian v12 container running on my cluster. I haven't looked deeply into the packages yet, but there are definitely some differences in the packages I downloaded.
Here are the steps I did to get the debs: Community
|
@dominic-p The new packages have additional files that we didn't have in packages published to the legacy Google-hosted repositories. It's important that we don't have missing files, i.e. that we installed some file with old packages, but that we don't do it with new packages. |
Thanks for the explanation there. Ok, I think I was able to find the issue. The Hetzner CCM currently requires I guess that makes this a bug with my particular configuration (I've already worked around it), but it is strange to me that the env variable is set in the new deb package when it wasn't before. |
There's another report relevant to |
Hi Team, I am experiencing a similar issue. I've run the same commands that OP has run. However, i get NO_PUBKEY issue. However, i still get the same error upon running Please let me know if there is anything else i can try. Thanks, |
I'm seeing this 403 response both from within AWS on EC2 instances and from my own system at home on a standard cable ISP. Same error from CloudFront. I can see it's just CloudFront -> S3. Consider checking your bucket policy, and remember that S3 returns HTTP 403 not just for access denied, but also when it would return HTTP 404. It does this on purpose so that unauthenticated users cannot use return codes to tell what files exist in the bucket. If you are looking for a permissions/policy problem, but it is actually a pathing problem, this behavior will conceal it. Given the above... it seems the entire problem is this:
|
@AnirudhPanchangam @nethershaw At this time, please use the official instructions for adding the repository (e.g. https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#installing-kubeadm-kubelet-and-kubectl). |
Are you running Ubuntu 20.04 by chance? I had to run these commands and now the NO_PUBKEY issue went away:
A failure like "can't read signed-by key" or something would have been more helpful, apt. |
Hey folks! This issue now contains multiple distinct issues:
Given that this issue contains multiple different reports and is hard to navigate, I'll go ahead and lock it. If you run into any issue and it's not already covered by this issue/comment, please create a new issue in this repository. |
Hi,
I am tried installing the kubeadm in Ubuntu 22.4 LTS following the instructions given in the page https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/
I was able follow the steps and successfully installed Containerd .
The commands worked fine till Installing kubeadm -> Debian-based distributions -> Add the appropriate Kubernetes apt repository
The next step showed error while running "sudo apt-get update"
Please find the command outputs attached as screenshots Step 1-2 and step 3-4.
This if my first issue. Please correct me if I have should have done something else.
The text was updated successfully, but these errors were encountered: