<div dir="ltr"><div><div><div><div><div>I'm against getting rid of fuelmenu. As Alex wrote - we need to remember who are the people that we are targeting.<br></div>We are adding multiple dialog windows with confirmations, warnings and special way to do dangerous actions<br></div>(like environment deletion or reset), but in the same time we want to force users to change config file.<br></div>If the UX of fuelmenu is bad - then we can change it. If the code is hard to maintain and extend - well, I hope that no<br></div>one need explanations what to do with and how to avoid such issues in future.<br></div><div>So I would rather spend time on improving fuelmenu than write a new thing that will not be better.<br><br></div><div>Sebastian<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-23 19:04 GMT+02:00 Alex Schultz <span dir="ltr"><<a href="mailto:aschultz@mirantis.com" target="_blank">aschultz@mirantis.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">For this to be consumable by end-users, a config file and editor (vim seriously?) is terrible UX.  We need to remember who we are targeting to consume this functionality as it may not be an expert or even someone absolutely familiar with the linux tool set.  While the existing thing may be awkward, it is going to be less error prone to someone accidentally deleteing half of a config file and not being able to recover.  If you want to ditch ncurses, then sure why don't we switch to an answer file and question/answer wizard for configuration?  This would allow both validation and the ability to override it with a config file.<span class="HOEnZb"><font color="#888888"><div><br></div><div>-Alex</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 23, 2015 at 11:49 AM, Vladimir Kozhukalov <span dir="ltr"><<a href="mailto:vkozhukalov@mirantis.com" target="_blank">vkozhukalov@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">The topic is NOT 'get rid of validation' but rather 'get rid of semi-graphical ncurses based interface'. It is not so hard to adopt every piece of validation we currently have in fuelmenu and implement even more including syntax validation using, for example, PLY and logic validation. My idea is to switch from ncurses to plain text file (thoroughly commented), because it so easy to add new parameters or remove those we don't need any more.<span><font color="#888888"><div><br></div><div><br></div><div><br></div></font></span></div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div><div>Vladimir Kozhukalov</div></div></div>
<br></font></span><div class="gmail_quote"><div><div>On Thu, Jul 23, 2015 at 6:17 PM, Nick Chase <span dir="ltr"><<a href="mailto:nchase@mirantis.com" target="_blank">nchase@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>
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span>
    <br>
    <br>
    <blockquote type="cite">
      <div class="gmail_extra">
        <div class="gmail_quote">On Thu, Jul 23, 2015 at 4:05 PM,
          Matthew Mosesohn <span dir="ltr"><<a href="mailto:mmosesohn@mirantis.com" target="_blank"></a><a href="mailto:mmosesohn@mirantis.com" target="_blank">mmosesohn@mirantis.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here's a
            relic of what users used to have to configure by<br>
            hand:<br>
            <a href="https://github.com/stackforge/fuel-library/blob/b015ed975b58dddff3b8da0ce34d9a638c22d032/deployment/puppet/openstack/examples/site_simple.pp" rel="noreferrer" target="_blank">https://github.com/stackforge/fuel-library/blob/b015ed975b58dddff3b8da0ce34d9a638c22d032/deployment/puppet/openstack/examples/site_simple.pp</a><br>
            <br>
            Am I alone in thinking it's not the best use of our
            development<br>
            resources to throw it away and replace it with a text file
            that is<br>
            edited by hand?<br>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br></span>
    Please, please, please, I'm having PTSD just remembering that
    @#$%@#%$ file.  I think I was able to successfully deploy without
    major engineering help about 2% of the time.  We absolutely,
    positively, MUST maintain the validation.<br>
    <br>
    Just because the people installing OpenStack are generally not
    afraid to edit config files doesn't mean that we should be making
    them do it.<span><font color="#888888"><br>
    <br>
    ---- Nick<br>
  </font></span></div>

<br></div></div><span>__________________________________________________________________________<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></span></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>
</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>