<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>A bit of an update here:</div><div><br></div><div>- We merged the patch in openstack/paunch that stop the Docker container if we try to start a Podman container.</div><div>- We switched the undercloud upgrade job to test upgrades from Docker to Podman (for now containers are stopped in Docker and then started in Podman).</div><div>- We are now looking how and where to remove the Docker containers once the upgrade finished. For that work, I started with the Undercloud and patched tripleoclient to run the post_upgrade_tasks which to me is a good candidate to run docker rm.</div><div><br></div><div>Please look:</div><div>- tripleoclient / run post_upgrade_tasks when upgrading standalone/undercloud: <a href="https://review.openstack.org/614349">https://review.openstack.org/614349</a></div><div>- THT: prototype on how we would remove the Docker containers: <a href="https://review.openstack.org/611092">https://review.openstack.org/611092</a></div><div><br></div><div>Note: for now we assume that Docker is still available on the host after the upgrade as we are testing things under centos7. I'm aware that this assumption can change in the future but we'll probably re-iterate.</div><div><br></div><div>What I need from the upgrade team is feedback on this workflow, and see if we can re-use these bits originally tested on Undercloud / Standalone, for the Overcloud as well.</div><div><br></div><div>Thanks for the feedback,<br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 19, 2018 at 8:00 AM Emilien Macchi <<a href="mailto:emilien@redhat.com">emilien@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On Fri, Oct 19, 2018 at 4:24 AM Giulio Fidente <<a href="mailto:gfidente@redhat.com" target="_blank">gfidente@redhat.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1) create the podman systemd unit<br>
2) delete the docker container<br></blockquote><div><br></div><div>We finally went with "stop the docker container"</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3) start the podman container<br></blockquote><div><br></div><div>and 4) delete the docker container later in THT upgrade_tasks.</div><div><br></div><div>And yes +1 to do the same in ceph-ansible if possible.</div></div>-- <br><div dir="ltr" class="m_8173163130855503466gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div>