"IndexError: list index out of range" on Dell c6400
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Open vSwitch Charm |
Fix Released
|
Undecided
|
Ante Karamatić |
Bug Description
The code above expects "cpulist" to be a string of comma separated, dashed CPU ranges. It splits the string into a list at each comma, then iterates through that list of strings again, splitting on the dash symbol. This works fine for CPUs ordered this way..
root@standard:~# cat /sys/devices/
0-13,28-41
14-27,42-55
but this throws a type error...
"IndexError: list index out of range"
for CPUs ordered as below because there is no dash symbol to split on....
root@dellc6400:~# cat /sys/devices/
0,4,8,12,
1,5,9,13,
2,6,10,
3,7,11,
Changed in charm-neutron-openvswitch: | |
assignee: | nobody → Ante Karamatić (ivoks) |
tags: | added: cpe-onsite |
Changed in charm-neutron-openvswitch: | |
status: | New → In Progress |
Changed in charm-neutron-openvswitch: | |
milestone: | none → 18.05 |
Changed in charm-neutron-openvswitch: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/568786
Review: https:/