<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 16, 2018 at 9:16 AM, Bogdan Dobrelya <span dir="ltr"><<a href="mailto:bdobreli@redhat.com" target="_blank">bdobreli@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 2/16/18 2:59 PM, Raoul Scarazzini wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On 16/02/2018 10:24, Bogdan Dobrelya wrote:<br>
[...]<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+1 this looks like a perfect fit. Would it be possible to install that<br>
tripleo-ha-utils/tripleo-quick<wbr>start-utils with ansible-galaxy, alongside<br>
the quickstart, then apply destructive-testing playbooks with either the<br>
quickstart's static inventory [0] (from your admin/control node) or<br>
maybe via dynamic inventory [1] (from undercloud managing the overcloud<br>
under test via config-download and/or external ansible deployment<br>
mechanisms)?<br>
[0]<br>
<a href="https://git.openstack.org/cgit/openstack/tripleo-quickstart/tree/roles/tripleo-inventory" rel="noreferrer" target="_blank">https://git.openstack.org/cgit<wbr>/openstack/tripleo-quickstart/<wbr>tree/roles/tripleo-inventory</a><br>
[1]<br>
<a href="https://git.openstack.org/cgit/openstack/tripleo-validations/tree/scripts/tripleo-ansible-inventory" rel="noreferrer" target="_blank">https://git.openstack.org/cgit<wbr>/openstack/tripleo-validations<wbr>/tree/scripts/tripleo-ansible-<wbr>inventory</a><br>
</blockquote>
<br>
Hi Bogdan,<br>
thanks for your answer. On the inventory side of things these playbooks<br>
work on any kind of inventory, we're using it at the moment with both<br>
manual and quickstart generated environments, or even infrared ones.<br>
We're able to do it at the same time the environment gets deployed or in<br>
a second time like a day two action.<br>
What is not clear to me is the ansible-galaxy part you're mentioning,<br>
today we rely on the <a href="http://github.com/redhat-openstack" rel="noreferrer" target="_blank">github.com/redhat-openstack</a> git repo, so we clone<br>
it and then launch the playbooks via ansible-playbook command, how do<br>
you see ansible-galaxy into the picture?<br>
</blockquote>
<br></span>
Git clone just works as well... Though, I was thinking of some minimal integration via *playbooks* (not roles) in quickstart/tripleo-validations and *external* roles. So the in-repo playbooks will be referencing those external destructive testing roles. While the roles are installed with galaxy, like:<br>
<br>
$ ansible-galaxy install git+https://$repo_name,master -p $external_roles_path<br>
<br>
or prolly adding the $repo_name and $release (master or a tag) into some galaxy-requirements.yaml file and install from it:<br>
<br>
$ ansible-galaxy install --force -r quickstart-extras/playbooks/ex<wbr>ternal/galaxy-requirements.yam<wbr>l -p $external_roles_path<br>
<br>
Then invoked for quickstart-extras/tripleo-vali<wbr>dations like:<br>
<br>
$ ansible-playbook -i inventory quickstart-extras/playbooks/ex<wbr>ternal/destructive-tests.yaml<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks!<br>
<br></blockquote></blockquote><div><br></div><div>Using galaxy is an option however we would need to make sure that galaxy is proxied across the upstream clouds.</div><div>Another option would be to follow the current established pattern of adding it to the requirements file [1]</div><div><br></div><div>Thanks Bogdan, Raoul!</div><div><br></div><div>[1] <a href="https://github.com/openstack/tripleo-quickstart/blob/master/quickstart-extras-requirements.txt">https://github.com/openstack/tripleo-quickstart/blob/master/quickstart-extras-requirements.txt</a></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote><span class="gmail-im gmail-HOEnZb">
<br>
<br>
-- <br>
Best regards,<br>
Bogdan Dobrelya,<br>
Irc #bogdando<br>
<br></span><div class="gmail-HOEnZb"><div class="gmail-h5">
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</div></div></blockquote></div><br></div></div>