<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Alexander,</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace">We have many other places where use Ruby (astute, puppet custom types, etc.). I don't think it is a good reason to re-write something just because it is written in Ruby. You are right about tests, about plugins, but let's look around. Ironic community has already invented discovery component (btw written in python) and I can't see any reason why we should continue putting efforts in nailgun agent and not try to switch to ironic-inspector.</div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div><div class="gmail_default" style="font-family:monospace,monospace"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div>Vladimir Kozhukalov</div></div></div>
<br><div class="gmail_quote">On Mon, Mar 14, 2016 at 7:41 PM, Evgeniy L <span dir="ltr"><<a href="mailto:eli@mirantis.com" target="_blank">eli@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Alexander, thanks for bringing this up.<div><br></div><div>From your list of problems the only problem which I see is 1st, 2nd and 3rd are solvable even with current implementation.</div><div><br></div><div>Also I don't think that we should continue developing our own HW discovery mechanism, we should consider switching to ironic-inspector, and get common discovery system [0]. We need to evaluate it and get a list of features which we may need from it and discuss with ironic team.</div><div><br></div><div>Thanks,</div><div><br></div><div>[0] <a href="https://github.com/openstack/ironic-inspector" target="_blank">https://github.com/openstack/ironic-inspector</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 14, 2016 at 6:13 PM, Alexander Saprykin <span dir="ltr"><<a href="mailto:asaprykin@mirantis.com" target="_blank">asaprykin@mirantis.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hi,<br><br></div>We have fuel-nailgun-agent project which was initially written on Ruby. It is 900 lines of code single script, that collects and provides to the nailgun information about node's hardware.<br><br></div><div>In the past several iteration we had to introduce new modifications to that script we discovered couple of major problems with it.<br><br></div><div>1. Most of our software engineers are Python programmers and it's quite complicated to add new features. We have or to write ugly ruby code or to wait for somebody who knows it to write it.<br><br></div><div>2. Nailgun agent doesn't have tests. At all.<br><br></div><div>3. It would be good to have a plugins support in the nailgun agent. In case if customer wants to collect any extra information about nodes that can be used in fuel plugins.<br><br></div><div>Possible obstacles:<br><br></div><div>Nailgun agent depends from Ruby library called <b>ohai</b> which provides hardware information.<br><br></div><div>Our proposal is to:<br><br></div><div>1. Rewrite fuel nailgun agent to Python.<br><br></div><div>2. Add proper unit tests.<br><br></div><div>3. Ohai library can be used as CLI tool or it can be replaced with pure python solution (to be investigated)<br><br></div><div>4. Nailgun agent can be extended with plugins based on steevedore.<br><br></div><div><br></div><div>Best regards,<br></div><div>Alexander Saprykin<br></div></div>
<br></div></div><span class="">__________________________________________________________________________<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>
<br></span></blockquote></div><br></div>
<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>
<br></blockquote></div><br></div>