<div dir="ltr"><div>Hi all,</div><div>I moved this conversation to openstack-dev to get a broader audience, since we started to discuss technical details.</div><div><br></div><div>Raw notes from demo session: <a href="https://etherpad.openstack.org/p/cinder-neutron-plugins-second-demo">https://etherpad.openstack.org/p/cinder-neutron-plugins-second-demo</a>.</div><div><br></div><div>Let me start answering on a few questions below from Roman & Nathan.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(80,0,80)">How are we planning to distribute fuel plugin builder and its updates? Ideally, it should be available externally (outside of master node). I don't want us to repeat the same mistake as we did with Fuel client, which doesn't seem to be usable as an external dependency.</span></blockquote><div>The plan was to have Fuel Plugin Builder (fpb) on PyPI. Ideally it should be backward compatible with older Fuel release, i.e. when there is Fuel 7.0 out, you should be still able to create plugin for Fuel 6.0. If that it is going to be overcomplicated - I suggested to produce fpb for every Fuel release, and name it like fpb60, fpb61, fpb70, etc. Then it becomes easier to support and maintain plugin builders for certain versions of Fuel.</div><div>Speaking about Fuel Client - there is no mistake. It's been discussed dozens of times, it's just lack of resources to make it on PyPI as well as to fix a few other things. I hope it could be done as part of efforts from [2].</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">- Perhaps we have a separate settings tab just for Plug-Ins?    For some complex plug-ins, they might require a dedicated tab.   If we have too many tabs it could get messy.</blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(80,0,80)">Shall we consider a separate place in UI (tab) for plugins? Settings tab seems to be overloaded.</span></blockquote><div> </div><div>This is certainly under planning and discussion for future releases. See [1], for example. For 6.0, we agreed that we can just extend existing Settings tab with plugins-related fields.</div><div><br></div><div>One minor thing from me, which I forgot to mention during the demo: verbosity of fpb run. I understand it might sound like a bikeshedding now, but I believe if we develop it right from the very beginning, then we can save some time later. So I would suggest normal, short INFO output, and verbose one with --debug.</div><div><br></div><div>Thanks for feedback folks!!!</div><div><br></div><div>[1] <a href="https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg37196.html">https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg37196.html</a></div><div>[2] <a href="https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg37001.html">https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg37001.html</a></div><div><br></div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Nathan Trueblood</b> <span dir="ltr"><<a href="mailto:ntrueblood@mirantis.com">ntrueblood@mirantis.com</a>></span><br>Date: Sat, Oct 18, 2014 at 3:24 AM<br>Subject: Re: plugins<br><br><div dir="ltr">Agreed - I thought this initial PoC was great.<div><br></div><div>A few initial thoughts about settings in the UI and plug-in in general:</div><div><br></div><div>- Perhaps we have a separate settings tab just for Plug-Ins?    For some complex plug-ins, they might require a dedicated tab.   If we have too many tabs it could get messy.</div><div>- It seems like we should consider how we handle the VMWare settings in light of plug-ins as well.   Since with VMWare we have a lot of setting to configure and settings validation.</div><div>- Do we offer any kind of validation for settings on plug-ins?   Or some way to for the developer to ensure that setting that cannot be default or computed get requested for the plug-in?</div><div><br></div><div>- We need to think carefully about both the plug-in developer experience (how hard to test, get error messages, etc) and the experience for the user who deploys the plug-in into an environment.</div><span class=""><font color="#888888"><div><br></div><div><br></div><div>-Nathan</div></font></span></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 4:13 PM, Roman Alekseenkov <span dir="ltr"><<a href="mailto:ralekseenkov@mirantis.com" target="_blank">ralekseenkov@mirantis.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div>I watched both videos (creating a file with the text from UI && installing and starting a service).<div><br><div><div>It looks pretty good!! Some initial feedback/questions:</div><div><ol><li>I like the fact that fuel plugin builder appends version to the name and makes it "fuel-awesome-plugin-1.2.3.tar". The approach is similar to Java/Maven and is a good one.</li><li>I feel like we should not require user to unpack the plugin before installing it. Moreover, we may chose to distribute plugins in our own format, which we may potentially change later. E.g. "lbaas-v2.0.fp". I'd rather stick with two actions:</li><ul><li>Assembly (externally): fpb --build <name></li><li>Installation (on master node): fuel --install-plugin <name></li></ul><li>How are we planning to distribute fuel plugin builder and its updates? Ideally, it should be available externally (outside of master node). I don't want us to repeat the same mistake as we did with Fuel client, which doesn't seem to be usable as an external dependency.</li><li>How do we handle errors?</li><ul><li>What happens if an error occurs during plugin installation?<br></li><li>What happens if an error occurs during plugin execution? Does it (should it?) fail the deployment? Will we show user an error message with the name of plugin that failed?<br></li></ul><li>Shall we consider a separate place in UI (tab) for plugins? Settings tab seems to be overloaded.</li><li>When are we planning to focus on the 2 plugins which were identified as must-haves for 6.0? Cinder & LBaaS</li></ol><div>Once again, great job guys!</div></div><div><br></div><div>Thanks,</div></div><div>Roman</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 17, 2014 at 9:32 AM, Mike Scherbakov <span dir="ltr"><<a href="mailto:mscherbakov@mirantis.com" target="_blank">mscherbakov@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p dir="ltr">Thanks, Evgeny, excellent work!<br>
Roman, I believe we are "green" with the feature. Watch yourself.</p>
<p dir="ltr">Mike Scherbakov<br>
#mihgen</p>
<div class="gmail_quote">On Oct 17, 2014 8:25 PM, "Evgeniy L" <<a href="mailto:eli@mirantis.com" target="_blank">eli@mirantis.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi guys, here are the videos from the demo<div><br></div><div>Part 1</div><div><a href="https://drive.google.com/file/d/0B7I3b5vI7ZYXUGY1QVYyX3NLTWc/view" target="_blank">https://drive.google.com/file/d/0B7I3b5vI7ZYXUGY1QVYyX3NLTWc/view</a><br></div><div><br></div><div>Part 2</div><div><a href="https://drive.google.com/file/d/0B7I3b5vI7ZYXWkRmV05fT1VEQkk/view" target="_blank">https://drive.google.com/file/d/0B7I3b5vI7ZYXWkRmV05fT1VEQkk/view</a><br></div><div><br></div><div>Thanks,</div><div><br></div></div>
</blockquote></div>
</blockquote></div><br></div></div>
</blockquote></div></div></div></div></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Mike Scherbakov<br>#mihgen<br><br></div>
</div>