I am trying to create a Kubernetes cluster using cri-o as the container runtime but have been unable to get cri-o installed through the module repos. This has worked for me before, so I am not sure what I may be missing to get it installed.
I’ve created a file named cri-o.module in the /etc/dnf/modules.d directory with the following:
[cri-o] name=cri-o stream=1.20 profiles= state=enabled
I then ran the following:
sudo rpm-ostree install crio -n
This is the output:
checking out tree a44c3b4... done Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora fedora-modular updates-modular updates-archive Importing rpm-md... done rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2021-02-23T00:49:00Z solvables: 4 rpm-md repo 'updates' (cached); generated: 2021-10-21T16:44:55Z solvables: 28671 rpm-md repo 'fedora' (cached); generated: 2021-04-23T10:47:57Z solvables: 63586 rpm-md repo 'fedora-modular' (cached); generated: 2021-04-23T10:25:38Z solvables: 2050 rpm-md repo 'updates-modular' (cached); generated: 2021-10-21T17:35:01Z solvables: 2193 rpm-md repo 'updates-archive' (cached); generated: 2021-10-21T17:21:08Z solvables: 39940 error: Packages not found: crio
I have tried different versions of cri-o (1.19, 1.18 etc.) but get always get the same error. I do see the package in the modular repo, but for some reason rpm-ostree does not. I’m fairly new to FCOS and to rpm-ostree in general, but as I mentioned, this has worked for me in the past.
What am I missing?