-
Notifications
You must be signed in to change notification settings - Fork 374
Kata 1.5.0 Installation and documentation errors #1184
Comments
Shim is not updated Package: kata-containers-image Package: kata-ksm-throttler Package: kata-linux-container Package: kata-linux-container-debug Package: kata-proxy Package: kata-runtime Package: kata-shim |
I think I saw something similar on Friday around the 'held broken packages', but thought it was just my system as I'd not updated packages for many many months... |
Hi @fredbcode - thanks for reporting. What happens if you explicitly run: $ sudo apt -y install kata-runtime kata-shim I didn't see this problem locally but I tend to /cc @jcvenegas. @egernst, @chavafg, @marcov - We really need to look at kata-containers/ci#10 since this issue would have been caught. |
Same error, anyway it can't works because shim still in 1.4.0 in mirror
|
Sounds like you hit a bad OBS mirror maybe as...
Both have |
There is something wrong here : https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_18.04/ |
@fredbcode - yes, you are using the wrong repo I'm afraid - if you look at the doc below for example: ... you'll see that the URL is releases, not release. The new URL also includes the architecture as we plan to offer packages for other architectures. If I was you, I would:
|
I found this mirror from previous documentation. Now the installation link is also broken (as 1.5.0) https://github.com/kata-containers/runtime/blob/1.3.0-rc1/installation |
@jcvenegas, @marcov - can we just delete https://download.opensuse.org/repositories/home:/katacontainers:/release/ ? I'm not clear how it is being maintained but the problem @fredbcode is reporting makes it seem like OBS is copying the files from https://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/master/xUbuntu_18.04/amd64/ to https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_18.04/. But in this case, the copy seems to have failed? |
@fredbcode - I'm confused - the link you've provided above in invalid but where is that being used? It's also clearly for an older version of Kata, so...? |
Thank you, I guess the old mirror should be removed (at least not with old and new packages) |
From https://github.com/kata-containers/runtime/releases at the end (Installation) the links are wrong (404) for 1.5.0 or 1.3.0 |
Thanks @fredbcode - I've raised an issue to resolve that: |
Ok installation fixed for me now, but still this issue can be very dangerous for production server with an old source list (a 404 must be better than an incomplete packages installation) |
Agreed. I think we need to either remove that URL entirely ("forcing function" to make people upgrade :), or sym-link https://download.opensuse.org/repositories/home:/katacontainers:/release/xUbuntu_18.04 to https://download.opensuse.org/repositories/home:/katacontainers:/releases:/x86_64:/master/xUbuntu_18.04 if that sort of thing is possible with OBS. If so, this should be a reasonable thing to do given that initially we only provided amd64 binaries. |
The problem here is that shim wasn't building in home:katacontainers:release for any of the distributions, probably because of an hiccup. As a consequence the kata-shim package left to download was the last one that built successfully, 1.4.0 I retriggered a build of shim, and it built successfully for all distros but Ubuntu 16.04.
@jcvenegas any reasons to keep this subproject around?
@jodh-intel Kind of. It's not possible to symlink but it's possible to use
Agree and, for packages installation testing, building from a Dockerfile containing installation instructions would be enough.
This subproject is updated from time to time by @jcvenegas.
Nope, as I explained above it was a build failure. |
@jcvenegas @jodh-intel @mssola, @flavio
(which has been throwing me somewhat sideways whilst trying to reproduce and analyse kata-containers/ci#102) |
We should be using " The old "
|
As for wtf is going on wrt timestamps and contents, @jcvenegas and @marcov can comment 😄 |
If we should be using
Does that, and all of its cousins, need updating? |
@grahamwhaley - I think "release" and "releases" are supposed to be in sync, to ensure users of the old URL continue to get a good experience. But that premise failed recently as shown above. Once fixed, we're back to working, but I still think we should delete " /cc @chavafg, @GabyCT, @jcvenegas. |
about the
Given all the confusion arised, I'd propose to either kill |
|
Or even better let our scripts use static binaries. |
@fredbcode @jodh-intel are we missing something else? Docs ,release notes scripts, and CI updated. |
@jcvenegas - I think the only outstanding issue is to delete the old "release" URL? |
Yes I agree, remove this URL is most "secure" for users, I broken a test machine with partial packages |
Documentation about installation is missing
https://github.com/kata-containers/runtime/blob/1.5.0/installation link from https://github.com/kata-containers/runtime/releases
And Ubuntu package is broken
apt-update
apt-get install kata-runtime
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kata-runtime : Depends: kata-shim (>= 1.5.0+git.efbf3bb-42) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The text was updated successfully, but these errors were encountered: