Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
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?
Summarize Page
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
$ sudo python3 -m venv ~/openstack-venv- Activate the Virtual Environment:
Command
$ source ~/openstack-venv/bin/activate- Install the OpenStack Client:
Command
$ sudo pip install python-openstackclient- Verify OpenStack client by running command:
Command
$ openstack --helpType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
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