difference between instances vs virtual machines in used_now
summary of resource usage of all of the instances running on the host:
$ openstack host show devstack
+----------+----------------------------------+-----+-----------+---------+
| Host | Project | CPU | MEMORY MB | DISK GB |
+----------+----------------------------------+-----+-----------+---------+
| devstack | (total) | 2 | 4003 | 157 |
| devstack | (used_now) | 3 | 5120 | 40 |
| devstack | (used_max) | 3 | 4608 | 40 |
| devstack | b70d90d65e464582b6b2161cf3603ced | 1 | 512 | 0 |
| devstack | 66265572db174a7aa66eba661f58eb9e | 2 | 4096 | 40 |
+----------+----------------------------------+-----+-----------+---------+
The CPU column shows the sum of the virtual CPUs for instances running on the host.
The MEMORY MB column shows the sum of the memory (in MB) allocated to the instances that run on the host.
The DISK GB column shows the sum of the root and ephemeral disk sizes (in GB) of the instances that run on the host.
The row that has the value used_now in the PROJECT column shows the sum of the resources allocated to the instances that run on the host, plus the resources allocated to the virtual machine of the host itself.
The row that has the value used_max in the PROJECT column shows the sum of the resources allocated to the instances that run on the host.
Question:
What is the difference between instances and virtual machine in the used_now explanation?
This is very strange and looks like a documentation bug to me.
I am also feeling the same... but when I googled even in redhat website also same thing documented.... https://access.redhat.com/documentati... So I thought let me check with experts in the forum....
I suggest you ask this on the distribution list. Put
[nova]
(with the square brackets) in the subject.There is no such thing as "virtual machine" in OpenStack. Instances are created using VMs, or containers, or baremetal. In other words, a VM can be a means of implementation, but strictly speaking it's not an OpenStack object.