Bug 1439108

Summary: AttributeError: 'LUKS' object has no attribute 'mountpoint'
Product: [Fedora] Fedora Reporter: Jakub Vavra <jvavra>
Component: blivet-guiAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: anaconda-maint-list, g.kaviyarasu, jonathan, mkolman, pschindl, vanmeeuwen+fedora, vponcova, vtrefny
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e4ea72b352ee873876c5813e29d7cbf946dec212b4635bae584027ac57e3bb92;
Fixed In Version: blivet-gui-2.1.2-1.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-13 14:07:54 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: anaconda-tb
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info none

Description Jakub Vavra 2017-04-05 09:01:00 UTC
Description of problem:
Did reinstallation of fedora 26, chosen blivet gui. 
Previous installation contained LUKS partition with swap.
The exception popped after chosing to format old /boot and reuse it.

Version-Release number of selected component:
anaconda-26.21.1-1

The following was filed automatically by anaconda:
anaconda 26.21.1-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/edit_dialog.py", line 205, in validate_user_input
    valid, msg = is_mountpoint_valid(self.mountpoints, selected_mnt, self.edit_device.format.mountpoint)
  File "/usr/lib/python3.6/site-packages/blivetgui/dialogs/edit_dialog.py", line 221, in run
    if not self.validate_user_input():
  File "/usr/lib/python3.6/site-packages/blivetgui/osinstall.py", line 174, in run_dialog
    response = dialog.run()
  File "/usr/lib/python3.6/site-packages/blivetgui/blivetgui.py", line 289, in format_device
    user_input = self.run_dialog(dialog)
AttributeError: 'LUKS' object has no attribute 'mountpoint'

Additional info:
addons:         com_redhat_docker, com_redhat_kdump
cmdline:        /usr/libexec/system-python  /sbin/anaconda
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.11.0-0.rc3.git0.2.fc26.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        26

Comment 1 Jakub Vavra 2017-04-05 09:01:07 UTC
Created attachment 1268889 [details]
File: anaconda-tb

Comment 2 Jakub Vavra 2017-04-05 09:01:09 UTC
Created attachment 1268890 [details]
File: environ

Comment 3 Jakub Vavra 2017-04-05 09:01:12 UTC
Created attachment 1268891 [details]
File: lsblk_output

Comment 4 Jakub Vavra 2017-04-05 09:01:14 UTC
Created attachment 1268892 [details]
File: nmcli_dev_list

Comment 5 Jakub Vavra 2017-04-05 09:01:15 UTC
Created attachment 1268893 [details]
File: os_info

Comment 6 Vojtech Trefny 2017-04-06 10:58:39 UTC
*** Bug 1439621 has been marked as a duplicate of this bug. ***

Comment 7 Vojtech Trefny 2017-04-07 07:48:44 UTC
https://github.com/rhinstaller/blivet-gui/pull/48

Comment 8 Fedora Update System 2017-04-11 14:50:34 UTC
anaconda-26.21.3-1.fc26 blivet-gui-2.1.2-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-10db06fadf

Comment 9 Fedora Update System 2017-04-12 23:21:31 UTC
anaconda-26.21.3-1.fc26, blivet-gui-2.1.2-1.fc26 has been pushed to the Fedora 26 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-2017-10db06fadf

Comment 10 Fedora Update System 2017-04-13 14:07:54 UTC
anaconda-26.21.3-1.fc26, blivet-gui-2.1.2-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.