[nailgun] Extracting the list of all enabled plugins from astute.yaml

Bug #1528212 reported by Dmitry Ilyin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Dmitry Ilyin
8.0.x
Fix Released
Critical
Dmitry Ilyin
Mitaka
Fix Released
Critical
Dmitry Ilyin

Bug Description

We need a way to get the list of all enabled plugins from astute.yaml dureing the deployment.

Previously every plugin had a section in astute.yaml with the same name and plugin_id field inside it, so
I could find all plugins by finding all sections with this key.
But now plugin_id have disappeared and this method no longer works.

So, please, do one of this things
* Return plugin_id field to where it belongs
* Create a new array in the root of astute yaml with names of all enabled plugins
* Invent some other way to pass the list of enabled plugins

Tags: area-python
Revision history for this message
Dmitry Ilyin (idv1985) wrote :

Setting Critical because it have broken my Hiera plugin extension which have already stated to be used by plugin developers

summary: - Extracting the list of all enabled plugins from astute.yaml
+ [nailgun] Extracting the list of all enabled plugins from astute.yaml
Changed in fuel:
assignee: nobody → Fuel Python Team (fuel-python)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Andriy Popovych (popovych-andrey)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/260143

Changed in fuel:
status: Confirmed → In Progress
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/260190

Maciej Relewicz (rlu)
tags: added: area-library
tags: added: area-python
Dmitry Pyzhov (dpyzhov)
tags: removed: area-library
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/261513

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/260143
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=f835e19b73f351b6ade02e6681b3b94d18852435
Submitter: Jenkins
Branch: master

commit f835e19b73f351b6ade02e6681b3b94d18852435
Author: Andriy Popovych <email address hidden>
Date: Mon Dec 21 20:10:33 2015 +0200

    Send the list of all enabled plugins into astute

    Hiera plugin extension needs a way to get a list of all enabled plugins in
    cluster from astute.yaml during the deployment.

    Change-Id: I819bf8e547ecd8eeabffefda4579c2a3e73d0fcf
    Closes-Bug: #1528212

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/8.0)

Reviewed: https://review.openstack.org/261513
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=0af2161acde7603b24afed160786de1279fc27fd
Submitter: Jenkins
Branch: stable/8.0

commit 0af2161acde7603b24afed160786de1279fc27fd
Author: Andriy Popovych <email address hidden>
Date: Mon Dec 21 20:10:33 2015 +0200

    Send the list of all enabled plugins into astute

    Hiera plugin extension needs a way to get a list of all enabled plugins in
    cluster from astute.yaml during the deployment.

    Change-Id: I819bf8e547ecd8eeabffefda4579c2a3e73d0fcf
    Closes-Bug: #1528212

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

Related fix proposed to branch: stable/8.0
Review: https://review.openstack.org/261547

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

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

commit 515428cd5fdce8c95e27d0d04190be0c70d9d368
Author: Dmitry Ilyin <email address hidden>
Date: Mon Dec 21 22:43:05 2015 +0300

    Switch hiera_config to use "plugins" list

    * Use provided list of enabled plugins instead of
      looking for the metadata sections.

    Change-Id: Ie6a15519cf5cfcad60af380ce23d4325d554d073
    Related-Bug: 1528212

Revision history for this message
Olesia Tsvigun (otsvigun) wrote :

Verified at Fuel ISO#437

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

back to in progress. https://review.openstack.org/#/c/261547/ needs to get merged to stable/8.0 still

Changed in fuel:
status: Fix Released → In Progress
assignee: Andriy Popovych (popovych-andrey) → Dmitry Ilyin (idv1985)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (stable/8.0)

Reviewed: https://review.openstack.org/261547
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=72d6ee230341d1291fd38de1afbf15857e086fdf
Submitter: Jenkins
Branch: stable/8.0

commit 72d6ee230341d1291fd38de1afbf15857e086fdf
Author: Dmitry Ilyin <email address hidden>
Date: Mon Dec 21 22:43:05 2015 +0300

    Switch hiera_config to use "plugins" list

    * Use provided list of enabled plugins instead of
      looking for the metadata sections.

    Change-Id: Ie6a15519cf5cfcad60af380ce23d4325d554d073
    Related-Bug: 1528212

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.