[openstack-dev] [tripleo] How to integrate a Heat plugin in a containerized deployment?

Ricardo Noriega De Soto rnoriega at redhat.com
Mon Jul 23 09:50:38 UTC 2018


Hello guys,

I need to deploy the following Neutron BGPVPN heat plugin.

https://docs.openstack.org/networking-bgpvpn/ocata/heat.html


This will allow users, to create Heat templates with BGPVPN resources.
Right now, BGPVPN service plugin is only available in
neutron-server-opendaylight Kolla image:

https://github.com/openstack/kolla/blob/master/docker/neutron/neutron-server-opendaylight/Dockerfile.j2#L13


It would make sense to add right there the python-networking-bgpvpn-heat
package. Is that correct? Heat exposes a parameter to configure plugins
( HeatEnginePluginDirs), that corresponds to plugins_dir parameter in
heat.conf.

What is the issue here?

Heat will try to search any available plugin in the path determined by
HeatEnginePluginDirs,
however, the heat plugin is located in a separate container (neutron_api).
How should we tackle this? I see no other example of this type of
integration.

AFAIK, /usr/lib/python2.7/site-packages is not exposed to the host as a
mounted volume, so how is heat supposed to find bgpvpn heat plugin?

Thanks for your advice.

Cheers


-- 
Ricardo Noriega

Senior Software Engineer - NFV Partner Engineer | Office of Technology  |
Red Hat
irc: rnoriega @freenode
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180723/75a97d99/attachment.html>


More information about the OpenStack-dev mailing list