Ask Your Question

can we know where a particular VM is running (on which compute node)?

asked 2014-08-12 08:18:54 -0500

srinivasulu gravatar image

updated 2014-08-13 00:50:43 -0500

nova list

Shows me a list of running VMs. However, I would like to know which compute node is hosting the VM. Is there a way to do this?

edit retag flag offensive close merge delete


Try also nova show <instance-name-or-id>

T u l gravatar imageT u l ( 2014-08-12 14:51:54 -0500 )edit

5 answers

Sort by ยป oldest newest most voted

answered 2014-08-13 03:52:32 -0500

SGPJ gravatar image

Please follow this link

edit flag offensive delete link more

answered 2014-08-12 08:31:15 -0500

rahulrajvn gravatar image


nova-manage vm list

edit flag offensive delete link more

answered 2014-08-13 00:55:05 -0500

You can do this from Horizon as well.

Screen grab from my Havana controller

The "host" column that you see there will tell you on which compute node the VM is running on.

edit flag offensive delete link more

answered 2020-02-12 12:55:46 -0500

To get a list of VMs on a particular hypervisor on openstack one can run this

nova hypervisor-servers <host-name>

If you are using the newer openstack cli command here is the equivalent

openstack server list --all-projects --host <hostname>

edit flag offensive delete link more

answered 2015-07-07 08:13:18 -0500

OPXILLP gravatar image

updated 2015-07-07 08:14:16 -0500

try "nova hypervisor-list" shows the list of hypervisors and then nova list --host compute host name

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-08-12 08:18:54 -0500

Seen: 17,561 times

Last updated: Jul 07 '15