VMware: add support for VM diagnostics

Bug #1257656 reported by OpenStack Infra
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Expired
Medium
Unassigned

Bug Description

https://review.openstack.org/51404
commit 2a998267e008bf135ebf943bbebac11c3f109b80
Author: Gary Kotton <email address hidden>
Date: Sat Oct 12 11:10:17 2013 -0700

    VMware: add support for VM diagnostics

    The drivers now return diagnostics for a requested VM.

    Implements blueprint vmware-vm-diagnostics

    VMware specific keys will be namespaced.

    DocImpact

    Change-Id: I08f199f7e3b4edafe60ce73d2fc833f8c5a5574e

Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → icehouse
status: New → Confirmed
importance: Undecided → Medium
Andy Dugas (adugas)
tags: added: vmware
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: icehouse → juno
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: juno → kilo
tags: added: icehouse
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: kilo → liberty
Lana (loquacity)
Changed in openstack-manuals:
assignee: nobody → Lana (loquacity)
Lana (loquacity)
affects: openstack-manuals → openstack-api-site
Changed in openstack-api-site:
milestone: liberty → none
assignee: Lana (loquacity) → nobody
Revision history for this message
Anne Gentle (annegentle) wrote :

Params should be added to the Compute API /diagnostics resource

http://developer.openstack.org/api-ref-compute-v2.1.html#diagnostics-v2.1

What's still needed is a sample .json file containing those properties and documentation on each parameter.

Gary, is this something you could provide a sample JSON file for?

Changed in openstack-api-site:
status: Confirmed → Triaged
status: Triaged → Incomplete
Revision history for this message
Anne Gentle (annegentle) wrote :

Basically, what does this return?

# Sample of diagnostics data is below.
        config = [
            ('template', False),
            ('vmPathName', 'fake_path'),
            ('memorySizeMB', 512),
            ('cpuReservation', 0),
            ('memoryReservation', 0),
            ('numCpu', 1),
            ('numEthernetCards', 1),
            ('numVirtualDisks', 1)]
        self.set("summary.config", config)

        quickStats = [
            ('overallCpuUsage', 0),
            ('overallCpuDemand', 0),
            ('guestMemoryUsage', 0),
            ('hostMemoryUsage', 141),
            ('balloonedMemory', 0),
            ('consumedOverheadMemory', 20)]
        self.set("summary.quickStats", quickStats)

        key1 = {'key': 'cpuid.AES'}
        key2 = {'key': 'cpuid.AVX'}
        runtime = [
            ('connectionState', 'connected'),
            ('powerState', 'poweredOn'),
            ('toolsInstallerMounted', False),
            ('suspendInterval', 0),
            ('memoryOverhead', 21417984),
            ('maxCpuUsage', 2000),

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openstack-api-site because there has been no activity for 60 days.]

Changed in openstack-api-site:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.