<div dir="ltr">Yes, the plugin enables the service, and for the neutron-vpnaas DSVM based jobs, I have the "enable_plugin" line added to the job so that everything works.<div><br></div><div>However, for the DevStack repo, which runs a bunch of other DSVM jobs, this fails, as there is (obviously) no enable_plugin line.:</div><div><br></div><ul class="GKSE20JDB1" style="color:rgb(0,0,0);font-family:sans-serif;font-size:small;line-height:normal"><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-full/98be491/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-full</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 58m 37s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-postgres-full/85c5b92/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-postgres-full</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 50m 45s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-neutron-full/0050bfe/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-neutron-full</a></span> <span class="comment_test_result"><span class="result_FAILURE" style="color:rgb(207,47,25)">FAILURE</span> in 1h 25m 30s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-grenade-dsvm/b224606/" style="text-decoration:none;color:rgb(6,84,172)">gate-grenade-dsvm</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 44m 23s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-large-ops/a250cf5/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-large-ops</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 26m 49s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-neutron-large-ops/6faa1be/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-neutron-large-ops</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 25m 51s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-devstack-bashate/65ad952/" style="text-decoration:none;color:rgb(6,84,172)">gate-devstack-bashate</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 13s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-devstack-unit-tests/ccdbe4e/" style="text-decoration:none;color:rgb(6,84,172)">gate-devstack-unit-tests</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 1m 02s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-devstack-dsvm-cells/a6ca00c/" style="text-decoration:none;color:rgb(6,84,172)">gate-devstack-dsvm-cells</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 24m 08s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-grenade-dsvm-partial-ncpu/744deb8/" style="text-decoration:none;color:rgb(6,84,172)">gate-grenade-dsvm-partial-ncpu</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 48m 36s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-ironic-pxe_ssh/8eb4315/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-ironic-pxe_ssh</a></span> <span class="comment_test_result"><span class="result_FAILURE" style="color:rgb(207,47,25)">FAILURE</span> in 40m 10s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-devstack-dsvm-updown/85f1de5/" style="text-decoration:none;color:rgb(6,84,172)">gate-devstack-dsvm-updown</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 21m 12s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-f21/35a04c4/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-f21</a></span> <span class="comment_test_result"><span class="result_FAILURE" style="color:rgb(207,47,25)">FAILURE</span> in 51m 01s (non-voting)</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-centos7/b9c99c9/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-centos7</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 30m 23s (non-voting)</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://docs-draft.openstack.org/19/201119/1/check/gate-devstack-publish-docs/f794b1c//doc/build/html/" style="text-decoration:none;color:rgb(6,84,172)">gate-devstack-publish-docs</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 2m 23s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-swift-dsvm-functional-nv/13d2c58/" style="text-decoration:none;color:rgb(6,84,172)">gate-swift-dsvm-functional-nv</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 27m 12s (non-voting)</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-grenade-dsvm-neutron/8675f0c/" style="text-decoration:none;color:rgb(6,84,172)">gate-grenade-dsvm-neutron</a></span> <span class="comment_test_result"><span class="result_FAILURE" style="color:rgb(207,47,25)">FAILURE</span> in 47m 49s</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-multinode-smoke/bd69c45/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-multinode-smoke</a></span> <span class="comment_test_result"><span class="result_SUCCESS" style="color:rgb(0,127,0)">SUCCESS</span> in 36m 53s (non-voting)</span></li><li class="comment_test" style="list-style-type:none"><span class="comment_test_name" style="display:inline-block;min-width:20em;padding-bottom:2pt;width:auto!important"><a href="http://logs.openstack.org/19/201119/1/check/gate-tempest-dsvm-neutron-multinode-smoke/01e1d45/" style="text-decoration:none;color:rgb(6,84,172)">gate-tempest-dsvm-neutron-multinode-smoke</a></span> <span class="comment_test_result"><span class="result_FAILURE" style="color:rgb(207,47,25)">FAILURE</span> in 44m 16s (non-voting)</span></li></ul><div><font color="#000000" face="sans-serif" size="2"><span style="line-height:normal"><br></span></font></div><div>I'm wondering what's the best way to modify those jobs... is there some common location where I can enable the plugin to handle all DSVM based jobs, do I just update the 5 failing tests, do I update just the 3 voting tests, or do I update all 16 DSVM based jobs?</div><div><br></div><div>Regards,</div><div>PCM</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jul 24, 2015 at 5:12 PM Clark Boylan <<a href="mailto:cboylan@sapwetik.org">cboylan@sapwetik.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jul 24, 2015, at 02:05 PM, Paul Michali wrote:<br>
> Hi,<br>
><br>
> I've created a DevStack plugin for the neutron-vpnaas repo. Now, I'm<br>
> trying<br>
> to remove the q-vpn service setup from the DevStack repo (<br>
> <a href="https://review.openstack.org/#/c/201119/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/201119/</a>).<br>
><br>
> However, I'm hitting an issue in that (almost) every test that uses<br>
> DevStack fails, because it is no longer setting up q-vpn.<br>
><br>
> How should I modify the tests, so that they setup the q-vpn service, in<br>
> light of the fact that there is a DevStack plugin available for it. Is<br>
> there some common place that I can do the "enable_plugin<br>
> neutron-vpnaas..."<br>
> line?<br>
><br>
Your devstack plugin should enable the service. Then in your jobs you<br>
just need to enable the plugin which will then enable the vpn service.<br>
There should be plenty of prior art with the ec2api plugin, glusterfs<br>
plugin, and others.<br>
<br>
Clark<br>
<br>
__________________________________________________________________________<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.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div>