<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I agree with Stas, one rpm - one version.<div class=""><br class=""></div><div class="">But plugin builder allows to specify several releases as compatible. The deployment tasks and repositories can be specified per release, at the same time the deployment graph is one for all releases.</div><div class="">Currently it looks like half-implemented feature.  Can we drop this feature? or should we finish implementation of this feature.</div><div class=""><br class=""></div><div class=""><div class=""><div class=""><br class=""><div class="">
Regards,<br class="">Bulat Gaifullin<br class="">Mirantis Inc.<div class=""><br class=""></div><br class="Apple-interchange-newline">

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 11 Feb 2016, at 02:41, Andrew Woodward <<a href="mailto:xarses@gmail.com" class="">xarses@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Wed, Feb 10, 2016 at 2:23 PM Dmitry Borodaenko <<a href="mailto:dborodaenko@mirantis.com" class="">dborodaenko@mirantis.com</a>> wrote:<br class=""></div><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;">+1 to Stas, supplanting VCS branches with code duplication is a path to<br class="">madness and despair. The dubious benefits of a cross-release backwards<br class="">compatible plugin binary are not worth the code and infra technical debt<br class="">that such approach would accrue over time.<br class=""></blockquote><div class=""><br class=""></div><div class="">Supporting multiple fuel releases will likely result in madness as discussed, however as we look to support multiple OpenStack releases from the same version of fuel, this methodology becomes much more important.</div><div class=""> </div><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;">On Wed, Feb 10, 2016 at 07:36:30PM +0300, Stanislaw Bogatkin wrote:<br class="">> It changes mostly nothing for case of furious plugin development when big<br class="">> parts of code changed from one release to another.<br class="">><br class="">> You will have 6 different deployment_tasks directories and 30 a little bit<br class="">> different files in root directory of plugin. Also you forgot about<br class="">> repositories directory (+6 at least), pre_build hooks (also 6) and so on.<br class="">> It will look as hell after just 3 years of development.<br class="">><br class="">> Also I can't imagine how to deal with plugin licensing if you have Apache<br class="">> for liberty but BSD for mitaka release, for example.<br class="">><br class="">> Much easier way to develop a plugin is to keep it's source in VCS like Git<br class="">> and just make a branches for every fuel release. It will give us<br class="">> opportunity to not store a bunch of similar but a little bit different<br class="">> files in repo. There is no reason to drag all different versions of code<br class="">> for specific release.<br class="">><br class="">><br class="">> On other hand there is a pros - your plugin can survive after upgrade if it<br class="">> supports new release, no changes needed here.<br class="">><br class="">> On Wed, Feb 10, 2016 at 4:04 PM, Alexey Shtokolov <<a href="mailto:ashtokolov@mirantis.com" target="_blank" class="">ashtokolov@mirantis.com</a>><br class="">> wrote:<br class="">><br class="">> > Fuelers,<br class="">> ><br class="">> > We are discussing the idea to extend the multi release packages for<br class="">> > plugins.<br class="">> ><br class="">> > Fuel plugin builder (FPB) can create one rpm-package for all supported<br class="">> > releases (from metadata.yaml) but we can specify only deployment scripts<br class="">> > and repositories per release.<br class="">> ><br class="">> > Current release definition (in metadata.yaml):<br class="">> >     - os: ubuntu<br class="">> >       version: liberty-8.0<br class="">> >       mode: ['ha']<br class="">> >       deployment_scripts_path: deployment_scripts/<br class="">> >       repository_path: repositories/ubuntu<br class="">> ><br class=""></blockquote><div class=""><br class=""></div><div class="">This will result in far too much clutter.</div><div class="">For starters we should support nested over rides. for example the author may have already taken account for the changes between one openstack version to another. In this case they only should need to define the releases they support and not specify any additional locations. Later they may determine that they only need to replace packages, or one other file they should not be required to code every location for each release</div><div class=""><br class=""></div><div class="">Also, at the same time we MUST clean up importing various yaml files. Specifically, tasks, volumes, node roles, and network roles. Requiring that they all be maintained in a single file doesn't scale, we don't require it for tasks.yaml in fuel library, and we should not require it in plugins. We should simply do the same thing as tasks.yaml in library, scan the subtree for specific file names and just merge them all together. (This has been expressed multiple times by people with larger plugins)</div><div class=""><br class=""></div><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;">> > So the idea [0] is to make releases fully configurable.<br class="">> > Suggested changes for release definition (in metadata.yaml):<br class="">> >       components_path: components_liberty.yaml<br class="">> >       deployment_tasks_path: deployment_tasks_liberty/ # <- folder </blockquote><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;">> >       environment_config_path: environment_config_liberty.yaml<br class="">> >       network_roles_path: network_roles_liberty.yaml<br class="">> >       node_roles_path: node_roles_liberty.yaml<br class="">> >       volumes_path: volumes_liberty.yaml<br class="">> ><br class="">> > I see the issue: if we change anything for one release (e.g.<br class="">> > deployment_task typo) revalidation is needed for all releases.<br class="">> ><br class="">> > Your Pros and cons please?<br class="">> ><br class="">> > [0]<span class="Apple-converted-space"> </span><a href="https://review.openstack.org/#/c/271417/" rel="noreferrer" target="_blank" class="">https://review.openstack.org/#/c/271417/</a><br class="">> > ---<br class="">> > WBR, Alexey Shtokolov<br class="">> ><br class="">> > __________________________________________________________________________<br class="">> > OpenStack Development Mailing List (not for usage questions)<br class="">> > Unsubscribe:<span class="Apple-converted-space"> </span><a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="">> ><span class="Apple-converted-space"> </span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="">> ><br class="">> ><br class="">><br class="">><br class="">> --<br class="">> with best regards,<br class="">> Stan.<br class=""><br class="">> __________________________________________________________________________<br class="">> OpenStack Development Mailing List (not for usage questions)<br class="">> Unsubscribe:<span class="Apple-converted-space"> </span><a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class="">><span class="Apple-converted-space"> </span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""><br class=""><br class="">__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe:<span class="Apple-converted-space"> </span><a href="http://OpenStack-dev-request@lists.openstack.org/?subject:unsubscribe" rel="noreferrer" target="_blank" class="">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""></blockquote></div></div><div dir="ltr" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">--<span class="Apple-converted-space"> </span><br class=""></div><div dir="ltr" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><p dir="ltr" class="">--</p><p dir="ltr" class=""><span style="font-size: 13.1999998092651px;" class="">Andrew Woodward</span></p><p dir="ltr" class=""><span style="font-size: 13.1999998092651px;" class="">Mirantis</span></p><p dir="ltr" class=""><span style="font-size: 13.1999998092651px;" class="">Fuel Community Ambassador</span></p><p dir="ltr" class=""><span style="font-size: 13.1999998092651px;" class="">Ceph Community</span></p></div><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">__________________________________________________________________________</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack Development Mailing List (not for usage questions)</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Unsubscribe:<span class="Apple-converted-space"> </span></span><a href="mailto:OpenStack-dev-request@lists.openstack.org" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OpenStack-dev-request@lists.openstack.org</a><span style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">?subject:unsubscribe</span><br style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></blockquote></div><br class=""></div></div></div></body></html>