How To Install resalloc-openstack on Fedora 36

In this tutorial we learn how to install resalloc-openstack in Fedora 36. resalloc-openstack is Resource allocator scripts for OpenStack

Introduction

In this tutorial we learn how to install resalloc-openstack on Fedora 36.

What is resalloc-openstack

Resource allocator spawner/terminator scripts for OpenStack virtual machines, designed so they either allocate all the sub-resources, or nothing (in case of some failure). This is especially useful if working with older OpenStack deployments which all the time keep orphaned servers, floating IPs, volumes, etc. dangling around. These scripts are primarily designed to be used with resalloc-server.rpm, but in general might be used separately.

We can use yum or dnf to install resalloc-openstack on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install resalloc-openstack.

Install resalloc-openstack on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install resalloc-openstack using dnf by running the following command:

sudo dnf -y install resalloc-openstack

Install resalloc-openstack on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install resalloc-openstack using yum by running the following command:

sudo yum -y install resalloc-openstack

How To Uninstall resalloc-openstack on Fedora 36

To uninstall only the resalloc-openstack package we can use the following command:

sudo dnf remove resalloc-openstack

resalloc-openstack Package Contents on Fedora 36

/usr/bin/resalloc-openstack-cleanup-broken-images
/usr/bin/resalloc-openstack-cleanup-orphaned-instances
/usr/bin/resalloc-openstack-delete
/usr/bin/resalloc-openstack-new
/usr/lib/python3.10/site-packages/resalloc_openstack
/usr/lib/python3.10/site-packages/resalloc_openstack-8-py3.10.egg-info
/usr/lib/python3.10/site-packages/resalloc_openstack-8-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/resalloc_openstack-8-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/resalloc_openstack-8-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/resalloc_openstack-8-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/resalloc_openstack-8-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/resalloc_openstack/__init__.py
/usr/lib/python3.10/site-packages/resalloc_openstack/__pycache__
/usr/lib/python3.10/site-packages/resalloc_openstack/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/__pycache__/env_credentials.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/__pycache__/env_credentials.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/__pycache__/helpers.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/delete
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__init__.py
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__pycache__
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__pycache__/arg_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__pycache__/arg_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/arg_parser.py
/usr/lib/python3.10/site-packages/resalloc_openstack/delete/main.py
/usr/lib/python3.10/site-packages/resalloc_openstack/env_credentials.py
/usr/lib/python3.10/site-packages/resalloc_openstack/helpers.py
/usr/lib/python3.10/site-packages/resalloc_openstack/new
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__init__.py
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__pycache__
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__pycache__/arg_parser.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__pycache__/arg_parser.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__pycache__/main.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/new/__pycache__/main.cpython-310.pyc
/usr/lib/python3.10/site-packages/resalloc_openstack/new/arg_parser.py
/usr/lib/python3.10/site-packages/resalloc_openstack/new/main.py
/usr/share/doc/resalloc-openstack
/usr/share/doc/resalloc-openstack/README
/usr/share/licenses/resalloc-openstack
/usr/share/licenses/resalloc-openstack/COPYING
/usr/share/man/man1/resalloc-openstack-delete.1.gz
/usr/share/man/man1/resalloc-openstack-new.1.gz

References

Summary

In this tutorial we learn how to install resalloc-openstack on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).