In multi-tenants OpenStack environment, you possibly need to quickly find which project one VM belongs to.
From CLI, I just found out a quick way.
Step 1:
[root@openstack RC]# nova list –all-tenants | grep 10.42.130.174
| 1c1c1051-2b28-47a6-9019-9ac2e3670587 | lnxau2004-001 | bc1dff54cfc841dfb8cc5b56e75d10e9 | ACTIVE | – | Running | sls1-dev-isd-waz001=10.42.130.174
From the output of Step 1, we can the project ID bc1dff54cfc841dfb8cc5b56e75d10e9
Step 2:
[root@openstack RC]# openstack project show bc1dff54cfc841dfb8cc5b56e75d10e9
…..
| id | bc1dff54cfc841dfb8cc5b56e75d10e9 |
| name | TST1 |