<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jul 26, 2013 at 8:58 PM, Day, Phil <span dir="ltr"><<a href="mailto:philip.day@hp.com" target="_blank">philip.day@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Hi Folks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to add a v3 plugin as part of the scheduler hints API BP – but although I’ve created the file in plugins/v3 and it looks OK compared to all the others in there it doesn’t even get turned into a .pyc in Devstack – so its as if
 the API loaded just doesn’t see that file at all.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><a href="https://review.openstack.org/#/c/34291/" target="_blank">https://review.openstack.org/#/c/34291/</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can someone who understands the V3 api code take a look and tell me what dumb-ass mistake I’ve made this time please ?<u></u><u></u></p>
<p class="MsoNormal"><u></u></p></div></div></blockquote><div><br></div><div>I've responded on the review. I think its just a missing entry in setup.cfg as without the entry point stevedore won't find the plugin. It actually doesn't matter where the plugin lives as long it is in PYTHONPATH and was installed with an entrypoint (eg individual plugins can live in their own packages without nova knowing about them directly). <br>
</div><div><br></div><div>Regards,<br><br>Chris<br><br></div></div></div></div>