Update example plugin accordingly to the new format 4 version

Bug #1533771 reported by Alexander Kurenyshev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Ilya Kutukov
8.0.x
In Progress
High
MOS Maintenance

Bug Description

We have a new format for plugins version 4. It is described here [1]
But here [2] we have an outdated format which is copy-pasted from version 3. And examples 4 plugins should be updated.
Because for now when we generating a new plugin with FuelPluginBuilder, it builds an old version content but with plugin_version==4.0.0

[1] https://github.com/openstack/fuel-plugins/tree/master/fuel_plugin_builder/templates/v4/plugin_data
[2] https://github.com/openstack/fuel-plugins/tree/master/examples/fuel_plugin_example_v4

Ilya Kutukov (ikutukov)
Changed in fuel:
status: New → Confirmed
assignee: Fuel Python Team (fuel-python) → Ilya Kutukov (ikutukov)
tags: added: area-plugins
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugins (master)

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (stable/8.0)

Change abandoned by Ilya Kutukov (<email address hidden>) on branch: stable/8.0
Review: https://review.openstack.org/272561

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

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

commit 3ecb245061899490b5ec0b314aea6214c12f8cb7
Author: Ilya Kutukov <email address hidden>
Date: Fri Jan 15 21:35:31 2016 +0300

    Plugin package v5.0.0 support introduced

    Plugins v5.0.0 use task-based deployment directives using tasks
    v2.0.0 with cross-dependencies and per-task strategy.

    V4.0.0 allows both experimental and granular deployment directives
    (tasks v1.0.0 and tasks v2.0.0) and using them according to `task_deploy`
    environment flag setting.

    Change-Id: I697dc22a58a9ff2ad8bd9d955d2b2c5351c746ab
    Closes-Bug: #1533771

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote :

Up priority, since customers needs this functional in 8.0

Changed in fuel:
importance: Medium → High
Revision history for this message
Bulat Gaifullin (bulat.gaifullin) wrote :

Also the patch is trivial and it helps for customers test their plugins with task-based-deployment.

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

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

commit 0f066ac2aa52e3ec6620297e6e9b0a1edc69b71d
Author: Ilya Kutukov <email address hidden>
Date: Fri Jan 15 21:35:31 2016 +0300

    Plugin package v5.0.0 support introduced

    Plugins v5.0.0 use task-based deployment directives using tasks
    v2.0.0 with cross-dependencies and per-task strategy.

    V4.0.0 allows both experimental and granular deployment directives
    (tasks v1.0.0 and tasks v2.0.0) and using them according to `task_deploy`
    environment flag setting.

    Change-Id: I697dc22a58a9ff2ad8bd9d955d2b2c5351c746ab
    Closes-Bug: #1533771

Revision history for this message
Ilya Kutukov (ikutukov) wrote :

This bug was triggered to fix commited state by mistake due misprint in commit tag.

Ilya Kutukov (ikutukov)
Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
tags: added: non-release
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 8.0 → 9.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugins (master)

Reviewed: https://review.openstack.org/269785
Committed: https://git.openstack.org/cgit/openstack/fuel-plugins/commit/?id=3d056b76633308ff16284c0f03c96f5681081cdb
Submitter: Jenkins
Branch: master

commit 3d056b76633308ff16284c0f03c96f5681081cdb
Author: Ilya Kutukov <email address hidden>
Date: Tue Jan 19 20:46:13 2016 +0300

    Example plugins and templates is updated accordingly to package version v4.0.0

    Task-based deployment is intoduced as experimental orchestrator in Fuel v8.0.0
    Plugins v4.0.0 could use tasks v2.0.0 in deployment_tasks.yaml

    Also small problem with existing but empty legacy tasks.yaml is fixed.

    Change-Id: Ibf8d65833b74c79e0c63ae9c51995c953b83d301
    Closes-Bug: #1533771
    Related-Bug: #1534235

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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