[openstack-dev] [Fuel] [Plugins] Node role as a plugin is in master

Igor Kalnitsky ikalnitsky at mirantis.com
Wed Jul 22 10:09:52 UTC 2015


Hi fuelers,

I'm glad to announce that bp/role-as-a-plugin story [1] has been
successfully implemented. Since yesterday all functional is in master,
feel free to use it in your plugins.

Briefly, now you are able..

* to define new node roles in the similar to openstack.yaml way with
all supported meta flags (e.g. public_ip_requires, updates_requires,
etc)
* to define new deployment tasks for new and/or existing node roles
(you can inject new task almost everywhere, since it will go through
one global deployment graph)
* to define new volumes and volumes mapping schema for your node roles
(you don't need to perform partitioning in your deployment script on
your own)
* to overwrite any deployment task for existing roles or even skip it
so it won't be executed at all
* to reuse some useful core tasks in your roles (e.g. hiera, globals,
netconfig, etc)

Bonus:

If you need something to edit in installed plugins, you can edit it
inplace (/var/www/nailgun/plugins/your-plugin) and apply all changes
by asking Nailgun to sync it:

  $ fuel plugins --sync

Please note, in order to use all these features you need

* to run Fuel ISO from master branch
* to use fuel plugin builder from master branch

Thanks,
Igor

[1]: https://blueprints.launchpad.net/fuel/+spec/role-as-a-plugin



More information about the OpenStack-dev mailing list