<div dir="ltr"><div>Hey Sorin,<div><br></div><div>I'm glad to see you are excited as we are about this effort! Since you are one of the core developers of Molecule, I was hoping to get some of your insight on the work we have started in that regard. I have a few patches up for adding in Molecule tests to tripleo-common. At a later point in time, we can discuss the transition of moving all of the Ansible content into the tripleo-ansible repository.</div><div><br></div><div><a href="https://review.opendev.org/#/c/662803/" target="_blank">https://review.opendev.org/#/c/662803/</a><br></div><div><a href="https://review.opendev.org/#/c/662577/" target="_blank">https://review.opendev.org/#/c/662577/</a><br></div><div><br></div><div>The first is to add the common files that will be used across most, if not all, of the Molecule tests in this repository. The second patch is where I actually implement Molecule tests and symlinks to those common files in the first patch. I wanted to get your thoughts on a few things.</div><div><br></div><div>1. How would we hook in the Molecule tests into tox so that it will be tested by CI? Do you have an example of this already being done? I believe from previous discussions you have already added a few Molecule tests to a TripleO repository before. Kevin also had a good ideal of creating an isolated Zuul job so that can be something we can investigate as well.</div><div>2. How should we handle the actual tests? In the second patch, I used the playbook.yaml to write the test in a playbook format (the actual test happens during the post_tasks phase). I have always done Molecule testing this way to keep things simple. However, would you recommend that we use the Python testinfra library instead to make sure that certain things exist?</div><div><br></div><div>Thanks for any input you may have!</div></div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-size:12.8px">Luke Short, RHCE</span></div><div><span style="font-size:12.8px">Software Engineer, </span><span style="font-size:12.8px">OpenStack Deployment Framework</span><div style="font-size:12.8px">Red Hat, Inc.<br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2019 at 2:29 PM Sorin Sbarnea <<a href="mailto:ssbarnea@redhat.com">ssbarnea@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">I am really happy to hear about that as this could be much more effective than having an uncontrollable number of roles scattered across lots of repositories which usually do not play very nice with each other.<div><br></div><div>I hope that testing these roles using molecule (official ansible testing platform) is also part of this plan.</div><div><br></div><div>Cheers</div><div>Sorin<br><div><br><blockquote type="cite"><div>On 3 Jun 2019, at 18:42, Kevin Carter <<a href="mailto:kecarter@redhat.com" target="_blank">kecarter@redhat.com</a>> wrote:</div><br class="gmail-m_5585681188508133858Apple-interchange-newline"><div><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="ltr"></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2019 at 12:08 PM Mohammed Naser <<a href="mailto:mnaser@vexxhost.com" target="_blank">mnaser@vexxhost.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jun 3, 2019 at 12:55 PM Kevin Carter <<a href="mailto:kecarter@redhat.com" target="_blank">kecarter@redhat.com</a>> wrote:<br>><br>> Hello Stackers,<br>><br>> I wanted to follow up on this post from last year, pick up from where it left off, and bring together a squad to get things moving.<br>><br>> ><span class="gmail-m_5585681188508133858Apple-converted-space"> </span><a href="http://lists.openstack.org/pipermail/openstack-dev/2018-August/133801.html" rel="noreferrer" target="_blank">http://lists.openstack.org/pipermail/openstack-dev/2018-August/133801.html</a><br>><br>> The effort to convert tripleo Puppet and heat templates with embedded Ansible to a more consumable set of playbooks and roles is in full effect. As we're working through this effort we believe co-locating all of the Ansible tasks/roles/libraries/plugins throughout the code base into a single purpose-built repository will assist us in streamlining and simplifying. Structurally, at this time, most of tripleo will remain the same. However, the inclusion of tripleo-Ansible will allow us to create more focused solutions which are independently testable, much easier understand, and simple to include into the current heat template deployment methodologies. While a straight port of the existing Ansible tasks will not be entirely possible, the goal of this ongoing effort will be zero impact on our existing workflow and solutions.<br>><br>> To reigniting this effort, I've put up a review to create a new "transformation" squad[0] geared toward building the structure around tripleo-ansible[1] and converting our current solutions into roles/playbooks/libraries/plugins. Initially, we'll be focused on our existing code base; however, long term, I believe it makes sense for this squad to work across projects to breakdown deployment barriers for folks using similar technologies.<br><br>+1<br><br>> We're excited to get this effort rolling again and would love to work with anyone and everyone throughout the community. If folks are interested in this effort, please let us know.<br><br>Most definitely in.  We've had great success working with the TripleO team on<br>integrating the Tempest role and on the OSA side, we'd be more than happy<br>to help try and converge our roles to maintain them together.<br></blockquote><div><br></div><div><div class="gmail_default" style="font-family:"courier new",monospace">++</div></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">If there's any meetings or anything that will be scheduled, I'd be<br>happy to attend.<br><br></blockquote><div> </div><div><span class="gmail_default" style="font-family:"courier new",monospace"></span><span style="font-family:"courier new",monospace">its still very early but I expect to begin regular meetings (even if they're just impromptu IRC conversations to begin with) to work out what needs to be done and where we can begin collaborating<span class="gmail_default" style="font-family:"courier new",monospace"><span class="gmail-m_5585681188508133858Apple-converted-space"> </span>with other folks. As soon as we have more I'll be sure to reach out here and on IRC.</span></span></div><div><span class="gmail_default" style="font-family:"courier new",monospace"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> [0] -<span class="gmail-m_5585681188508133858Apple-converted-space"> </span><a href="https://review.opendev.org/662763" rel="noreferrer" target="_blank">https://review.opendev.org/662763</a><br>> [1] -<span class="gmail-m_5585681188508133858Apple-converted-space"> </span><a href="https://opendev.org/openstack/tripleo-ansible" rel="noreferrer" target="_blank">https://opendev.org/openstack/tripleo-ansible</a><br>> --<br>><br>> Kevin Carter<br>> IRC: cloudnull<br><br><br><br>--<span class="gmail-m_5585681188508133858Apple-converted-space"> </span><br>Mohammed Naser — vexxhost<br>-----------------------------------------------------<br>D. 514-316-8872<br>D. 800-910-1726 ext. 200<br>E.<span class="gmail-m_5585681188508133858Apple-converted-space"> </span><a href="mailto:mnaser@vexxhost.com" target="_blank">mnaser@vexxhost.com</a><br>W.<span class="gmail-m_5585681188508133858Apple-converted-space"> </span><a href="http://vexxhost.com/" rel="noreferrer" target="_blank">http://vexxhost.com</a></blockquote></div></div></div></blockquote></div><br></div></div></blockquote></div>