How To Install python3-octavia on Ubuntu 20.04

In this tutorial we learn how to install python3-octavia on Ubuntu 20.04. python3-octavia is OpenStack Load Balancer as a Service - Python libraries OpenStack Load Balancer as a Service - Python libraries

Introduction

In this tutorial we learn how to install python3-octavia on Ubuntu 20.04.

What is python3-octavia

python3-octavia is:

Openstack Load Balancer as a Service, codenamed Octavia was borne out of the Neutron LBaaS project. Its conception influenced the transformation of the Neutron LBaaS project, as Neutron LBaaS moved from version 1 to version 2. Starting with the Liberty release of OpenStack, Octavia has become the reference implementation for Neutron LBaaS version 2.

Octavia accomplishes its delivery of load balancing services by managing a fleet of virtual machines, containers, or bare metal servers—collectively known as amphorae— which it spins up on demand. This on-demand, horizontal scaling feature differentiates Octavia from other load balancing solutions, thereby making Octavia truly suited “for the cloud.”.

This package contains the Python files and libraries.

Package: python3-octavia Architecture: all Version: 6.0.0~b3~git2020041014.771a5d87-0ubuntu1 Priority: optional Section: universe/python Source: octavia Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 6066 Depends: python3-alembic (>= 0.8.10), python3-babel (>= 2.3.4), python3-barbicanclient (>= 4.5.2), python3-castellan (>= 0.16.0), python3-cinderclient (>= 1:3.3.0), python3-cotyledon (>= 1.3.0), python3-cryptography (>= 2.1), python3-debtcollector (>= 1.19.0), python3-diskimage-builder (>= 2.24.0), python3-distro (>= 1.2.0), python3-flask (>= 0.10), python3-futurist (>= 1.2.0), python3-glanceclient (>= 1:2.8.0), python3-gunicorn (>= 19.9.0), python3-jinja2 (>= 2.10), python3-jsonschema (>= 2.6.0), python3-keystoneauth1 (>= 3.4.0), python3-keystonemiddleware (>= 4.17.0), python3-netaddr (>= 0.7.19), python3-netifaces (>= 0.10.4), python3-neutronclient (>= 1:6.7.0), python3-novaclient (>= 2:9.1.0), python3-octavia-lib (>= 1.5.0), python3-openssl (>= 17.1.0), python3-oslo.config (>= 1:5.2.0), python3-oslo.context (>= 1:2.19.2), python3-oslo.db (>= 4.27.0), python3-oslo.i18n (>= 3.15.3), python3-oslo.log (>= 3.36.0), python3-oslo.messaging (>= 6.3.0), python3-oslo.middleware (>= 3.31.0), python3-oslo.policy (>= 1.30.0), python3-oslo.reports (>= 1.18.0), python3-oslo.serialization (>= 2.18.0), python3-oslo.upgradecheck (>= 0.1.0), python3-oslo.utils (>= 3.33.0), python3-pecan (>= 1.3.2), python3-pyasn1 (>= 0.1.8), python3-pyasn1-modules (>= 0.0.6), python3-pymysql (>= 0.7.6), python3-pyroute2 (>= 0.4.21), python3-requests (>= 2.14.2), python3-rfc3986 (>= 0.3.1), python3-setproctitle (>= 1.1.10), python3-simplejson (>= 3.13.2), python3-six (>= 1.10.0), python3-sqlalchemy (>= 1.0.10), python3-stevedore (>= 1:1.20.0), python3-taskflow (>= 2.16.0), python3-tenacity (>= 5.0.4), python3-webob (>= 1:1.8.2), python3-werkzeug (>= 0.14.1), python3-wsme (>= 0.8.0), python3-pbr (>= 2.0.0), python3-sqlalchemy-utils, python3:any Filename: pool/universe/o/octavia/python3-octavia_6.0.0~b3~git2020041014.771a5d87-0ubuntu1_all.deb Size: 495264 MD5sum: a802f7adf7dd646dddb0b73cb9595240 SHA1: 16dc041249972594938121a566b240988f439d5b SHA256: 7eaad24f609c973fe50e38c17104cfffc2426962212d68e7e5564a72c27b2c78 Homepage: https://github.com/openstack/octavia Description-en: OpenStack Load Balancer as a Service - Python libraries Openstack Load Balancer as a Service, codenamed Octavia was borne out of the Neutron LBaaS project. Its conception influenced the transformation of the Neutron LBaaS project, as Neutron LBaaS moved from version 1 to version 2. Starting with the Liberty release of OpenStack, Octavia has become the reference implementation for Neutron LBaaS version 2.

Octavia accomplishes its delivery of load balancing services by managing a fleet of virtual machines, containers, or bare metal servers—collectively known as amphorae— which it spins up on demand. This on-demand, horizontal scaling feature differentiates Octavia from other load balancing solutions, thereby making Octavia truly suited “for the cloud.”.

This package contains the Python files and libraries.

There are three methods to install python3-octavia on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python3-octavia Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python3-octavia using apt-get by running the following command:

sudo apt-get -y install python3-octavia

Install python3-octavia Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-octavia using apt by running the following command:

sudo apt -y install python3-octavia

Install python3-octavia Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python3-octavia using aptitude by running the following command:

sudo aptitude -y install python3-octavia

How To Uninstall python3-octavia on Ubuntu 20.04

To uninstall only the python3-octavia package we can use the following command:

sudo apt-get remove python3-octavia

Uninstall python3-octavia And Its Dependencies

To uninstall python3-octavia and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python3-octavia

Remove python3-octavia Configurations and Data

To remove python3-octavia configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python3-octavia

Remove python3-octavia configuration, data, and all of its dependencies

We can use the following command to remove python3-octavia configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-octavia

References

Summary

In this tutorial we learn how to install python3-octavia package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.