Bug 1613658

Summary: [abrt] system-storage-manager: get_pool_node(): main.py:657:get_pool_node:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Lukas Slebodnik <lslebodn>
Component: system-storage-managerAssignee: Jan Tulak <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: agk, fedora, lczerner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/a0f8612f203621c44b6c9f93ef9c182b3ce3d1c4
Whiteboard: abrt_hash:b003b40ad153d4d6c39b125f828e600b639d9351;VARIANT_ID=server;
Fixed In Version: system-storage-manager-1.3-0.fc28 system-storage-manager-1.3-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-19 01:50:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Lukas Slebodnik 2018-08-08 05:48:34 UTC
Version-Release number of selected component:
system-storage-manager-1.0-2.fc29

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/ssm info
crash_function: get_pool_node
exception_type: IndexError
executable:     /usr/bin/ssm
interpreter:    python3-3.7.0-4.fc29.x86_64
kernel:         4.17.11-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
main.py:657:get_pool_node:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/ssm", line 59, in <module>
    sys.exit(main.main())
  File "/usr/lib/python3.7/site-packages/ssmlib/main.py", line 2866, in main
    args.func(args)
  File "/usr/lib/python3.7/site-packages/ssmlib/main.py", line 1989, in info
    source.pinfo()
  File "/usr/lib/python3.7/site-packages/ssmlib/main.py", line 1183, in pinfo
    misc.ptable(node.get_printable_details())
  File "/usr/lib/python3.7/site-packages/ssmlib/main.py", line 733, in get_printable_details
    return self._get_printable_details()
  File "/usr/lib/python3.7/site-packages/ssmlib/main.py", line 910, in _get_printable_details
    out += self.parent_pool_info(alias)
  File "/usr/lib/python3.7/site-packages/ssmlib/main.py", line 713, in parent_pool_info
    pool = cls.get_pool_node(node)
  File "/usr/lib/python3.7/site-packages/ssmlib/main.py", line 657, in get_pool_node
    return node.parents[0]
IndexError: list index out of range

Local variables in innermost frame:
cls: <class 'ssmlib.main.DeviceItem'>
node: <ssmlib.main.VolumeItem object at 0x7f79ee40e7b8>

Comment 1 Lukas Slebodnik 2018-08-08 05:48:40 UTC
Created attachment 1474149 [details]
File: backtrace

Comment 2 Lukas Slebodnik 2018-08-08 05:48:41 UTC
Created attachment 1474150 [details]
File: cgroup

Comment 3 Lukas Slebodnik 2018-08-08 05:48:43 UTC
Created attachment 1474151 [details]
File: cpuinfo

Comment 4 Lukas Slebodnik 2018-08-08 05:48:44 UTC
Created attachment 1474152 [details]
File: environ

Comment 5 Lukas Slebodnik 2018-08-08 05:48:45 UTC
Created attachment 1474153 [details]
File: mountinfo

Comment 6 Lukas Slebodnik 2018-08-08 05:48:46 UTC
Created attachment 1474154 [details]
File: namespaces

Comment 7 Lukas Slebodnik 2018-08-08 05:48:48 UTC
Created attachment 1474155 [details]
File: open_fds

Comment 8 Jan Kurik 2018-08-14 08:37:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 9 Fedora Update System 2018-12-19 01:50:38 UTC
system-storage-manager-1.3-0.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2018-12-19 02:28:06 UTC
system-storage-manager-1.3-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.