<div dir="ltr">Oleg, <div><br></div><div>Thanks a lot for your opinion. Here are some more thoughts on this topic.<div><br></div><div>1) For a package it is absolutely normal to throw a user dialog. But probably there is kind of standard for the dialog that does not allow to use fuelmenu. AFAIK, for DEB packages it is debconf and there is a tutorial [0] how to get user input during post install. I don't know if there is such a standard for RPM packages. In some MLs it is written that any command line program could be run in %post section including those like fuel-menu.</div><div><br></div><div>2) Fuel package could install default astute.yaml (I'd like to rename it into /etc/fuel.yaml or /etc/fuel/config.yaml) and use values from the file by default not running fuelmenu. A user then is supposed to run fuelmenu if he/she needs to re-configure fuel installation. However, it is gonna be quite intrusive. What if a user installs fuel and uses it for a while with default configuration. What if some clusters are already in use and then the user decides to re-configure the master node. Will it be ok?</div><div><br></div><div>3) What is wrong with 'deployment script' approach? Why can not fuel just install kind of deployment script? Fuel is not a service, it consists of many components. Moreover some of these components could be optional (not currently but who knows?), some of this components could be run on an external node (after all Fuel components use REST, AMQP, XMLRPC to interact with each other). </div><div>Imagine you want to install OpenStack. It also consists of many components. Some components like database or AMQP service could be deployed using HA architecture. What if one needs Fuel to be run with external HA database, amqp? From this perspective I'd say Fuel package should not exist at all. Let's maybe think of Fuel package as a convenient way to deploy Fuel on a single node, i.e single node deployment script. </div><div><br></div><div>4) If Fuel is just a deployment script, then I'd say we should not run any post install dialog. Deployment script is to run this dialog (fuelmenu) and then run puppet. IMO it sounds reasonable.</div><div><br></div><div><br></div><div>[0] <a href="http://www.fifi.org/doc/debconf-doc/tutorial.html">http://www.fifi.org/doc/debconf-doc/tutorial.html</a></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div>Vladimir Kozhukalov</div></div></div>
<br><div class="gmail_quote">On Fri, Dec 11, 2015 at 11:14 PM, Oleg Gelbukh <span dir="ltr"><<a href="mailto:ogelbukh@mirantis.com" target="_blank">ogelbukh@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">For the package-based deployment, we need to get rid of 'deployment script' whatsoever. All configuration stuff should be done in package specs, or by the user later on (maybe via some fuelmenu-like lightweight UI, or via WebUI).<div><br></div><div>Thus, fuel package must install everything that is required for running base Fuel as it's dependencies (or dependencies of it's dependencies, as it could be more complicated with cross-deps between our components).</div><div><br></div><div>--</div><div>Best regards,</div><div>Oleg Gelbukh</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Dec 11, 2015 at 10:45 PM, Vladimir Kozhukalov <span dir="ltr"><<a href="mailto:vkozhukalov@mirantis.com" target="_blank">vkozhukalov@mirantis.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Dear colleagues,</div><div><br></div><div>At the moment part of the Fuel master deployment logic is located in ISO kickstart file, which is bad. We'd better carefully split provisioning and deployment stages so as to install base operating system during provisioning stage and then everything else on the deployment stage. That would make it possible to deploy Fuel on pre-installed vanilla Centos 7. Besides, if we have deb packages for all Fuel components it will be easy to support Fuel deployment on pre-installed Ubuntu and Debian.</div><div><br></div><div>We (Fuel build team) are going to do this ASAP [0]. Right now we are on the stage of writing design spec for the change [1].</div><div><br></div><div>Open questions are:</div><div>1) Should fuel package have all other fuel packages like nailgun, astute, etc. as its dependencies? Or maybe it should install only puppet modules and deployment script that then could be used to deploy everything else? </div><div><br></div><div>2) bootstrap_admin_node.sh runs fuelmenu and then puppet to deploy Fuel components. Should we run this script as post-install script or maybe we should leave this up to a user to run this script later when fuel package is already installed?</div><div><br></div><div>Anyway, the final goal is to make ISO just one of possible delivery schemes. Primary delivery approach should be rpm/deb repo, not ISO.<br></div><div><br></div><div>[0] <a href="https://blueprints.launchpad.net/fuel/+spec/separate-fuel-node-provisioning" target="_blank">https://blueprints.launchpad.net/fuel/+spec/separate-fuel-node-provisioning</a><br></div><div>[1] <a href="https://review.openstack.org/#/c/254270/" target="_blank">https://review.openstack.org/#/c/254270/</a></div><span><font color="#888888"><br clear="all"><div><div><div>Vladimir Kozhukalov</div></div></div>
</font></span></div>
<br></div></div>__________________________________________________________________________<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>
<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>