VMware: support for VM diagnostics
VM diagnostics will be returned. An example is:
nicira@
+------
| Property | Value |
+------
| ftSecondaryLatency | -1 |
| suspendInterval | 0 |
| numCpu | 1 |
| distributedMemo
| connectionState | connected |
| maxCpuUsage | 2000 |
| overallCpuUsage | 0 |
| overallCpuDemand | 0 |
| swappedMemory | 0 |
| ftLogBandwidth | -1 |
| numVirtualDisks | 1 |
| guestFullName | Other (32-bit) |
| memoryReservation | 0 |
| privateMemory | 121 |
| instanceUuid | 503881f9-
| uuid | 42388213-
| numEthernetCards | 1 |
| memoryOverhead | 21417984 |
| memorySizeMB | 512 |
| balloonedMemory | 0 |
| template | False |
| ssdSwappedMemory | 0 |
| staticMemoryEnt
| compressedMemory | 0 |
| uptimeSeconds | 211605 |
| consolidationNeeded | False |
| installBootRequired | False |
| host | [[u'value', u'host-207'], [u'_type', u'HostSystem']] |
| bootTime | 2013-10-
| guestMemoryUsage | 5 |
| guestId | otherGuest |
| toolsInstallerM
| cpuReservation | 0 |
| recordReplayState | inactive |
| annotation | None |
| consumedOverhea
| guestHeartbeatS
| numMksConnections | 0 |
| powerState | poweredOn |
| name | c0f2d3a6-
| ftLatencyStatus | gray |
| staticCpuEntitl
| vmPathName | [nfs-instances] c0f2d3a6-
| faultToleranceState | notConfigured
| onlineStandby | False |
| maxMemoryUsage | 512 |
| distributedCpuE
| sharedMemory | 0 |
| hostMemoryUsage | 141 |
+------
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Low
- Drafter:
- Gary Kotton
- Direction:
- Approved
- Assignee:
- Gary Kotton
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
- Implemented
- Milestone target:
- 2014.1
- Started by
- Gary Kotton
- Completed by
- Thierry Carrez
Related branches
Related bugs
Sprints
Whiteboard
I will add the namespace to the report (we will need to update other drivers with this too). Regarding the bug I agree that we should have a formal definition for common parameters that need to be reported by all of the drivers. I think that that requires discussion on the mail list and someone needs to drive it. I do not think that it should be a blocking issue here as the diagnostics is something that can help an admin address and trouble shoot problems. -- gary
I think this is far enough along to approve the blueprint. John, I like your feedback about namespacing, though. --russellb
How does this interact with the following bug:
https:/
I would rather we started deciding on an API before we add more, and at least add a namespace for stuff we know if VMware specific -- johnthetubaguy
Where can openstack docs folks go to get information about what will be included, and what it means? --russellb
The information above will be returned when a diagnostics command is invoked for a VM. This is a combination of information that is gathered from the various vSphere API's for a VirtualMachine (http://
More specifically we make use of the summary data that is returned: http://
In particular:
config - virtual machine configuration summary (http://
QuickStats - real time statistics for the virtual machine (http://
runtime info - (http://
The above will be combined to provide a diagnostics data for the VM.
Gerrit topic: https:/
Addressed by: https:/
VMware: add support for VM diagnostics
Addressed by: https:/
Fix vmwareapi driver get_diagnostics calls
Gerrit topic: https:/
Note to ttx: If https:/