Bug 1326175

Summary: btrfs volume on an LVM volume causes AttributeError
Product: [Fedora] Fedora Reporter: Jonathon Conte <anotherjonathon>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: blivet-maint-list, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: blivet-gui-1.0.6-1 blivet-gui-1.0.6-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 19:21:03 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:

Description Jonathon Conte 2016-04-12 04:01:10 UTC
I'm using python-blivet-1.12.8 with blivet-gui 1.0.5 on Fedora 23. I have a btrfs volume on an LVM logical volume. After launching blivet-gui, if I click on the btrfs volume name listed under "Btrfs Volumes" on the left side of the blivet-gui window, an error dialog which states "An unknown error has occurred" is displayed and the Physical View for the btrfs volume is not updated.


Here is the first section of the exception report:

blivet-gui 1.0.5 exception report
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/blivetgui/list_devices.py", line 192, in on_disk_selection_changed
    self.blivet_gui.update_physical_view()
  File "/usr/lib/python3.4/site-packages/blivetgui/blivetgui.py", line 168, in update_physical_view
    self.list_parents.update_parents_list(self.list_devices.selected_device)
  File "/usr/lib/python3.4/site-packages/blivetgui/list_parents.py", line 41, in update_parents_list
    root_devices = self.blivet_gui.client.remote_call("get_roots", selected_device)
  File "/usr/lib/python3.4/site-packages/blivetgui/communication/client.py", line 159, in remote_call
    raise type(ret.exception)(str(ret.exception) + "\n" + ret.traceback) # pylint: disable=maybe-no-member
AttributeError: 'LVMLogicalVolumeDevice' object has no attribute 'disk'
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/blivetgui/communication/server.py", line 340, in _call_utils_method
    ret = utils_method(*args)
  File "/usr/lib/python3.4/site-packages/blivetgui/blivet_utils.py", line 484, in get_roots
    roots.add(self._get_root_device(member))
  File "/usr/lib/python3.4/site-packages/blivetgui/blivet_utils.py", line 504, in _get_root_device
    return blivet_device.disk
AttributeError: 'LVMLogicalVolumeDevice' object has no attribute 'disk'

Comment 1 Fedora Update System 2016-04-12 10:13:37 UTC
blivet-gui-1.2.3-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1a05bfac27

Comment 2 Fedora Update System 2016-04-12 10:37:25 UTC
blivet-gui-1.0.6-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-02607bbe2a

Comment 3 Jonathon Conte 2016-04-12 18:26:21 UTC
I can confirm that blivet-gui-1.0.6-1 fixed the problem.

I am both grateful for and impressed by the speed of the fix. Thank you so much!

Comment 4 Fedora Update System 2016-04-13 09:26:34 UTC
blivet-gui-1.0.6-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-02607bbe2a

Comment 5 Fedora Update System 2016-04-13 21:25:47 UTC
blivet-gui-1.2.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1a05bfac27

Comment 6 Fedora Update System 2016-04-18 17:27:53 UTC
blivet-gui-1.2.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2016-04-20 19:21:01 UTC
blivet-gui-1.0.6-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.