podman: "Could not get runtime: unknown event logger type" on Fedora 31 Beta Silverblue
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Various podman commands fails with Error: could not get runtime: unknown event logger type: on Fedora 31 Beta Silverblue
Steps to reproduce the issue:
podman ps
Describe the results you received:
Error: could not get runtime: unknown event logger type:
Describe the results you expected: List of containers
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Error: could not get runtime: unknown event logger type:
but output of podman --version:
podman version 1.6.1
Output of podman info --debug:
Error: could not get runtime: unknown event logger type:
Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.6.1-2.fc31.x86_64
Additional environment details (AWS, VirtualBox, physical, etc.): Physical machine
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 9
- Comments: 27 (12 by maintainers)
At this point, I would recommend removing
$HOME/.config/containers/libpod.confentirely, so Podman will automatically re-generate it from the root defaults - that should get you a working system.@rhatdan FYI - it looks like the migration code ran, but he doesn’t have the new runtime paths sections (older Podman generated this config), so the migration to
crunfailed.Still had this issue in Podman v1.6.2 and needed to delete libpod.conf 😕
1.6.2 should now be in the Fedora 31 repos. I believe it will be available in the default install, and will not require a day 1 upgrade.
For folks finding this from a search engine, if you encounter difficulty launching containers after an upgrade to F31, we recommend the following:
podman system migrate --runtime crunto convert them to work on Fedora 31. There is, however, a chance that some containers will not work after the migration.$HOME/.config/containers/libpod.conf(assuming you have not modified your copy). Podman will regenerate the configuration file with sane defaults for F31.Closing this as such. Feel free to open new issues with any further migration difficulties that appear.
We’re planning a new Podman release with solutions to most migration issues. Hopefully these issues are serious enough for a freeze exception and we’ll be able to get it into the F31 final compose. If not, it’ll be a very early update.
On Wed, Oct 16, 2019, 03:40 Zlopez notifications@github.com wrote:
Same issues here even after all workarounds in this thread. I don’t want to add fuel to the fire here but if Podman is going to snuff out Docker, it’s clearly not ready yet and maybe the crippling cgroup changes need to go back into Beta (or Rawhide) until it is. OpenShift? Broke. Containers? Broke. This not a good strategy.
Workaround In the end, I needed to default back to Docker by adding
systemd.unified_cgroup_hierarchy=0kernel param. In fact grubby is also broken now so I needed to manually add it in/etc/default/grubandgrub2-mkconfig -o /boot/grub2/grub.cfgand reboot. Then docker (now moby v18) works again and so does OpenShift / origin.I have a similar issue in Fedora 31, where podman is working under root but as user I receive the following error:
‘’’ Error: could not get runtime: unknown event logger type: ‘’’
I ran the command to migrate to the new runtime but the problem persists. Also, there is no libpod.conf.
F31 upgrade, podman v1.6.2,
libpod.confremoved, runningrootless, and now trying to start a previously stopped container:Inspecting:
This was working on F30.
Same issue here, happened after upgrade from FC30 Workstation (dnf based) to FC31 Workstation (dnf based). After removing $HOME/.config/containers/libpod.conf entirely, i can run
podman version, but cannot start any of my old pet containers (e.g. toolbox) and have to remove and recreate them.I tried to add the two lines and got this