How to Setup CLI in Virtual Environment for Troubleshooting?
PreviousHow to Delete Cluster BluePrint and HostConfig Using Resmgr APINextHow to Force Remove offline host from PCD Using API call?
Last updated
How to configure the OpenStack command-line client within a virtual environment to interact with an OpenStack cloud.
Private Cloud Director Virtualization
Self-Hosted Private Cloud Director Virtualization
Create a Virtual Environment (This command creates a new Python virtual environment named openstack-venv in your home directory):
$ sudo python3 -m venv ~/openstack-venvActivate the Virtual Environment:
$ source ~/openstack-venv/bin/activateInstall OpenStack Client:
$ sudo pip install python-openstackclientVerify OpenStack client by running the command:
$ openstack --helpLast updated
