keystone-wsgi-public command not found

In this troubleshooting guide we learn how to fix keystone-wsgi-public command not found error message

Introduction

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

keystone-wsgi-public: command not found

or when using sudo you get the following error message

sudo: keystone-wsgi-public: command not found

Solutions to keystone-wsgi-public: command not found

How To Fix keystone-wsgi-public: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu keystone-wsgi-public is provided by python3-keystone package.

python3-keystone is:

Keystone is a proposed independent authentication service for OpenStack.

This initial proof of concept aims to address the current use cases in Swift and Nova which are:

  • REST-based, token auth for Swift
  • many-to-many relationship between identity and tenant for Nova. Keystone does authentication and stuff

This package contains the Python 3 libraries.

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

sudo apt-get -y install python3-keystone

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

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

sudo apt -y install python3-keystone

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

sudo aptitude install python3-keystone

Summary

In this tutorial we learn how to fix keystone-wsgi-public command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.