[openstack-dev] [Fuel] Rewriting nailgun agent on Python proposal

Bogdan Dobrelya bdobrelia at mirantis.com
Mon Mar 14 16:35:01 UTC 2016


On 03/14/2016 04:13 PM, Alexander Saprykin wrote:
> Hi,
> 
> 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.
> 
> In the past several iteration we had to introduce new modifications to
> that script we discovered couple of major problems with it.
> 
> 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.

While I agree with that, I have to ask: Do you have same plans for
Astute and mcollective?

> 
> 2. Nailgun agent doesn't have tests. At all.
> 
> 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.
> 
> Possible obstacles:
> 
> Nailgun agent depends from Ruby library called *ohai* which provides
> hardware information.
> 
> Our proposal is to:
> 
> 1. Rewrite fuel nailgun agent to Python.
> 
> 2. Add proper unit tests.
> 
> 3. Ohai library can be used as CLI tool or it can be replaced with pure
> python solution (to be investigated)
> 
> 4. Nailgun agent can be extended with plugins based on steevedore.
> 
> 
> Best regards,
> Alexander Saprykin
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 


-- 
Best regards,
Bogdan Dobrelya,
Irc #bogdando



More information about the OpenStack-dev mailing list