How To Install python3-masakari on Ubuntu 20.04

In this tutorial we learn how to install python3-masakari on Ubuntu 20.04. python3-masakari is Virtual Machine High Availability (VMHA) for OpenStack - Python 3 Virtual Machine High Availability (VMHA) for OpenStack - Python 3

Introduction

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

What is python3-masakari

python3-masakari is:

Masakari provides Virtual Machine High Availability (VMHA) service for OpenStack clouds by automatically recovering the KVM-based Virtual Machine(VM)s from failure events such as VM process down, provisioning process down, and nova-compute host failure. It also provides API service for manage and control the automated rescue mechanism.

This package contains the Python 3 module.

Package: python3-masakari Architecture: all Version: 9.0.0~b3~git2020041013.94ec959-0ubuntu1 Priority: optional Section: python Source: masakari Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Corey Bryant [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1334 Depends: masakari-common (= 9.0.0~b3~git2020041013.94ec959-0ubuntu1), python3-babel (>= 2.3.4), python3-iso8601 (>= 0.1.11), python3-jsonschema (>= 2.6.0), python3-keystoneauth1 (>= 3.4.0), python3-keystonemiddleware (>= 4.17.0), python3-microversion-parse (>= 0.2.1), python3-novaclient (>= 2:9.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 (>= 5.29.0), python3-oslo.middleware (>= 3.31.0), python3-oslo.policy (>= 1.30.0), python3-oslo.service (>= 1.24.0), python3-oslo.upgradecheck (>= 0.1.0), python3-oslo.utils (>= 3.33.0), python3-oslo.versionedobjects (>= 1.31.2), python3-pbr (>= 2.0.0), python3-six (>= 1.10.0), python3-sqlalchemy (>= 1.2.19), python3-stevedore (>= 1:1.20.0), python3-taskflow (>= 2.16.0), python3-webob (>= 1:1.7.1), python3:any Filename: pool/main/m/masakari/python3-masakari_9.0.0~b3~git2020041013.94ec959-0ubuntu1_all.deb Size: 164556 MD5sum: 88bddbe6e58b1b070ca7d6821a6461ef SHA1: 55d02e2ec6754a3d2edbe916fc16ce7deed82006 SHA256: 08afc579f201f80292a5224bd2412ff609def19ec4012aac9e263d0e2e1d7238 Homepage: https://github.com/openstack/masakari Description-en: Virtual Machine High Availability (VMHA) for OpenStack - Python 3 Masakari provides Virtual Machine High Availability (VMHA) service for OpenStack clouds by automatically recovering the KVM-based Virtual Machine(VM)s from failure events such as VM process down, provisioning process down, and nova-compute host failure. It also provides API service for manage and control the automated rescue mechanism.

This package contains the Python 3 module.

There are three methods to install python3-masakari 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-masakari 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-masakari using apt-get by running the following command:

sudo apt-get -y install python3-masakari

Install python3-masakari Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-masakari

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

sudo aptitude -y install python3-masakari

How To Uninstall python3-masakari on Ubuntu 20.04

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

sudo apt-get remove python3-masakari

Uninstall python3-masakari And Its Dependencies

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

sudo apt-get -y autoremove python3-masakari

Remove python3-masakari Configurations and Data

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

sudo apt-get -y purge python3-masakari

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

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

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

References

Summary

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