Comments (8)
What version are you using?
from aws-minikube.
I was using 1.11.4
(we're still on 1.17), but I confirmed the same happens with 1.13.4
just before opening the issue.
from aws-minikube.
Seems like someone just posted something very similar to this a few minutes ago here: kubernetes/kubernetes#60134 (comment)
from aws-minikube.
I just did 1.13.5 with some fixes I committed this week but did not released. I think that might help. If it does, you should be able to take these changes
from aws-minikube.
Let me test out from master
.
Also, from this: kubernetes/kubernetes#97077
Putting the following keys in /etc/yum.repo.d/kubernetes.repo
solved the issue for me:
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
https://packages.cloud.google.com/yum/doc/apt-key.gpg
I'll still test your latest master and see how that goes, if it still gives me the same issue, I'll try back adjusting the keys. If that works for me, I'll submit a PR to this, unless there's any objections.
EDIT: Nevermind, seems like that's what you fixed in your latest commit :) Trying it out now!
from aws-minikube.
Confirmed I have the latest changes:
[centos@ip-172-31-78-107 log]$ cat /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
exclude=kubelet kubeadm kubectl
But still getting that error:
yum install -y kubelet-$KUBERNETES_VERSION kubeadm-$KUBERNETES_VERSION kubernetes-cni --disableexcludes=kubernetes
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: d36uatko69830t.cloudfront.net
* extras: d36uatko69830t.cloudfront.net
* updates: d36uatko69830t.cloudfront.net
Retrieving key from https://packages.cloud.google.com/yum/doc/yum-key.gpg
Importing GPG key 0xA7317B0F:
Userid : "Google Cloud Packages Automatic Signing Key <[email protected]>"
Fingerprint: d0bc 747f d8ca f711 7500 d6fa 3746 c208 a731 7b0f
From : https://packages.cloud.google.com/yum/doc/yum-key.gpg
Retrieving key from https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for kubernetes
Trying other mirror.
One of the configured repositories failed (Kubernetes),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=kubernetes ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable kubernetes
or
subscription-manager repos --disable=kubernetes
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=kubernetes.skip_if_unavailable=true
failure: repodata/repomd.xml from kubernetes: [Errno 256] No more mirrors to try.
https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for kubernetes
from aws-minikube.
So is https://packages.cloud.google.com/yum/doc/apt-key.gpg
what we are missing? If you can give it a try and open a PR I can merge it
from aws-minikube.
Just tried a fresh deployment with 1.13.5
to be sure, still getting the same error.
Tried to append the key at the and got the same error :/
https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno -1] Gpg Keys not imported, cannot verify repomd.xml for repo kubernetes
Trying other mirror.
I must of trimmed repo_gpgkey=1
out by accident when trying it earlier.
from aws-minikube.
Related Issues (14)
- Can't access the EC2 instance HOT 12
- No nodes when running kubectl get nodes HOT 5
- Can't Connect HOT 3
- How kubectl proxy connected to aws? HOT 1
- Cannot connect to kubectl proxy HOT 3
- Confused, is this Minikube or just a single node Kubernetes? HOT 2
- Initializing modules... - minikube in Error: Unreadable module directory HOT 10
- not authorized to perform: iam:CreateServiceLinkedRole
- Can I use kubectl from my host? HOT 6
- Consider using Cloudformation in addition to Terraform HOT 3
- Specify custom AMI? HOT 3
- Cannot locate private key after running terraform apply HOT 2
- Issues with DNS in kubernetes HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-minikube.