Allow OpenStack services to use a python venv

Registered by Jesse Pretorius

There are two problems that we need to start anticipating:

  * Some OpenStack services are running on physical hosts in the root
    namespace. This creates a situation where it's possible for a service to
    have conflicting requirements with what is already on the host installed
    through the host package manager. In these situation we've found some
    instabilities that needed workarounds to ensure there are no stability or
    usage issues with the service.

  * OpenStack services have started moving toward a non-integrated release
    which will allow projects to change their release cycle / cadence which
    will effect versions of services that we deploy. Additionally, these
    projects may choose to use dependencies outside of what is set in Global
    requirements.

The use of on metal services, the change in release cycles / cadence, and
the likelihood of projects using requirements that conflict with one another
requires more separation between the installed projects which lends itself
to using a virtual environment for installed OpenStack Python code.

Blueprint information

Status:
Complete
Approver:
Jesse Pretorius
Priority:
High
Drafter:
Kevin Carter
Direction:
Needs approval
Assignee:
Kevin Carter
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 12.0.0
Started by
Jesse Pretorius
Completed by
Kevin Carter

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/enable-venv-support-within-the-roles,n,z

Addressed by: https://review.openstack.org/225463
    Implement cinder venv support

Addressed by: https://review.openstack.org/229212
    Implement ceilometer venv support

Addressed by: https://review.openstack.org/229221
    Implement glance venv support

Addressed by: https://review.openstack.org/229225
    Implement heat venv support

Addressed by: https://review.openstack.org/229226
    Implement horizon venv support

Addressed by: https://review.openstack.org/229513
    Implement keystone venv support

Addressed by: https://review.openstack.org/230726
    Implement neutron venv support

Addressed by: https://review.openstack.org/230727
    Implement nova venv support

Addressed by: https://review.openstack.org/230733
    Implement swift venv support

Addressed by: https://review.openstack.org/231101
    Updates the lint check to ignore templates

Addressed by: https://review.openstack.org/231117
    Updates the lint check to ignore templates

Addressed by: https://review.openstack.org/232224
    Seperated out Telemetry Alarming (Aodh)

Addressed by: https://review.openstack.org/233401
    Implement aodh venv support

Gerrit topic: https://review.openstack.org/#q,topic:bp/enable-venv-support-within-the-roles.venv-dist,n,z

Gerrit topic: https://review.openstack.org/#q,topic:shippable-venvs,n,z

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.