I'm positive that sometime later this year I'll revisit OpenStack basics, but for now there's just no time. This post is one of those as-we-go technical notes taken for my own reference.
List OpenStack Servers using CLI
Once your OpenStack environment variables are configured, you can list servers using a very simple command:
$ openstack server list
But since one of the OpenStack variables is default project, the command above will probably just get you the list of servers within that project.
List OpenStack Servers Across All Projects
Provided your username and password have enough access, it should be possible to expand the previous command to get you a much longer list – namely every OpenStack server in every project available:
$ openstack server list --all-projects
Leave a Reply