shade-inventory command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
shade-inventory: command not found
or when using sudo you get the following error message
sudo: shade-inventory: command not found
Solutions to shade-inventory: command not found
How To Fix shade-inventory: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu shade-inventory is provided by shade-inventory package.
shade-inventory is:
Shade is a simple Python client library for operating OpenStack clouds. The key word here is simple. Clouds can do many things - but there are probably only about 10 of them that most people care about with any regularity. If you want to do complicated things, you should probably use the lower level client libraries - or even the REST API directly. However, if what you want is to be able to write an application that talks to clouds no matter what choices the deployer has made then shade is for you.
This package installs a script that uses shade to query OpenStack clouds and produce a JSON inventory that is suitable for use as an Ansible inventory plugin.
To fix this problem, we can install more using the command below.
sudo apt-get -y install shade-inventory
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install shade-inventory.
sudo apt -y install shade-inventory
Or if you have aptitude installed you can use the following command.
sudo aptitude install shade-inventory
Summary
In this tutorial we learn how to fix shade-inventory command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.