How To Install octavia-api on Ubuntu 20.04

In this tutorial we learn how to install octavia-api on Ubuntu 20.04. octavia-api is OpenStack Load Balancer as a Service - API frontend OpenStack Load Balancer as a Service - API frontend

Introduction

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

What is octavia-api

octavia-api 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 provides the API frontend.

Package: octavia-api 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: 137 Pre-Depends: init-system-helpers (>= 1.54~) Depends: adduser, octavia-common (= 6.0.0~b3~git2020041014.771a5d87-0ubuntu1), python3-openstackclient, q-text-as-data, debconf (>= 0.5) | debconf-2.0 Filename: pool/universe/o/octavia/octavia-api_6.0.0~b3~git2020041014.771a5d87-0ubuntu1_all.deb Size: 20016 MD5sum: 965f7de5aa8dbcb59eaf77eb8d979a3c SHA1: 0383d9337892337c1210f4d2f5c97eb8e75aa3fb SHA256: ad33fd74b33142f523eaf68e05cbda85e9ea7be067480085481f153dd1b7395a Homepage: https://github.com/openstack/octavia Description-en: OpenStack Load Balancer as a Service - API frontend 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 provides the API frontend.

There are three methods to install octavia-api 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 octavia-api Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install octavia-api

Install octavia-api Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install octavia-api

Install octavia-api 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 octavia-api using aptitude by running the following command:

sudo aptitude -y install octavia-api

How To Uninstall octavia-api on Ubuntu 20.04

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

sudo apt-get remove octavia-api

Uninstall octavia-api And Its Dependencies

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

sudo apt-get -y autoremove octavia-api

Remove octavia-api Configurations and Data

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

sudo apt-get -y purge octavia-api

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

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

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

References

Summary

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