<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Tom,</div>
<div><br>
</div>
<div>Just to be clear on motive, it had nothing to do with reuse by others.</div>
<div><br>
</div>
<div>Lars had a repo he maintains. Magnum had a repo it maintained. We wanted one source of truth. The deal was we would merge all the things into heat-coe-templates, delete larsks/heat-kubernetes and delete the magnum templates. Then there would be one
source of truth.</div>
<div><br>
</div>
<div>We haven’t really lived up to our end of the plan, so I am unclear is Lars is willing to delete his repo even if we were to make the repos consistent across all three.</div>
<div><br>
</div>
<div>If we do proceed with placing heat-coe-templates in the attic, we should stop tracking larsks as an upstream repo and not bother submitting changes there either – since they will become independent works with independent paths. It is these tracking of
the two repos to maintain consistency that lead to the creation of the heat-coe-templates repo in the first place (I.e. The lack of one source of truth). By abandoning the upstream relationship with larsks/heat-kubernetes we also solve the one source of truth
problem which I think your proposal implies.</div>
<div><br>
</div>
<div>Regards</div>
<div>-steve</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Madhuri <<a href="mailto:madhuri.rai07@gmail.com">madhuri.rai07@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Monday, June 29, 2015 at 7:24 PM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [openstack-dev] [Magnum] Continuing with heat-coe-templates<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">
<div>
<div>I agree with Tom's comment for not maintaining separate repo for heat-templates when it can't be reused by others.<br>
<br>
</div>
Regards,<br>
</div>
Madhuri<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 30, 2015 at 10:56 AM, Angus Salkeld <span dir="ltr">
<<a href="mailto:asalkeld@mirantis.com" target="_blank">asalkeld@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">
<div class="gmail_extra">
<div class="gmail_quote"><span class="">On Tue, Jun 30, 2015 at 8:23 AM, Fox, Kevin M
<span dir="ltr"><<a href="mailto:Kevin.Fox@pnnl.gov" target="_blank">Kevin.Fox@pnnl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Needing to fork templates to tweak things is a very common problem.<br>
<br>
Adding conditionals to Heat was discussed at the Summit. (<a href="https://etherpad.openstack.org/p/YVR-heat-liberty-template-format" rel="noreferrer" target="_blank">https://etherpad.openstack.org/p/YVR-heat-liberty-template-format</a>). I want to say, someone
was going to prototype it using YAQL, but I don't remember who.<br>
</blockquote>
<div><br>
</div>
</span>
<div>I was going to do that, but I would not expect that ready in a very short time frame. It needs</div>
<div>some investigation and agreement from others. I'd suggest making you decision based</div>
<div>on what we have now.</div>
<span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>-Angus</div>
</font></span>
<div>
<div class="h5">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Would it be reasonable to keep if conditionals worked?<br>
<br>
Thanks,<br>
Kevin<br>
________________________________________<br>
From: Hongbin Lu [<a href="mailto:hongbin.lu@huawei.com" target="_blank">hongbin.lu@huawei.com</a>]<br>
Sent: Monday, June 29, 2015 3:01 PM<br>
To: OpenStack Development Mailing List (not for usage questions)<br>
Subject: Re: [openstack-dev] [Magnum] Continuing with heat-coe-templates<br>
<div>
<div><br>
Agree. The motivation of pulling templates out of Magnum tree is hoping these templates can be leveraged by a larger community and get more feedback. However, it is unlikely to be the case in practise, because different people has their own version of templates
for addressing different use cases. It is proven to be hard to consolidate different templates even if these templates share a large amount of duplicated code (recall that we have to copy-and-paste the original template to add support for Ironic and CoreOS).
So, +1 for stopping usage of heat-coe-templates.<br>
<br>
Best regards,<br>
Hongbin<br>
<br>
-----Original Message-----<br>
From: Tom Cammann [mailto:<a href="mailto:tom.cammann@hp.com" target="_blank">tom.cammann@hp.com</a>]<br>
Sent: June-29-15 11:16 AM<br>
To: openstack Development Mailing List (not for usage questions)<br>
Subject: [openstack-dev] [Magnum] Continuing with heat-coe-templates<br>
<br>
Hello team,<br>
<br>
I've been doing work in Magnum recently to align our templates with the "upstream" templates from larsks/heat-kubernetes[1]. I've also been porting these changes to the stackforge/heat-coe-templates[2] repo.<br>
<br>
I'm currently not convinced that maintaining a separate repo for Magnum templates (stackforge/heat-coe-templates) is beneficial for Magnum or the community.<br>
<br>
Firstly it is very difficult to draw a line on what should be allowed into the heat-coe-templates. We are currently taking out changes[3] that introduced "useful" autoscaling capabilities in the templates but that didn't fit the Magnum plan. If we are going
to treat the heat-coe-templates in that way then this extra repo will not allow organic development of new and old container engine templates that are not tied into Magnum.<br>
Another recent change[4] in development is smart autoscaling of bays which introduces parameters that don't make a lot of sense outside of Magnum.<br>
<br>
There are also difficult interdependency problems between the templates and the Magnum project such as the parameter fields. If a required parameter is added into the template the Magnum code must be also updated in the same commit to avoid functional test
failures. This can be avoided using "Depends-On:<br>
#xxxxxx"<br>
feature of gerrit, but it is an additional overhead and will require some CI setup.<br>
<br>
Additionally we would have to version the templates, which I assume would be necessary to allow for packaging. This brings with it is own problems.<br>
<br>
As far as I am aware there are no other people using the heat-coe-templates beyond the Magnum team, if we want independent growth of this repo it will need to be adopted by other people rather than Magnum commiters.<br>
<br>
I don't see the heat templates as a dependency of Magnum, I see them as a truly fundamental part of Magnum which is going to be very difficult to cut out and make reusable without compromising Magnum's development process.<br>
<br>
I would propose to delete/deprecate the usage of heat-coe-templates and continue with the usage of the templates in the Magnum repo. How does the team feel about that?<br>
<br>
If we do continue with the large effort required to try and pull out the templates as a dependency then we will need increase the visibility of repo and greatly increase the reviews/commits on the repo. We also have a fairly significant backlog of work to align
the heat-coe-templates with the templates in heat-coe-templates.<br>
<br>
Thanks,<br>
Tom<br>
<br>
[1] <a href="https://github.com/larsks/heat-kubernetes" rel="noreferrer" target="_blank">
https://github.com/larsks/heat-kubernetes</a><br>
[2] <a href="https://github.com/stackforge/heat-coe-templates" rel="noreferrer" target="_blank">
https://github.com/stackforge/heat-coe-templates</a><br>
[3] <a href="https://review.openstack.org/#/c/184687/" rel="noreferrer" target="_blank">
https://review.openstack.org/#/c/184687/</a><br>
[4] <a href="https://review.openstack.org/#/c/196505/" rel="noreferrer" target="_blank">
https://review.openstack.org/#/c/196505/</a><br>
<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>
__________________________________________________________________________<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>
__________________________________________________________________________<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>
</div>
</div>
</blockquote>
</div>
</div>
</div>
<br>
</div>
</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>
</div>
</div>
</blockquote>
</span>
</body>
</html>