<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 12 August 2016 at 08:13, Matt Riedemann <span dir="ltr"><<a href="mailto:mriedem@linux.vnet.ibm.com" target="_blank">mriedem@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I opened a bug yesterday against novaclient for running the functional tests against a neutron-backed devstack:<br>
<br>
<a href="https://bugs.launchpad.net/python-novaclient/+bug/1612410" rel="noreferrer" target="_blank">https://bugs.launchpad.net/pyt<wbr>hon-novaclient/+bug/1612410</a><br>
<br>
With neutron being the default in devstack now, people hacking on novaclient and running functional tests locally are going to have a hard time since the tests are unconditionally written with the assumption that the backing devstack is using nova-network.<br>
<br>
So we need to make the tests conditional, the question is what's the best way?<br>
<br>
We could use a config like how Tempest does it, but where does that happen? In the clouds.yaml, or the post_test_hook.sh, other?<br>
<br>
Another idea is the base functional test that sets up the client just checks the keystone service catalog for a 'network' service entry, somewhere in here:<br>
<br>
<a href="https://github.com/openstack/python-novaclient/blob/232711c0ef98baf79bcf4c8bdbae4b84003c9ab9/novaclient/tests/functional/base.py#L116" rel="noreferrer" target="_blank">https://github.com/openstack/p<wbr>ython-novaclient/blob/232711c0<wbr>ef98baf79bcf4c8bdbae4b84003c9a<wbr>b9/novaclient/tests/functional<wbr>/base.py#L116</a><br>
<br>
Thoughts on either approach or something completely different?</blockquote><div><br></div><div>Doesn't it make sense to configure the functional tests for novaclient to make devstack work on a nova-net backend, and introduce a new non-voting job used to flush out the new backend option, and transition over the old job to the new one in due course?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt Riedemann<br>
<br>
<br>
______________________________<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>
</font></span></blockquote></div><br></div></div>