[openstack-dev] [fuel][plugins] Ability of plugin to provision switches before node deployment

Evgeniy L eli at mirantis.com
Tue Jul 21 08:08:11 UTC 2015

Hi Steven, thank you for letting us know about your use case,

The problem is caused because since 6.1 release we run
part of network verification tasks before deployment [1], from
the code it can be seen, that this check is hardcoded [2], before
we send any deployment tasks, so we should figure out a way
to fix it.

Possible options:

1. run network verification us a part of deployment, somewhere
    in pre_deployment stage, between pre_deployment/4999 and
    pre_deployment/6000 [3], but it doesn't cover the case when user
    wants to just run network verification on Network tab

2. introduce new stage pre_network_verification which will be
    run before we start network verification, so you will be able
    to configure switches

Also I would like to notice, that role as a plugin feature which
will allow to change deployment graph of the core, will not help
here [4]. Because network verification is not a part of the graph.


[1] https://bugs.launchpad.net/fuel/+bug/1439686
[3] https://wiki.openstack.org/wiki/Fuel/Plugins#stage_parameter

On Tue, Jul 21, 2015 at 12:49 AM, Steven Kath <kath at linux.com> wrote:

> Hi,
> I'm hoping to design a FUEL plugin which can provision a switch or set
> of switches according to the Network Settings specified when first
> configuring an environment in FUEL.
> We have puppet manifests which allow us to configure every aspect
> of our switches, including the plumbing of VLANs. It would be possible
> for us to configure the VLANs as specified in the environment's
> Network Settings prior to, or as part of, the "Verify Networks" stage.
> As far as I can tell, there aren't any FUEL plugin hooks this early in
> the provisioning process. I can't find where to initiate any
> configuration of a remote device before validating the network
> settings. I've looked at a number of the networking plugins for FUEL
> and they all seem to be focused on adding overlays, pre-supposing a
> static underlay network configuration which the plugins never
> manipulate.
> Can anyone confirm whether the current FUEL capabilities, or planned
> FUEL 7.0 functionality, would allow for this sort of pre-deployment
> network configuration?
> Are there any relevant documentation sections or plugin examples
> which I might have overlooked?
> Thanks!
> - Steven
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150721/3062cab6/attachment.html>

More information about the OpenStack-dev mailing list