OpenStackClient (aka OSC) is a command-line client for OpenStack that brings the command set for Compute, Identity, Image, Object Store and Block Storage APIs together in a single shell with a uniform command structure. 1
Possibly release names (e.g.
pike) are already obsolete. Then just use the current release.
An overview of OpenStack releases can be found at https://releases.openstack.org/.
We provide Ubuntu based Docker Images with the OpenStack client.
Use of the integrated shell
$ docker run -it osism/openstackclient:rocky -v $(pwd):/configuration --os-cloud sample (openstack) token issue [...] (openstack)
Direct call of commands
$ docker run -it osism/openstackclient:rocky -v $(pwd):/configuration --os-cloud sample token issue [...]
Add latest Ubuntu Cloud Archive (UCA) repository:
sudo add-apt-repository cloud-archive:pike(
add-apt-repositoryis part of the package
sudo apt-get install python-openstackclient
python-openstackclient does not install all OpenStack Python client libraries as
dependencies. Install these manually if plugins are missing/not usable in
e.g.```sudo apt-get install python-heatclient`` to be able to use the Heat plugin.
Create and activate a virtual environment:
virtualenv -p python3 .venv && source .venv/bin/activate(
virtualenvis part of the package
Install the latest released version of
pip install python-openstackclient
The installed dependencies require the installation of additional development packages, such as
pyhton-dev on Ubuntu.
An installation of the master branch is also possible:
pip install git+https://github.com/openstack/python-openstackclient