cri-o: Installing cri-o on Fedora 30 based on documentation fails

Description

The page https://cri-o.io/ says

Fedora: Available on all supported Fedora versions 28, 29 and Rawhide. dnf install cri-o

The page https://github.com/cri-o/cri-o/blob/master/README.md says

Fedora, CentOS, RHEL, and related distributions: sudo yum install crio

However, on Fedora 30 and rawhide, module needs to be installed first, to be able to get cri-o.

Steps to reproduce the issue:

  1. on Fedora 30, run dnf install -y cri-o

Describe the results you received:

Fedora Modular 30 - x86_64                      3.0 MB/s | 2.7 MB     00:00    
Fedora Modular 30 - x86_64 - Updates            3.6 MB/s | 2.4 MB     00:00    
Fedora 30 - x86_64 - Updates                     13 MB/s |  19 MB     00:01    
Fedora 30 - x86_64                               25 MB/s |  70 MB     00:02    
No match for argument: cri-o
Error: Unable to find a match: cri-o

Describe the results you expected:

Dependencies resolved.
================================================================================
 Package                     Arch   Version                Repository      Size
================================================================================
Installing:
 cri-o                       x86_64 2:1.13.0-1.gite8a2525.module_f30+3068+5f412e7f
                                                           fedora-modular  11 M
Installing dependencies:
 container-selinux           noarch 2:2.111.0-1.fc30       updates         48 k
 containernetworking-plugins x86_64 0.8.1-1.fc30           updates         19 M
 containers-common           x86_64 1:0.1.37-2.fc30        updates         48 k
 runc                        x86_64 2:1.0.0-93.dev.gitb9b6cc6.fc30
                                                           updates        2.5 M
 selinux-policy              noarch 3.14.3-43.fc30         updates        126 k
 selinux-policy-targeted     noarch 3.14.3-43.fc30         updates         14 M
 libbsd                      x86_64 0.9.1-3.fc30           fedora         100 k
 libnet                      x86_64 1.1.6-17.fc30          fedora          61 k
 libnl3                      x86_64 3.4.0-8.fc30           fedora         286 k
 libselinux-utils            x86_64 2.9-1.fc30             fedora         147 k
 policycoreutils             x86_64 2.9-1.fc30             fedora         193 k
 protobuf-c                  x86_64 1.3.1-2.fc30           fedora          33 k
 rpm-plugin-selinux          x86_64 4.14.2.1-4.fc30.1      fedora          24 k
Installing weak dependencies:
 criu                        x86_64 3.12-11.fc30           updates        476 k

Transaction Summary
================================================================================
Install  15 Packages

Total download size: 49 M
Installed size: 186 M
Is this ok [y/N]:

Additional information you deem important (e.g. issue happens only occasionally):

The https://cri-o.io/ mentions Fedora 28 as supported but it was EOL’d, so it really shouldn’t be listed as supported. On the other hand, Fedora 30 was released, so that one should have supported steps for installing CRI-O.

This was initially reported as https://bugzilla.redhat.com/show_bug.cgi?id=1710958 and the necessary step seems to be dnf module install cri-o:1.13. It seems that dnf module install cri-o:1.14 works too.

Output of crio --version:

crio version 1.13.0

Additional environment details (AWS, VirtualBox, physical, etc.):

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 24 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Thank you.

@dougsland, on Fedora 32, the steps from https://cri-o.io/ fail with

Error: Problems in request:
missing groups or modules: cri-o:1.14

I see aarch64 rpms in Fedora’s koji, for example https://koji.fedoraproject.org/koji/buildinfo?buildID=1382517.