Comment 4 for bug 1598846

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

Reviewed: https://review.openstack.org/337250
Committed: https://git.openstack.org/cgit/openstack/instack-undercloud/commit/?id=c6afcc818e55d127932613a37c1bcb58ac472c08
Submitter: Jenkins
Branch: stable/liberty

commit c6afcc818e55d127932613a37c1bcb58ac472c08
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)
    (cherry picked from commit ecb3d7e23db363c8a8a8dc2ade84f5531377da9e)