How to get list of openstack Instances with Project name

command-line-interfaceopenstackopenstack-nova

My openstack setup is Mitaka version.

I want to list all the Instances with Project Name.

I tried with below command but it shows Tenant ID but not name.

nova list --all-tenants

Best Answer

The command to list all instances of a project is:

openstack server list --all-projects --project $projectname

The parameter --all-projects is needed to list instances that don't belong to the current project.

Related Topic