zvmsdk-gentoken command not found

In this troubleshooting guide we learn how to fix zvmsdk-gentoken command not found error message

Introduction

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

zvmsdk-gentoken: command not found

or when using sudo you get the following error message

sudo: zvmsdk-gentoken: command not found

Solutions to zvmsdk-gentoken: command not found

How To Fix zvmsdk-gentoken: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu zvmsdk-gentoken is provided by python3-zvmcloudconnector package.

python3-zvmcloudconnector is:

z/VM cloud connector is a development SDK for managing z/VM. It provides a set of APIs to operate z/VM including guest, image, network, volume etc.

Just like os-win for nova hyperv driver and oslo.vmware for nova vmware driver, z/VM cloud connector (zVMCloudConnector) is for nova z/VM driver and other z/VM related openstack drivers such as neutron, ceilometer.

This package contains the Python 3 module.

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

sudo apt-get -y install python3-zvmcloudconnector

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

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

sudo apt -y install python3-zvmcloudconnector

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

sudo aptitude install python3-zvmcloudconnector

Summary

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