IndexError thrown when listing physical disks on Dell C6320

Bug #1586545 reported by Stig Telfer on 2016-05-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anish Bhatt

Bug Description

I get this backtrace:

  File "/usr/lib/python2.7/site-packages/dracclient/", line 327, in list_physical_disks
    return self._raid_mgmt.list_physical_disks()
  File "/usr/lib/python2.7/site-packages/dracclient/resources/", line 200, in list_physical_disks
    for disk in drac_physical_disks]
  File "/usr/lib/python2.7/site-packages/dracclient/resources/", line 218, in _parse_drac_physical_disk
IndexError: list index out of range

Relating to this line of code:

It appears because a physical disk attached to the Dell C6320 RAID controller I'm using is described as:


Instead of a more typical FQDD (with two colons in it):


The RAID controller on my C6320 system has ID 'RAID.Mezzanine.1A-1'

Imre Farkas (ifarkas) on 2016-06-16
Changed in python-dracclient:
status: New → Triaged
importance: Undecided → High
Anish Bhatt (anish7) wrote :

I hit this bug recently as well and was able to make a fix. Will submit tomorrow

Fix proposed to branch: master

Changed in python-dracclient:
assignee: nobody → Anish Bhatt (anish7)
status: Triaged → In Progress

Submitter: Jenkins
Branch: master

commit af0894134fb210090120b3c62cbdde4a8d080939
Author: Anish Bhatt <email address hidden>
Date: Thu Sep 29 14:49:34 2016 -0700

    Don't assume FQDD naming

    Splitting on fixed number of colons breaks in this case :


    Split from right instead, doesn't fail

    Partial-Bug: #1586545

    Change-Id: Ib4ca517388c48ade321451cb8af07abb731e5940

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers