How To Install python3-ironic-inspector on Ubuntu 20.04

In this tutorial we learn how to install python3-ironic-inspector on Ubuntu 20.04. python3-ironic-inspector is discovering hardware properties for OpenStack Ironic - Python 3 discovering hardware properties for OpenStack Ironic - Python 3

Introduction

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

What is python3-ironic-inspector

python3-ironic-inspector is:

This is an auxiliary service for discovering hardware properties for a node managed by OpenStack Ironic. Hardware introspection or hardware properties discovery is a process of getting hardware parameters required for scheduling from a bare metal node, given it’s power management credentials (e.g. IPMI address, user name and password).

A special discovery ramdisk is required to collect the information on a node. The default one can be built using diskimage-builder and ironic-inspector-ramdisk element.

This package contains the Python 3 files.

Package: python3-ironic-inspector Architecture: all Version: 1:10.0.1~git2020041316.14b425e-0ubuntu1 Priority: optional Section: universe/python Source: ironic-inspector Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 903 Depends: alembic (>= 0.8.10), python3-alembic (>= 0.8.10), python3-automaton (>= 1.9.0), python3-babel (>= 2.3.4), python3-construct (>= 2.8.10), python3-eventlet (>= 0.18.2), python3-flask (>= 1.0), python3-futurist (>= 1.2.0), python3-ironic-lib (>= 2.17.0), python3-ironicclient (>= 2.3.0), python3-jsonpath-rw (>= 1.2.0), python3-jsonschema (>= 2.6.0), python3-keystoneauth1 (>= 3.14.0), python3-keystonemiddleware (>= 4.18.0), python3-netaddr (>= 0.7.18), python3-openstackclient, python3-openstacksdk (>= 0.40.0), python3-oslo.concurrency (>= 3.26.0), python3-oslo.config (>= 1:5.2.0), python3-oslo.context (>= 1:2.19.2), python3-oslo.db (>= 4.40.0), python3-oslo.i18n (>= 3.15.3), python3-oslo.log (>= 3.36.0), python3-oslo.messaging (>= 5.32.0), python3-oslo.middleware (>= 3.31.0), python3-oslo.policy (>= 1.30.0), python3-oslo.rootwrap (>= 5.8.0), python3-oslo.serialization (>= 2.18.0), python3-oslo.service (>= 1.24.0), python3-oslo.utils (>= 3.33.0), python3-pbr (>= 2.0.0), python3-retrying (>= 1.2.3), python3-six (>= 1.10.0), python3-sqlalchemy (>= 1.0.10), python3-stevedore (>= 1:1.20.0), python3-swiftclient (>= 1:3.2.0), python3-tooz (>= 1.64.0), python3-tz (>= 2013.6), python3:any Filename: pool/universe/i/ironic-inspector/python3-ironic-inspector_10.0.1~git2020041316.14b425e-0ubuntu1_all.deb Size: 120960 MD5sum: 50984fad1e37c72ae986e58a765ae272 SHA1: 7369d4539e46b9c76cdb922b591d98d2e8391c3b SHA256: 5d9b15588a077dd939daa6911d6156cd44986916b58ed45c5d34bd2a89e60571 Homepage: https://github.com/openstack/ironic-inspector Description-en: discovering hardware properties for OpenStack Ironic - Python 3 This is an auxiliary service for discovering hardware properties for a node managed by OpenStack Ironic. Hardware introspection or hardware properties discovery is a process of getting hardware parameters required for scheduling from a bare metal node, given it’s power management credentials (e.g. IPMI address, user name and password).

A special discovery ramdisk is required to collect the information on a node. The default one can be built using diskimage-builder and ironic-inspector-ramdisk element.

This package contains the Python 3 files.

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

sudo apt-get -y install python3-ironic-inspector

Install python3-ironic-inspector Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-ironic-inspector

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

sudo aptitude -y install python3-ironic-inspector

How To Uninstall python3-ironic-inspector on Ubuntu 20.04

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

sudo apt-get remove python3-ironic-inspector

Uninstall python3-ironic-inspector And Its Dependencies

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

sudo apt-get -y autoremove python3-ironic-inspector

Remove python3-ironic-inspector Configurations and Data

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

sudo apt-get -y purge python3-ironic-inspector

Remove python3-ironic-inspector configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python3-ironic-inspector

References

Summary

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