-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Could not get runtime: unknown event logger type" on Fedora 31 Beta Silverblue #4210
Comments
Running as root, or rootless? Can you provide your |
I'm running rootless podman, here is the
|
Your config seems to be missing two fields that I have related to events.
Try adding those to the end your your user's |
I tried to add the two lines and got this
|
Ahh - they're already in there, between You can remove the new ones you added and just modify the existing ones - |
Added
|
At this point, I would recommend removing @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 |
@mheon This did the trick, thanks. |
Same issue here, happened after upgrade from FC30 Workstation (dnf based) to FC31 Workstation (dnf based). |
@GoodMirek There was some regression in podman (containers/toolbox#277) which unfortunately prevented |
@Zlopez Thanks for your very fast response. Actually, I had to remove all my old pet containers, not only |
@GoodMirek I absolutely agree with you. There are two issues that will be unfortunate for any user upgrading to F31. This one, where you need to regenerate |
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 ***@***.***> wrote:
@GoodMirek <https://github.com/GoodMirek> I absolutely agree with you.
There are two issues that will be unfortunate for any user upgrading to
F31. This one, where you need to regenerate
$HOME/.config/containers/libpod.conf and the regression in podman create
which will prevent you to use any previously created container. I
personally thought that this was solved together with
containers/toolbox#277 <containers/toolbox#277>,
but it seems that this affects every user who does update from F30 to F31.
I'm not sure if there is time to actually do anything about it when the
release of F31 is closing up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4210>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB3AOCBTOPME6BIGRUXVQ7LQO3ANRANCNFSM4I6BMWYA>
.
|
On a different instance (FC31 Silverblue Kinoite), after deleting $HOME/.config/containers/libpod.conf , I get the following error now:
Error message has been truncated - other containers followed with the same error. |
That is fixed in 1.6.2 |
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:
Closing this as such. Feel free to open new issues with any further migration difficulties that appear. |
Still had this issue in Podman v1.6.2 and needed to delete libpod.conf :/ |
F31 upgrade, podman v1.6.2,
Inspecting:
This was working on F30. |
Can you check in inspect if the container's runtime is set to |
I have a similar issue in Fedora 31, where podman is working under root but as user I receive the following error: ''' I ran the command to migrate to the new runtime but the problem persists. Also, there is no libpod.conf. |
I couldn't get the migrate to do it. It simply ignored the migrate. Eventually I had to recreate the container. |
@orpheusgame You almost certainly have a |
@mheon yes turns out there was one in the location you mentioned from fedora 30 (i upgraded yesterday). i removed it and podman regenerated one on its own. now everything is fine, no sudoers group required. good stuff. |
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 |
That doesn't sound like any of the issues I've seen in this thread. A reproducer or bug would be greatly appreciated - we can only fix things when they're reported. |
Also, for reference, the migration issue originally referenced here ("unknown event logger type") should be fixed in the upcoming Podman 1.7.0. Existing installations that used the old migration code will still need to manually remove libpod.conf, but new installations should not see this problem. |
In the process, make everything in the config omitempty in TOML. We're seeing issues (notably [1]) where, after rewriting libpod.conf, fields that were not previously populated are written - and, because they were not previously written, they are included as empty. This is unfortunately different from not included at all - it means that we need to assume the user explicitly unset the value, and we can't use defaults. Setting omitempty prevents us from writing things that should not be written as they were not set originally. [1] containers#4210 Signed-off-by: Matthew Heon <[email protected]>
Docker and Kubernetes was blocking the move to cgroup V2 for many years. The move to Cgroup V2 was to spur these upstreams to move, and if you follow what is going on in Kubernetes and runc world, this is happening. I do not believe these projects would have moved to V2 unless a distro started defaulting to V2, and Fedora is supposed to be the leader in new technology. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
Various
podman
commands fails withError: could not get runtime: unknown event logger type:
on Fedora 31 Beta SilverblueSteps 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
:but output of
podman --version
:podman version 1.6.1
Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
Physical machine
The text was updated successfully, but these errors were encountered: