release: Kubernetes YUM repository for ARM arch, doesn't list any package

I’m not sure this is the correct place for this issue.

Kubernetes have an arm repository available on https://packages.cloud.google.com/yum/repos/kubernetes-el7-armhfp.

Not sure why, but adding this repository to my arm board (hardkernel odroid XU4), it doesn’t list any package as available. Tried to disable the gpgchecks as well, but no success.

Checking the repodata xml files, it list arch as armhfp, however centos altarch repository, lists arch as armv7hl. Probably this needs to be changed to armv7hl.

# cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core) 

# uname -a
Linux odroid01 4.14.5-92 #1 SMP PREEMPT Mon Dec 11 15:48:15 UTC 2017 armv7l armv7l armv7l GNU/Linux

# cat /etc/yum.repos.d/kubernetes.repo 
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-armhfp
enabled=1
gpgcheck=0
repo_gpgcheck=0
#gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg

# yum list available --disablerepo=* --enablerepo=kubernetes
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
# 

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 40 (14 by maintainers)

Most upvoted comments

I am getting the same issue.

Environment:

  • Hardware configuration: Raspberry Pi 4 Model B Rev 1.1
  • OS: CentOS Linux 7
  • Kernel: Linux rpi4 5.4.28-v7l.1.el7

Repo file:

[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-armhfp
enabled=1
gpgcheck=0
repo_gpgcheck=0
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg

I have had to put gpcheck=0 and repo_gpgcheck=0 otherwise it failed.

Error message: [Errno -1] repomd.xml signature could not be verified for kubernetes.

List all available packets:

Command:

[rpi4 ~]# yum list -y --disablerepo="*" --enablerepo="kubernetes" available
Complementos cargados:fastestmirror
Loading mirror speeds from cached hostfile

This appears to be the only place on the indexed web serving these packages today https://mirrors.aliyun.com/kubernetes/yum/repos/kubernetes-el7-armhfp/Packages/.

Thanks @trunet for the workaround. For me this affects the ARM build of Centos7 on the Rpi 4B

Installing manually:

# rpm -ivh fab1bd126345c125426a400ac78bf9496c704c32e09709a04f45c8e8b0276fcb-kubelet-1.9.3-0.armhfp.rpm 5ff0a79eb4802523f25b585f569cab6076cb4ef3662a62a0b0c93a07dbae3a5e-kubernetes-cni-0.6.0-0.armhfp.rpm
warning: fab1bd126345c125426a400ac78bf9496c704c32e09709a04f45c8e8b0276fcb-kubelet-1.9.3-0.armhfp.rpm: Header V4 RSA/SHA1 Signature, key ID 3e1ba8d5: NOKEY
Preparing...                          ################################# [100%]
	package kubernetes-cni-0.6.0-0.armhfp is intended for a different architecture
	package kubelet-1.9.3-0.armhfp is intended for a different architecture

# rpm -ivh --ignorearch fab1bd126345c125426a400ac78bf9496c704c32e09709a04f45c8e8b0276fcb-kubelet-1.9.3-0.armhfp.rpm 5ff0a79eb4802523f25b585f569cab6076cb4ef3662a62a0b0c93a07dbae3a5e-kubernetes-cni-0.6.0-0.armhfp.rpm
warning: fab1bd126345c125426a400ac78bf9496c704c32e09709a04f45c8e8b0276fcb-kubelet-1.9.3-0.armhfp.rpm: Header V4 RSA/SHA1 Signature, key ID 3e1ba8d5: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:kubernetes-cni-0.6.0-0           ################################# [ 50%]
   2:kubelet-1.9.3-0                  ################################# [100%]

After installing with --ignorearch, it works just fine.