<div dir="ltr"><div dir="ltr">On Mon, Sep 16, 2019 at 7:22 AM Rabi Mishra <<a href="mailto:ramishra@redhat.com">ramishra@redhat.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Why not use ansible podman/docker modules (though I don't know how good they are atm) directly form ansible tasks?</div></div></blockquote><div><br></div><div>Paunch is a tool for defining and running TripleO containers.
Paunch consumes JSON files to configure the containers and the Paunch runs makes the abstraction between the stable configuration into the container api (compose or podman for now).</div><div>There is quite a bunch of logic in Paunch that, imho would make take some time to convert to Ansible playbooks/modules, specially around resiliency.</div><div>Not saying it's impossible, but I would rather be interested in having TripleO generating the container config, and the container tool consuming it and directly managing the containers without something like Paunch.</div><div>This doesn't exist with Podman as far as I know.</div><div>We have investigated the usage of Kubelet running on localhost, where TripleO would generate yaml files working with k8s API, it worked ok'ish for our containers but the major issue we encountered is that this solution isn't supported by Red Hat.</div><div>So... it seems like we still need something like Paunch for now, and we can maybe investigate making the podman-ansible module more robust to sustain our needs in TripleO<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Also, why deprecate the cli? As many others mentioned, lot of us use it for debugging.</div></div></blockquote><div><br></div><div>Based on the answers so far, it's pretty clear we won't touch this command. <br></div></div><div>As for the "paunch apply", we'll see, if the Ansible replacement works for everyone, then we might deprecate it in Paunch but not the debug command for sure.</div><div><br></div><div>Thanks,<br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div></div></div>