cinder command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cinder: command not found
or when using sudo you get the following error message
sudo: cinder: command not found
Solutions to cinder: command not found
How To Fix cinder: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cinder is provided by python3-cinderclient package.
python3-cinderclient is:
Cinder is a block storage as service system for the Openstack cloud computing software suite. It is a direct replacement for nova-volume as a separate project. Cinder users LVM partitions of your volume servers in order to provide iSCSI permanent block storage devices for your virtual machines running on Nova.
This package contains the a client for the OpenStack Volume API. There’s a Python API (the “cinderclient” module), and a command-line script (“cinder”). Each implements 100% of the OpenStack Volume API.
This package provides the Python 3.x module.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-cinderclient
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-cinderclient.
sudo apt -y install python3-cinderclient
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-cinderclient
Summary
In this tutorial we learn how to fix cinder command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.