openstack-manuals/doc/install-guide/source/environment-packages-ubuntu...

2.2 KiB

OpenStack packages for Ubuntu

Ubuntu releases OpenStack with each Ubuntu release. Ubuntu LTS releases are provided every two years. OpenStack packages from interim releases of Ubuntu are made available to the prior Ubuntu LTS via the Ubuntu Cloud Archive.

OpenStack Queens is available directly using Ubuntu 18.04 LTS and OpenStack Mitaka is available directly using Ubuntu 16.04 LTS without having to enable an Ubuntu Cloud Archive repository.

Note

The set up of OpenStack packages described here needs to be done on all nodes: controller, compute, and Block Storage nodes.

Warning

Your hosts must contain the latest versions of base installation packages available for your distribution before proceeding further.

Note

Disable or remove any automatic update services because they can impact your OpenStack environment.

Enable the repository for Ubuntu Cloud Archive

OpenStack Stein for Ubuntu 18.04 LTS:

# add-apt-repository cloud-archive:stein

OpenStack Rocky for Ubuntu 18.04 LTS:

# add-apt-repository cloud-archive:rocky

OpenStack Queens for Ubuntu 16.04 LTS:

# apt install software-properties-common
# add-apt-repository cloud-archive:queens

Note that OpenStack Queens is included in Ubuntu 18.04 LTS without enabling the Ubuntu Cloud Archive.

OpenStack Pike for Ubuntu 16.04 LTS:

# apt install software-properties-common
# add-apt-repository cloud-archive:pike

Note

For a full list of supported Ubuntu OpenStack releases, see "Ubuntu OpenStack release cycle" at https://www.ubuntu.com/about/release-cycle.

Finalize the installation

  1. Upgrade packages on all nodes:

    # apt update && apt dist-upgrade

    Note

    If the upgrade process includes a new kernel, reboot your host to activate it.

  2. Install the OpenStack client:

    OpenStack Stein for Ubuntu 18.04 LTS:

    # apt install python3-openstackclient

    Others:

    # apt install python-openstackclient