Bug 1721381

Summary: AttributeError: 'list' object has no attribute 'values'
Product: Red Hat Enterprise Linux 8 Reporter: Martin Banas <mbanas>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 8.1CC: ehabkost, jstodola, mbanas, release-test-team-automation, vtrefny, wchadwic
Target Milestone: betaKeywords: TestBlocker
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-blivet-3.1.0-13.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 21:14:31 UTC Type: Bug
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
anacopnda.log
none
console.log
none
lvm.log
none
storage.log none

Description Martin Banas 2019-06-18 07:32:20 UTC
Description of problem:
anaconda 29.19.1.6 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivet/devices/lvm.py", line 226, in status
    for lv_info in lvs_info.values():
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/devices/storage.py", line 152, in __init__
    if self.status:
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/devices/container.py", line 66, in __init__
    super(ContainerDevice, self).__init__(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/devices/lvm.py", line 143, in __init__
    exists=exists, sysfs_path=sysfs_path)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/helpers/lvm.py", line 393, in _add_vg_device
    exists=True)
  File "/usr/lib/python3.6/site-packages/blivet/populator/helpers/lvm.py", line 399, in run
    self._add_vg_device()
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 304, in handle_format
    helper_class(self, info, device).run()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 276, in handle_device
    self.handle_format(info, device)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 461, in _populate
    self.handle_device(dev)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/populator/populator.py", line 413, in populate
    self._populate()
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 161, in reset
    self.devicetree.populate(cleanup_only=cleanup_only)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1745, in reset
    super().reset(cleanup_only=cleanup_only)
  File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2305, in storage_initialize
    storage.reset()
  File "/usr/lib64/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 286, in run
    threading.Thread.run(self)
AttributeError: 'list' object has no attribute 'values'

Version-Release number of selected component (if applicable):
python3-blivet-3.1.0-12.el8.noarch.rpm 
RHEL-8.1.0-20190617.n.0

How reproducible:
always

Steps to Reproduce:
1. install system on s390x

Actual results:
Anaconda fails with traceback

Expected results:
Installation continues on s390x

Additional info:

Comment 2 Martin Banas 2019-06-18 07:34:29 UTC
Created attachment 1581596 [details]
anacopnda.log

Comment 3 Martin Banas 2019-06-18 07:36:37 UTC
Created attachment 1581597 [details]
console.log

Comment 4 Martin Banas 2019-06-18 07:37:15 UTC
Created attachment 1581598 [details]
lvm.log

Comment 5 Martin Banas 2019-06-18 07:38:40 UTC
Created attachment 1581599 [details]
storage.log

Comment 12 Vojtech Trefny 2019-06-21 09:53:17 UTC
*** Bug 1721525 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2019-11-05 21:14:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3441