Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

A problem about yum when install the kata #206

Closed
yuzhongwei opened this issue Aug 2, 2018 · 8 comments
Closed

A problem about yum when install the kata #206

yuzhongwei opened this issue Aug 2, 2018 · 8 comments

Comments

@yuzhongwei
Copy link

Just install the Kata step by step with the documentation,but when operate the command 'sudo -E yum -y install kata-runtime kata-proxy kata-shim' , the centos is always changing the yum mirrors ,and can‘t
install.

@jodh-intel
Copy link
Contributor

Hi @yuzhongwei - thanks for raising!

Couldy you paste the messages / errors you are seeing?

I suspect this might be a problem with OBS we have been suffering from recently.

/cc @chavafg.

@chavafg
Copy link
Contributor

chavafg commented Aug 2, 2018

Yes, I think this could be related to the OBS services being too slow. @jcvenegas do you know if somehow we can report these issues?

@jodh-intel
Copy link
Contributor

Potentially related: kata-containers/kata-containers#26.

@yuzhongwei
Copy link
Author

yuzhongwei commented Aug 3, 2018

sorry for my late reply,@ @jodh-intel the messages i see as follow:
Downloading packages:
No Presto metadata available for home_katacontainers_release
kata-ksm-throttler-1.1.0.git+1 FAILED
http://download.opensuse.org/repositories/home%3A/katacontainers%3A/release/CentOS_7/x86_64/kata-ksm-throttler-1.1.0.git%2B1fecaff-30.1.x86_64.rpm: [Errno 12] Timeout on http://provo-mirror.opensuse.org/repositories/home:/katacontainers:/release/CentOS_7/x86_64/kata-ksm-throttler-1.1.0.git+1fecaff-30.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
正在尝试其它镜像。
kata-containers-image-1.1.0-30 FAILED
http://download.opensuse.org/repositories/home%3A/katacontainers%3A/release/CentOS_7/x86_64/kata-containers-image-1.1.0-30.1.x86_64.rpm: [Errno 12] Timeout on http://provo-mirror.opensuse.org/repositories/home:/katacontainers:/release/CentOS_7/x86_64/kata-containers-image-1.1.0-30.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
正在尝试其它镜像。
kata-linux-container-4.14.51.1 FAILED
http://download.opensuse.org/repositories/home%3A/katacontainers%3A/release/CentOS_7/x86_64/kata-linux-container-4.14.51.1-132.1.x86_64.rpm: [Errno 12] Timeout on http://provo-mirror.opensuse.org/repositories/home:/katacontainers:/release/CentOS_7/x86_64/kata-linux-container-4.14.51.1-132.1.x86_64.rpm: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
正在尝试其它镜像。
just like this,changing mirrors ,can't install.at last:
Error downloading packages:
qemu-vanilla-data-2.11+git.e3050471ff-42.1.x86_64: [Errno 256] No more mirrors to try.
kata-ksm-throttler-1.1.0.git+1fecaff-30.1.x86_64: [Errno 256] No more mirrors to try.
kata-linux-container-4.14.51.1-132.1.x86_64: [Errno 256] No more mirrors to try.
qemu-vanilla-bin-2.11+git.e3050471ff-42.1.x86_64: [Errno 256] No more mirrors to try.
qemu-lite-data-2.11.0+git.6ba2bfbee9-44.1.x86_64: [Errno 256] No more mirrors to try.
kata-shim-1.1.0+git.de2d2a6-31.1.x86_64: [Errno 256] No more mirrors to try.
kata-containers-image-1.1.0-30.1.x86_64: [Errno 256] No more mirrors to try.
qemu-lite-2.11.0+git.6ba2bfbee9-44.1.x86_64: [Errno 256] No more mirrors to try.
kata-proxy-1.1.0+git.8a305e5-30.1.x86_64: [Errno 256] No more mirrors to try.
kata-proxy-bin-1.1.0+git.8a305e5-30.1.x86_64: [Errno 256] No more mirrors to try.
kata-runtime-1.1.0+git.bf1cf68-43.1.x86_64: [Errno 256] No more mirrors to try.
qemu-lite-bin-2.11.0+git.6ba2bfbee9-44.1.x86_64: [Errno 256] No more mirrors to try.
qemu-vanilla-2.11+git.e3050471ff-42.1.x86_64: [Errno 256] No more mirrors to try.
kata-shim-bin-1.1.0+git.de2d2a6-31.1.x86_64: [Errno 256] No more mirrors to try.

and I change the mirrors url as baseurl=https://download.opensuse.org/repositories/home:/katacontainers:/release/CentOS_7/
it still works as above.

@adrianschroeter
Copy link

the provo-mirror should be fixed.

@jodh-intel
Copy link
Contributor

Hi @adrianschroeter - sorry - not sure I follow completely. Is this something you can look at for us?

@adrianschroeter
Copy link

I read "Timeout on http://provo-mirror.opensuse.org/" ... this particular mirror was down, but should work fine meanwhile. Speak up if not.

@yuzhongwei
Copy link
Author

today I try again , it can work

devimc pushed a commit to devimc/kata-documentation that referenced this issue Sep 2, 2019
allow install osbuilder scripts.

Example:
make install DESTDIR=/tmp/t

export DISTRO_REPO=1                                                                                                                                         export GOPATH=~/go
export AGENT_SOURCE_BIN=/tmp/usr/bin/kata-agent

/tmp/t/usr/libexec/kata-containers/osbuilder/rootfs-builder/rootfs.sh fedora
pushd /tmp/t/usr/libexec/kata-containers/osbuilder/rootfs-builder
/tmp/t/usr/libexec/kata-containers/osbuilder/image-builder/image_builder.sh $(pwd)/rootfs-Fedora

Fixes: kata-containers#206

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
@amshinde amshinde closed this as completed Mar 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants