Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
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?
OpenStack Server List Command Takes a Long Time to Execute
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
When you are trying to query the list of servers within a specific project or across the entire region, it takes a long time to get a response using the OpenStack__CLI.
Environment
- Platform9 Managed OpenStack - All Versions
- Nova
- OpenStack CLI - v3.12.0 and above
Cause
When running the openstack server list command using OpenStack CLI, GET calls are also generated to list Glance__images as well as all the flavors in the region. This is done in batches of 20 and takes a long time if there are a lot of images and flavors in the region. The reason behind querying the images and flavors is to display names instead of UUIDs in the server list output.
Resolution
- To avoid long query time, run the server list command with the --no-name-lookup (-n)flag. This will not generate any GET calls to Glance or Nova for listing images and flavors with their names. A few examples are shown below.
Javascript
xxxxxxxxxx# openstack server list --project <project-ID> --no-name-lookup# openstack server list --all-projects --no-name-lookup # openstack server list --project <project-ID> -n# openstack server list --all-projects -nAdditional Information
VariableType 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?
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