Comment 3 for bug 1598846

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to instack-undercloud (stable/mitaka)

Reviewed: https://review.openstack.org/337243
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=520c96759237b4baac6cd8c5b7a3c04e1e1b94fb
Submitter: Jenkins
Branch: stable/mitaka

commit 520c96759237b4baac6cd8c5b7a3c04e1e1b94fb
Author: Ben Nemec <email address hidden>
Date: Thu Mar 24 19:09:30 2016 +0000

    Generate most of the pystache context automatically

    For the most part, the pystache context is just a list of values from
    undercloud.conf. Rather than maintain this list manually, including
    duplicate default values (some of which are bad, like the "unset"
    password defaults), let's just generate the context dict based on
    the options we can look up from undercloud.py.

    This also avoids masking mistakes where a value is added to the
    context, but a corresponding config opt is not added to
    undercloud.conf, resulting in an unconfigurable "option".

    Closes-Bug: 1598846
    Change-Id: I70cc0f98e4f869417e22270a71f1f18525a06aac
    (cherry picked from commit c03d2ccbbc46398b898f6fbaf90e296e749a4ca8)