[openstack-dev] [puppet] Proposal of adding puppet-oslo to OpenStack

Sergii Golovatiuk sgolovatiuk at mirantis.com
Tue Jan 19 15:27:22 UTC 2016


Hi Xingchao,

I think 'puppet-openstacklib' is designed to solve the issue with code
duplication. I don't see any strong reason why we should use a puppet-oslo
instead.

--
Best regards,
Sergii Golovatiuk,
Skype #golserge
IRC #holser

On Tue, Jan 19, 2016 at 3:42 PM, Bogdan Dobrelya <bdobrelia at mirantis.com>
wrote:

> On 19.01.2016 11:01, Xingchao Yu wrote:
> > Hi,  all:
> >
> >     Recently I submit some patches for adding rabbit_ha_queues and
> > correct the section name of memcached_servers params to each modules,
> > then I find I just did repeated things:
> >
> >        1. Adding one parameters which related to oslo.*  or authtoken to
> > all puppet modules
> >        2. Correct section of parameters, move it from deprecated section
> > to oslo_* section, apply it on all puppet modules
> >
> >      We have more than 30+ modules for now, that means we have to repeat
> > 10+ or 20+ times if we want to do a simple change on oslo_* common
> configs.
> >
> >      Besides, the number of oslo_* section is growing, for example :
> >
> >        - oslo_messaging_amqp
> >        - oslo_messaging_rabbit
> >        - oslo_middleware
> >        - oslo_policy
> >        - oslo_concurrency
> >        - oslo_versionedobjects
> >        ...
> >
> >     Now we maintain these oslo_* parameters separately in each modules,
> >  this has lead some problems:
> >
> >     1.  oslo_* params are inconsistent in each modules
> >     2.  common params explosion in each modules
> >     3.  no convenient way for managing oslo_* params
> >
> >     When I was doing some work on keystone::resource::authtoken
> >  (https://review.openstack.org/#/c/266723/)
> >
> >     Then I have a idea about adding puppet-oslo project, using a bunch
> > of define resources to unify oslo_* configs in each modules.
> >
> >     I just write a prototype to show how does it works with oslo.cache:
> >
> >
> https://github.com/NewpTone/puppet-oslo/blob/master/manifests/cache.pp
> >
> >     Please let me know your opinion on the same.
>
> I liked the idea very much! And the oslo.cache PoC looks simple and
> elegant.
>
> >
> >     Thanks & Regards.
> >
> > --
> >  Xingchao Yu
> >
> >
> >
> >
> >
> __________________________________________________________________________
> > 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
>
> __________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160119/b2a378cd/attachment.html>


More information about the OpenStack-dev mailing list