Bug 1041067 - [RFE][nova]: VMware: support for VM diagnostics
Summary: [RFE][nova]: VMware: support for VM diagnostics
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Upstream M1
: 5.0 (RHEL 7)
Assignee: Matthew Booth
QA Contact: Jaroslav Henner
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_icehouse-1 upstrea...
Depends On:
Blocks: 1055536 1082387 1110286
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:33 UTC by RHOS Integration
Modified: 2019-09-09 14:20 UTC (History)
10 users (show)

Fixed In Version: openstack-nova-2014.1-3.el7ost
Doc Type: Enhancement
Doc Text:
VMware Compute drivers now support a virtual-machine diagnostics call. Diagnostics can be retrieved using the "nova diagnostics INSTANCE" command, where INSTANCE is replaced by an instance name or instance identifier.
Clone Of:
: 1082387 1110286 (view as bug list)
Environment:
Last Closed: 2014-07-08 15:27:09 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0853 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement - Compute 2014-07-08 19:22:38 UTC

Description RHOS Integration 2013-12-12 13:33:25 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/vmware-vm-diagnostics.

Description:

VM diagnostics will be returned. An example is:

nicira@os-devstack:~$ nova diagnostics B
+------------------------------+-----------------------------------------------------------------------------------------------+
| Property                     | Value                                                                                         |
+------------------------------+-----------------------------------------------------------------------------------------------+
| ftSecondaryLatency           | -1                                                                                            |
| suspendInterval              | 0                                                                                             |
| numCpu                       | 1                                                                                             |
| distributedMemoryEntitlement | 266                                                                                           |
| connectionState              | connected                                                                                     |
| maxCpuUsage                  | 2000                                                                                          |
| overallCpuUsage              | 0                                                                                             |
| overallCpuDemand             | 0                                                                                             |
| swappedMemory                | 0                                                                                             |
| ftLogBandwidth               | -1                                                                                            |
| numVirtualDisks              | 1                                                                                             |
| guestFullName                | Other (32-bit)                                                                                |
| memoryReservation            | 0                                                                                             |
| privateMemory                | 121                                                                                           |
| instanceUuid                 | 503881f9-2836-b00c-fdb9-367faebe8065                                                          |
| uuid                         | 42388213-94b3-e7fe-c18a-b2ca24f80c7e                                                          |
| numEthernetCards             | 1                                                                                             |
| memoryOverhead               | 21417984                                                                                      |
| memorySizeMB                 | 512                                                                                           |
| balloonedMemory              | 0                                                                                             |
| template                     | False                                                                                         |
| ssdSwappedMemory             | 0                                                                                             |
| staticMemoryEntitlement      | 552                                                                                           |
| compressedMemory             | 0                                                                                             |
| uptimeSeconds                | 211605                                                                                        |
| consolidationNeeded          | False                                                                                         |
| installBootRequired          | False                                                                                         |
| host                         | [[u'value', u'host-207'], [u'_type', u'HostSystem']]                                          |
| bootTime                     | 2013-10-09T23:19:19.367654                                                                    |
| guestMemoryUsage             | 5                                                                                             |
| guestId                      | otherGuest                                                                                    |
| toolsInstallerMounted        | False                                                                                         |
| cpuReservation               | 0                                                                                             |
| recordReplayState            | inactive                                                                                      |
| annotation                   | None                                                                                          |
| consumedOverheadMemory       | 20                                                                                            |
| guestHeartbeatStatus         | gray                                                                                          |
| numMksConnections            | 0                                                                                             |
| powerState                   | poweredOn                                                                                     |
| name                         | c0f2d3a6-7d6a-4551-9a3c-cee0120dbe81                                                          |
| ftLatencyStatus              | gray                                                                                          |
| staticCpuEntitlement         | 2000                                                                                          |
| vmPathName                   | [nfs-instances] c0f2d3a6-7d6a-4551-9a3c-cee0120dbe81/c0f2d3a6-7d6a-4551-9a3c-cee0120dbe81.vmx |
| faultToleranceState          | notConfigured                                                                       
| onlineStandby                | False                                                                                         |
| maxMemoryUsage               | 512                                                                                           |
| distributedCpuEntitlement    | 0                                                                                             |
| sharedMemory                 | 0                                                                                             |
| hostMemoryUsage              | 141                                                                                           |
+------------------------------+-----------------------------------------------------------------------------------------------+


Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-23 20:42:44 UTC
Moving to POST based on upstream status (Implemented).

Comment 5 Jaroslav Henner 2014-06-17 11:31:00 UTC
+-------------------------------------+-------------------------------------------------------------------------------+
| Property                            | Value                                                                         |
+-------------------------------------+-------------------------------------------------------------------------------+
| vmware:annotation                   | None                                                                          |
| vmware:balloonedMemory              | 0                                                                             |
| vmware:bootTime                     | 2014-06-17T07:23:17.031756                                                    |
| vmware:compressedMemory             | 0                                                                             |
| vmware:connectionState              | connected                                                                     |
| vmware:consolidationNeeded          | False                                                                         |
| vmware:consumedOverheadMemory       | 21                                                                            |
| vmware:cpuReservation               | 0                                                                             |
| vmware:device                       | [{"key": 4000, "runtimeState": {"vmDirectPathGen2InactiveReasonOther":        |
|                                     | ["vmNptIncompatibleNetwork"], "vmDirectPathGen2Active": false}}]              |
| vmware:distributedCpuEntitlement    | 0                                                                             |
| vmware:distributedMemoryEntitlement | 727                                                                           |
| vmware:faultToleranceState          | notConfigured                                                                 |
| vmware:featureRequirement           | [{"featureName": "cpuid.SSE3", "key": "cpuid.SSE3", "value": "Bool:Min:1"}]   |
| vmware:ftLatencyStatus              | gray                                                                          |
| vmware:ftLogBandwidth               | -1                                                                            |
| vmware:ftSecondaryLatency           | -1                                                                            |
| vmware:guestFullName                | Ubuntu Linux (64-bit)                                                         |
| vmware:guestHeartbeatStatus         | gray                                                                          |
| vmware:guestId                      | ubuntu64Guest                                                                 |
| vmware:guestMemoryUsage             | 235                                                                           |
| vmware:host                         | {"_type": "HostSystem", "value": "host-12"}                                   |
| vmware:hostMemoryUsage              | 87                                                                            |
| vmware:installBootRequired          | False                                                                         |
| vmware:instanceUuid                 | a34cb9b3-9757-46b5-b437-7be37e8d65a4                                          |
| vmware:maxCpuUsage                  | 2659                                                                          |
| vmware:maxMemoryUsage               | 512                                                                           |
| vmware:memoryOverhead               | 31404032                                                                      |
| vmware:memoryReservation            | 0                                                                             |
| vmware:memorySizeMB                 | 512                                                                           |
| vmware:name                         | a34cb9b3-9757-46b5-b437-7be37e8d65a4                                          |
| vmware:numCpu                       | 1                                                                             |
| vmware:numEthernetCards             | 1                                                                             |
| vmware:numMksConnections            | 0                                                                             |
| vmware:numVirtualDisks              | 1                                                                             |
| vmware:offlineFeatureRequirement    | [{"featureName": "cpuid.lm", "key": "cpuid.lm", "value": "Bool:Min:1"}]       |
| vmware:onlineStandby                | False                                                                         |
| vmware:overallCpuDemand             | 0                                                                             |
| vmware:overallCpuUsage              | 0                                                                             |
| vmware:powerState                   | poweredOn                                                                     |
| vmware:privateMemory                | 65                                                                            |
| vmware:recordReplayState            | inactive                                                                      |
| vmware:sharedMemory                 | 7                                                                             |
| vmware:ssdSwappedMemory             | 0                                                                             |
| vmware:staticCpuEntitlement         | 2194                                                                          |
| vmware:staticMemoryEntitlement      | 496                                                                           |
| vmware:suspendInterval              | 0                                                                             |
| vmware:swappedMemory                | 0                                                                             |
| vmware:template                     | False                                                                         |
| vmware:toolsInstallerMounted        | False                                                                         |
| vmware:uptimeSeconds                | 242                                                                           |
| vmware:uuid                         | 422d7cbd-8714-a11e-37d9-040a12b80b68                                          |
| vmware:vFlashCacheAllocation        | 0                                                                             |
| vmware:vmPathName                   | [shared]                                                                      |
|                                     | a34cb9b3-9757-46b5-b437-7be37e8d65a4/a34cb9b3-9757-46b5-b437-7be37e8d65a4.vmx |
+-------------------------------------+-------------------------------------------------------------------------------+


I quickly ran over the values like CPU count, guestMemoryUsage, maxMemoryUsage, ... and they seem to be matching

Comment 7 errata-xmlrpc 2014-07-08 15:27:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0853.html


Note You need to log in before you can comment on or make changes to this bug.