haproxy-vrrp-check command not found

In this troubleshooting guide we learn how to fix haproxy-vrrp-check command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

haproxy-vrrp-check: command not found

or when using sudo you get the following error message

sudo: haproxy-vrrp-check: command not found

Solutions to haproxy-vrrp-check: command not found

How To Fix haproxy-vrrp-check: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu haproxy-vrrp-check is provided by python3-octavia package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-octavia

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-octavia.

sudo apt -y install python3-octavia

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-octavia

Summary

In this tutorial we learn how to fix haproxy-vrrp-check command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.