IndexError thrown when listing physical disks on Dell C6320
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| python-dracclient |
High
|
Anish Bhatt |
Bug Description
I get this backtrace:
File "/usr/lib/
return self._raid_
File "/usr/lib/
for disk in drac_physical_
File "/usr/lib/
controller=
IndexError: list index out of range
Relating to this line of code:
https:/
It appears because a physical disk attached to the Dell C6320 RAID controller I'm using is described as:
'Disk.Bay.
Instead of a more typical FQDD (with two colons in it):
'Disk.Bay.
The RAID controller on my C6320 system has ID 'RAID.Mezzanine
Changed in python-dracclient: | |
status: | New → Triaged |
importance: | Undecided → High |
Anish Bhatt (anish7) wrote : | #1 |
Fix proposed to branch: master
Review: https:/
Changed in python-dracclient: | |
assignee: | nobody → Anish Bhatt (anish7) |
status: | Triaged → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit af0894134fb2100
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 :
Disk.
Disk.
Disk.
Disk.
Disk.
Disk.
Split from right instead, doesn't fail
Partial-Bug: #1586545
Change-Id: Ib4ca517388c48a
I hit this bug recently as well and was able to make a fix. Will submit tomorrow