VirtualDisk objects do not contain constituent physical disks

Bug #1651702 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-dracclient
Fix Released
Undecided
Mark Goddard

Bug Description

When querying virtual disks via dracclient.client.DRACClient.list_virtual_disks(), a list of dracclient.resources.raid.VirtualDisk objects is returned. These objects do not contain the set of physical disks that the virtual disk is composed of. This information is useful for clients of the library that need to query the RAID configuration of an existing system.

The list of physical disks is available through the DRAC's WSMAN API as part of the query already used by the list_virtual_disks method, as XML subelements of the virtual disk element with a name of 'PhysicalDiskIDs'.

I propose that we add a 'physical_disks' attribute to the VirtualDisk object which contains a list of physical disk IDs.

Mark Goddard (mgoddard)
Changed in python-dracclient:
assignee: nobody → Mark Goddard (mgoddard)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-dracclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/413553

Changed in python-dracclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-dracclient (master)

Reviewed: https://review.openstack.org/413553
Committed: https://git.openstack.org/cgit/openstack/python-dracclient/commit/?id=2a80dbb2c9636307a40b1bb8de0c60e91ffa677e
Submitter: Jenkins
Branch: master

commit 2a80dbb2c9636307a40b1bb8de0c60e91ffa677e
Author: Mark Goddard <email address hidden>
Date: Wed Dec 21 10:29:08 2016 +0000

    Add constituent physical disks to RAID virtual disk object

    This change adds a new attribute - physical_disks - to
    dracclient.resources.raid.VirtualDisk objects. The attribute is a
    list of IDs of the physical disks that a virtual disk is composed of.
    This allows clients of the library to obtain a more complete view of
    the current RAID configuration.

    Change-Id: If4f762d3bc115a971d0392af8270f5440ef43913
    Closes-bug: #1651702

Changed in python-dracclient:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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