How to get list of openstack Instances with Project name

Solution 1:

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.