On 2021-01-25 15:24, Matt Heon wrote:
On 2021-01-25 01:01, Marcin Zajączkowski wrote:
> Hi. I wonder, if there is any migration guide from 2.0 to 3.0 available?
> I would like to know if there are any "common steps" that should be
> performed when upgrading Podman (but I couldn't find any and the release
> notes are quite extensive).
>
> I've just upgraded from 2.2.1 to 3.0.0-0.1.rc1.fc33 and only restarted
> the pod with the Podman new version. It's a simple pod with just one
> service container exposing two ports, running in the roolless mode. It
> started correctly, but after while, I've noticed that the ports are not
> exposed at all. I recreated the pod and the container with the new
> Podman (mounting the same local/host directory) and it works fine.
>
> However, I wonder, if it is needed to recreate pod/container after the
> 2.x to 3.x migration?
>
That should not be required. This sounds like a bug - please file it
on Github, and the dev team will take a look at fixing it before 3.0
final is released.
I tried to reproduce that problem on some other Fedora 33 machine and it
just worked. Maybe I did some extra configuration steps in Autumnwith
the original pod which caused that problem on restart after migration or
there were some unrelated aspects that caused the ports to be not
visible. As a result, it seems to work in general, so let's leave it as
is, unless someone else encounter the same behavior (with a way to
reproduce it).
Marcin
Thanks,
Matt Heon
> I might provide commands used to create the oroginal pod/container, if
> needed.
>
> Marcin
--
https://blog.solidsoft.pl/ - Working code is not enough