Use stevedore for loading plugins

Registered by Tomas Sedovic

Heat uses its own plugin loading mechanism:

https://github.com/openstack/heat/blob/master/heat/common/plugin_loader.py

We should join the ranks of nova, glance and ceilometer and switch to stevedore:

https://github.com/openstack/stevedore

It will give us greater control over the which modules to load (see https://launchpad.net/bugs/1292655) and will make things more consistent across OpenStack.

Blueprint information

Status:
Complete
Approver:
Angus Salkeld
Priority:
Low
Drafter:
Tomas Sedovic
Direction:
Needs approval
Assignee:
Angus Salkeld
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Angus Salkeld
Completed by
Angus Salkeld

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/stevedore-plugins,n,z

Addressed by: https://review.openstack.org/102990
    Support loading constraints as stevedore extensions

Addressed by: https://review.openstack.org/103044
    Support loading resources from stevedore extensions

Addressed by: https://review.openstack.org/103113
    Change template loading to use stevedore extensions

Addressed by: https://review.openstack.org/103484
    Change functions to stevedore extensions

Gerrit topic: https://review.openstack.org/#q,topic:stevedore-plugins,n,z

Addressed by: https://review.openstack.org/103441
    Use setuptools to install contrib plugins

Addressed by: https://review.openstack.org/105334
    Use setuptools to install contrib plugins

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.