magnum-db-manage command not found

In this troubleshooting guide we learn how to fix magnum-db-manage command not found error message

Introduction

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

magnum-db-manage: command not found

or when using sudo you get the following error message

sudo: magnum-db-manage: command not found

Solutions to magnum-db-manage: command not found

How To Fix magnum-db-manage: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu magnum-db-manage is provided by python3-magnum package.

python3-magnum is:

Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack. It features:

  • Abstractions for bays, containers, nodes, pods, replication controllers, and services
  • Integration with Kubernetes and Docker for backend container technology
  • Integration with Keystone for multi-tenant security
  • Integration with Neutron for Kubernetes multi-tenancy network security

This package contains the Python 3 code.

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

sudo apt-get -y install python3-magnum

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

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

sudo apt -y install python3-magnum

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

sudo aptitude install python3-magnum

Summary

In this tutorial we learn how to fix magnum-db-manage command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.