<div dir="ltr"><font face="arial, helvetica, sans-serif">Hi, all:</font><div><font face="arial, helvetica, sans-serif"><br></font><div><font face="arial, helvetica, sans-serif"> I spend some times to collect oslo.* versions of openstack projects(which has related puppet module), please check it in following table:</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"> <a href="https://github.com/openstack/puppet-oslo#module-description">https://github.com/openstack/puppet-oslo#module-description</a></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"> From the table, we can find most of oslo.* libraries are the same among the openstack projects(except aodh, gnocchi</font><span style="font-family:arial,helvetica,sans-serif">).</span></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"> So from the table, we could use puppet-oslo to replace configuration of oslo.* in related modules gradually.</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif"> Thanks & Regards.</font></div><div><span style="font-size:14px"><br></span></div>
</div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-21 23:58 GMT+08:00 Emilien Macchi <span dir="ltr"><<a href="mailto:emilien@redhat.com" target="_blank">emilien@redhat.com</a>></span>:<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"><div class=""><div class="h5"><br>
<br>
On 01/21/2016 08:15 AM, Doug Hellmann wrote:<br>
> Excerpts from Cody Herriges's message of 2016-01-19 15:50:05 -0800:<br>
>> Colleen Murphy wrote:<br>
>>> On Tue, Jan 19, 2016 at 9:57 AM, Xingchao Yu <<a href="mailto:yuxcer@gmail.com">yuxcer@gmail.com</a><br>
>>> <mailto:<a href="mailto:yuxcer@gmail.com">yuxcer@gmail.com</a>>> wrote:<br>
>>><br>
>>> Hi, Emilien:<br>
>>><br>
>>> Thanks for your efforts on this topic, I didn't attend V<br>
>>> release summit and missed related discussion about puppet-oslo.<br>
>>><br>
>>> As the reason for not using a unified way to manage oslo_*<br>
>>> parameters is there maybe exist different oslo_* version between<br>
>>> openstack projects.<br>
>>><br>
>>> I have an idea to solve this potential problem,we can maintain<br>
>>> several versions of puppet-oslo, each module can map to different<br>
>>> version of puppet-oslo.<br>
>>><br>
>>> It would be something like follows: (the map info is not true,<br>
>>> just for example)<br>
>>><br>
>>> In Mitaka release<br>
>>> puppet-nova maps to puppet-oslo with 8.0.0<br>
>>> puppet-designate maps to puppet-oslo with 7.0.0<br>
>>> puppet-murano maps to puppet-oslo with 6.0.0<br>
>>><br>
>>> In Newton release<br>
>>> puppet-nova maps to puppet-oslo with 9.0.0<br>
>>> puppet-designate maps to puppet-oslo with 9.0.0<br>
>>> puppet-murano maps to puppet-oslo with 7.0.0<br>
>>><br>
>>> For the simplest case of puppet infrastructure configuration, which is a<br>
>>> single puppetmaster with one environment, you cannot have multiple<br>
>>> versions of a single puppet module installed. This means you absolutely<br>
>>> cannot have an openstack infrastructure depend on having different<br>
>>> versions of a single module installed. In your example, a user would not<br>
>>> be able to use both puppet-nova and puppet-designate since they are<br>
>>> using different versions of the puppet-oslo module.<br>
>>><br>
>>> When we put out puppet modules, we guarantee that version X.x.x of a<br>
>>> given module works with the same version of every other module, and this<br>
>>> proposal would totally break that guarantee.<br>
>>><br>
>><br>
>> How does OpenStack solve this issue?<br>
>><br>
>> * Do they literally install several different versions of the same<br>
>> python library?<br>
>> * Does every project vendor oslo?<br>
>> * Is the oslo library its self API compatible with older versions?<br>
><br>
> Each Oslo library has its own version. Only one version of each<br>
> library is installed at a time. We use the global requirements list<br>
> to sync compatible requirements specifications across all OpenStack<br>
> projects to make them co-installable. And we try hard to maintain<br>
> API compatibility, using SemVer versioning to indicate when that<br>
> was not possible.<br>
><br>
> If you want to have a single puppet module install all of the Oslo<br>
> libraries, you could pull the right versions from the upper-constraints.txt<br>
> file in the openstack/requirements repository. That file lists the<br>
> versions that were actually tested in the gate.<br>
<br>
</div></div>Thanks for this feedback Doug!<br>
So I propose we create the module in openstack namespace, please vote for:<br>
<a href="https://review.openstack.org/#/c/270872/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/270872/</a><br>
<br>
I talked with xingchao on IRC #puppet-openstack and he's doing<br>
project-config patch today.<br>
Maybe could we start with Nova, Neutron, Cinder, Glance, Keystone, see<br>
how it works and iterate later with other modules.<br>
<br>
Thoughts are welcome,<br>
<span class=""><font color="#888888">--<br>
Emilien Macchi<br>
<br>
</font></span><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><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Xingchao Yu</div><div><br></div><div><br></div></div>
</div></div>