-
Notifications
You must be signed in to change notification settings - Fork 402
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
Install Kubernetes artifacts from pkgs.k8s.io #1280
Conversation
b70191f
to
e68d20a
Compare
e68d20a
to
33c3151
Compare
33c3151
to
5761d5e
Compare
/retitle [WIP] Install Kubernetes artifacts from pkgs.k8s.io |
/test pull-azure-sigs |
Photon is failing, but I'm not sure what to make of the error.
|
Could it be a flake? Not sure why it'd be getting a 403 😕 /retest |
I guess not 🤔 I did find this issue but no solution: kubernetes/release#3219 |
I'm able to get the same error when running |
Thanks @AverageMarcus–I agree that #3219 looks @kubernetes-sigs/cluster-api-provider-vsphere-maintainers this PR is currently stuck on the VSphere Photon builds. Just FYI, and in case any of you have ideas for a workaround. |
@mboersma Sorry about that, thx for the mention. @chrischdi Do you have some time to investigate? Could it potentially be related to your recent PR? #1288 |
As another data point, the Mariner Linux build for Azure seems to work fine with the new The fact that the error is 403 makes me think similarly to @AverageMarcus:
|
/assign @kkeshavamurthy |
I tried to reproduce it and I am able to reproduce it locally: docker run -ti --rm photon:latest Inside the container cat << EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=kubernetes
description=the kubernetes yum repo
baseurl=https://pkgs.k8s.io/core:/stable:/v1.26/rpm/
gpgcheck=True
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.26/rpm/repodata/repomd.xml.key
enabled=1
EOF
tdnf install kubelet-1.26.7 --nogpgcheck -y Output:
|
I debugged it using mitmdump. The reason for getting It is reproducible using curl and setting the user agent to empty: curl -L -H 'User-Agent:' https://pkgs.k8s.io/core:/stable:/v1.26/rpm/repodata/repomd.xml
|
Oh nice work @chrischdi! Are we able to configure tdnf to provide a user-agent? EDIT: Just seen your issue (vmware/tdnf#451) where you state no flag to configure it. Should we also raise this as an issue upstream? Would be good if others didn't have to work around this too. |
I've opened an issue upstream - kubernetes/release#3261 I've included the reproducible steps from this issue, thanks Christian! |
Awesome, thank you @AverageMarcus ! |
Hopefully it's just a checkbox or something that can be toggled in CloudFront to fix it 🤞 😅 |
Seems to be configured on puprose/default at AWS WAF. (via https://kubernetes.slack.com/archives/C03U7N0VCGK/p1694194051373989 ) |
/test pull-ova-all pkgs.k8s.io should now allow empty user agents. |
Upstream fix for reference: kubernetes/k8s.io#5823 |
🎉 Proton now passing! 😁 @mboersma Anything outstanding on this PR? Can the |
Nice, thx folks for working on this! |
/retitle Install Kubernetes artifacts from pkgs.k8s.io Thanks so much @chrischdi and @sbueringer and @AverageMarcus! I think this is ready for review then. |
/approve 🎉 Nice work! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AverageMarcus The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Oh, needs LGTM too /lgtm |
🤦 Accidentally clicked the wrong button. Sorry about that, need to wait for the tests again 😞 |
See See kubernetes-sigs/image-builder#1280 and https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/ Signed-off-by: Roman Hros <[email protected]>
See kubernetes-sigs/image-builder#1280 and https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/ Signed-off-by: Roman Hros <[email protected]>
See kubernetes-sigs/image-builder#1280 and https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/ Signed-off-by: Roman Hros <[email protected]>
What this PR does / why we need it:
Updates image-builder to use
pkgs.k8s.io
for Kubernetes artifacts, according to this guidance: https://kubernetes.io/blog/2023/08/15/pkgs-k8s-io-introduction/Which issue(s) this PR fixes:
Fixes #1278
Additional context