Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to Setup CLI in Virtual Environment for Troubleshooting?
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
How to configure the OpenStack command-line client within a virtual environment to interact with an OpenStack cloud.
Environment
- Private Cloud Director - v2025.4 and Higher
- Self-Hosted Private Cloud Director Virtualization – v2025.4 and Higher
Procedure
- Create a Virtual Environment (This command creates a new Python virtual environment named
openstack-venvin your home directory):
Command
xxxxxxxxxx$ sudo python3 -m venv ~/openstack-venv- Activate the Virtual Environment:
Command
xxxxxxxxxx$ source ~/openstack-venv/bin/activate- Install the OpenStack Client:
Command
xxxxxxxxxx$ sudo pip install python-openstackclient- Verify OpenStack client by running command:
Command
xxxxxxxxxx$ openstack --helpVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
null
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message