Install OpenStack services from distribution packages

Registered by Markos Chandras on 2018-03-26

OpenStack-Ansible installs the OpenStack services from the source. Whilst this is great in terms of flexibility, it creates some problems such as:

- Long deployment times since wheel packages need to be build and distributed.
- Unsupported installations by distributions. The versions of OpenStack services built from source do not necessarily match what distributions test together as part of their integration and verification process so it's hard for them to provide support for such installations. As a result of which, operators have limited options when seeking technical support for their deployments.

The purpose of this blueprint is to add an additional installation method to all the OpenStack ansible roles in which the services will be installed using the packages provided by the distributions themselves. The benefit of this new method is twofold:

- Use supported packages by distributions and provide feedback back to them. This benefits both distributions and operators since both ends use packages which have passed integration and functional testing before being released.
- Shorten deployment times since binary packages are used instead of building new ones from source.

Blueprint information

Status:
Started
Approver:
Jean-Philippe Evrard
Priority:
High
Drafter:
Markos Chandras
Direction:
Approved
Assignee:
Markos Chandras
Definition:
Approved
Series goal:
Proposed for trunk
Implementation:
Good progress
Milestone target:
None
Started by
Markos Chandras on 2018-05-15

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/556831
    doc: source: index: Add Rocky specifications to index

Addressed by: https://review.openstack.org/556832
    specs: rocky: Add new openstack-distribution-packages specification

Addressed by: https://review.openstack.org/559757
    test-install-keystone: Do not hardcode path for keystone-manage binary

Addressed by: https://review.openstack.org/560307
    templates: keystone-uwsgi: Explicitly load the required uwsgi plugins

Addressed by: https://review.openstack.org/560308
    [RFC] Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/562262
    Avoid mixing pip and distribution packages.

Addressed by: https://review.openstack.org/562276
    Drop pointless PIP packages

Addressed by: https://review.openstack.org/562280
    Avoid mixing pip and distribution packages.

Addressed by: https://review.openstack.org/562606
    Avoid mixing pip and distribution packages.

Addressed by: https://review.openstack.org/562607
    Avoid mixing pip and distribution packages

Addressed by: https://review.openstack.org/563667
    tasks: Ensure /etc/keystone/credential-keys is created on time

Addressed by: https://review.openstack.org/563670
    defaults: Add virtualenv to default pip packages

Addressed by: https://review.openstack.org/563684
    tasks: Use PIP distribution packages for openSUSE and Ubuntu

Addressed by: https://review.openstack.org/564259
    zuul.d: Add jobs for installing OpenStack services from distribution packages

Addressed by: https://review.openstack.org/564812
    Revert "tasks: Use PIP distribution packages for openSUSE and Ubuntu"

Addressed by: https://review.openstack.org/564832
    Adjust how pip distro packages are implemented

Addressed by: https://review.openstack.org/566092
    defaults: Allow uwsgi to autoload required plugins.

Addressed by: https://review.openstack.org/566093
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/566314
    defaults: Allow uwsgi to autoload required plugins.

Addressed by: https://review.openstack.org/566315
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/567529
    defaults: Allow uwsgi to autoload required plugins.

Addressed by: https://review.openstack.org/567530
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/567796
    vars: Do not install build dependencies for distro installs

Addressed by: https://review.openstack.org/567808
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/567870
    vars: Do not install build dependencies for distro installs

Addressed by: https://review.openstack.org/568311
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/569161
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/569457
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/570165
    defaults: Allow uwsgi to autoload required plugins.

Addressed by: https://review.openstack.org/570166
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/571189
    Fix heat_uwsgi_bin value for source-based builds

Addressed by: https://review.openstack.org/571393
    Do not pip install keystoneclient on the host

Addressed by: https://review.openstack.org/571394
    Do not pip install keystoneclient on the host

Addressed by: https://review.openstack.org/571395
    Do not pip install keystoneclient on the host

Addressed by: https://review.openstack.org/571401
    Do not pip install keystoneclient on the host

Addressed by: https://review.openstack.org/571474
    defaults: Do not install the cinderclient package

Addressed by: https://review.openstack.org/571475
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/571476
    Do not pip install keystoneclient on the host

Addressed by: https://review.openstack.org/571684
    vars: Do not pull devel packages on distro installations

Addressed by: https://review.openstack.org/572034
    vars: Do not pull devel packages on distro installations

Addressed by: https://review.openstack.org/572040
    vars: Do not pull devel packages on distro installations

Addressed by: https://review.openstack.org/572043
    vars: Do not pull devel packages on distro installations

Addressed by: https://review.openstack.org/572062
    vars: Do not pull devel packages on distro installations

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

Addressed by: https://review.openstack.org/573057
    Install EPEL repositories manually and exclude Python packages

Addressed by: https://review.openstack.org/573384
    [DNM] test disabling all python packages from epel

Addressed by: https://review.openstack.org/573661
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/573754
    test-distro_install-vars: Add new var file for distro installations

Addressed by: https://review.openstack.org/573758
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575418
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575428
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575452
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575454
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575455
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575456
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575457
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575459
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575460
    tox.ini: Use common vars file for distibution installations

Addressed by: https://review.openstack.org/575701
    Do not pip install keystoneclient on the host

Addressed by: https://review.openstack.org/579151
    SUSE: Add missing openstack-neutron-l3-agent package

Addressed by: https://review.openstack.org/579127
    templates: dnsmasq-neutron.conf: Fix user for dnsmasq process

Addressed by: https://review.openstack.org/579770
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/580455
    tasks: tempest_install: Add conditional for PIP package installation

Addressed by: https://review.openstack.org/580601
    Fix ordering of source/console installs

Addressed by: https://review.openstack.org/580739
    vars: Add missing 'neutron-metering-agent' package

Addressed by: https://review.openstack.org/583879
    Preparing group of host is not a "change"

Addressed by: https://review.openstack.org/584285
    Automatic skip of the repo build for distro installs

Addressed by: https://review.openstack.org/584327
    tasks: horizon_post_install: Ensure horizon dashboard directory is accessible

Addressed by: https://review.openstack.org/584328
    tasks: horizon_post_install: Add missing become statements for horizon user

Addressed by: https://review.openstack.org/584329
    tasks: horizon_post_install: Add 'force' parameter when creating symlink

Addressed by: https://review.openstack.org/584330
    Add support for using distribution packages for OpenStack services

Addressed by: https://review.openstack.org/584765
    zuul: Add aio_lxc jobs for distribution installations

Addressed by: https://review.openstack.org/587798
    Revert "defaults: Add virtualenv to default pip packages"

Addressed by: https://review.openstack.org/589128
    vars: Add missing python-keystonemiddleware dependency

Addressed by: https://review.openstack.org/589398
    [docs] Add documentation for 'install_method' variable

Addressed by: https://review.openstack.org/652049
    Add support for using distribution packages for OpenStack services

Gerrit topic: https://review.opendev.org/#/q/topic:bp/openstack-distribution-packages

Addressed by: https://review.opendev.org/652049
    Add support for using distribution packages for OpenStack services

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.