hiera_config improvements

Bug #1618139 reported by Dmitry Ilyin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Dmitry Ilyin

Bug Description

hiera_config is a resource designed to generate the configuratio file for hiera on the managed nodes.
Practice have shown that it's not flexible enough.
Plugin writers require following features:

* It should add elements for all enabled plugins
* It should add elements for every file in the plugins folder
* It should allow plugins to report additional hiera elements to be added to the hierarchy.
* There should be a way to add supplementary top and bottom layers

Revision history for this message
Dmitry Ilyin (idv1985) wrote :
description: updated
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Dmitry Ilyin (idv1985)
status: New → Confirmed
milestone: none → 9.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (stable/mitaka)

Related fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/362478

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/361461
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=efe27d1c7e2a792a30e28a5e48fe5bbfb1cd552b
Submitter: Jenkins
Branch: master

commit efe27d1c7e2a792a30e28a5e48fe5bbfb1cd552b
Author: Dmitry Ilyin <email address hidden>
Date: Fri Aug 26 15:22:36 2016 -0500

    Refactoring of the hiera_config resource

    Additional features required by the plugin authors

    * Collect additional files from "plugins" directory.
    * Collect additional files from the enabled plugins in the metadata
    * Collect additional files from the "hiera" key of each plugin
      in the "plugins" section and "hiera" section of each plugin's
      metadata section.
    * Add top and buttom additional sets of elements.

    Related-Bug: 1618139
    Change-Id: I95c31b9f8133d48627afc620a9fe20dbd5cf9512

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (stable/mitaka)

Reviewed: https://review.openstack.org/362478
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=a14dda72f7a48b4e122b358cbe200a5e94c70425
Submitter: Jenkins
Branch: stable/mitaka

commit a14dda72f7a48b4e122b358cbe200a5e94c70425
Author: Dmitry Ilyin <email address hidden>
Date: Fri Aug 26 15:22:36 2016 -0500

    Refactoring of the hiera_config resource

    Additional features required by the plugin authors

    * Collect additional files from "plugins" directory.
    * Collect additional files from the enabled plugins in the metadata
    * Collect additional files from the "hiera" key of each plugin
      in the "plugins" section and "hiera" section of each plugin's
      metadata section.
    * Add top and buttom additional sets of elements.

    Cherry picked from: efe27d1c7e2a792a30e28a5e48fe5bbfb1cd552b
    Related-Bug: 1618139
    Change-Id: I95c31b9f8133d48627afc620a9fe20dbd5cf9512

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/361462
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=78a276eb6c09ba59cfe07a8a848cb10d3cfe3455
Submitter: Jenkins
Branch: master

commit 78a276eb6c09ba59cfe07a8a848cb10d3cfe3455
Author: Dmitry Ilyin <email address hidden>
Date: Fri Aug 26 15:44:10 2016 -0500

    Use hiera_config on the fuel master

    * Use the hiera_config instead of the template
      on the Fuel master node the same way as it's used
      on all the managed nodes.

    Related-Bug: 1618139
    Change-Id: Iaaee3d0887647c65debb91a611ab09f9da6c671f

Dmitry Ilyin (idv1985)
Changed in fuel:
status: Confirmed → Fix Committed
tags: added: dev-to-verify
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/382103

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Dmitry Ilyin (<email address hidden>) on branch: master
Review: https://review.openstack.org/382103

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.