Bug 1819900 - AttributeError: Failed to add the device:ProxyDataContainer has no attribute encryption_type
Summary: AttributeError: Failed to add the device:ProxyDataContainer has no attribute ...
Keywords:
Status: CLOSED DUPLICATE of bug 1816098
Alias: None
Product: Fedora
Classification: Fedora
Component: blivet-gui
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:9ce23f1dc1bfdd5ab6fa332bb06...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-01 20:07 UTC by Matheus Guedes
Modified: 2020-04-02 05:44 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-02 05:44:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matheus Guedes 2020-04-01 20:07:30 UTC
Description of problem:
1) Create a new partition in Blivet-GUI.
2) Set "Device type" to LVM2 Volume Group
3) Toggle encryption
4) Set "Encryption Type" to LUKS2
5) Set a passphrase
6) Press "OK" to confirm.

Additional information:
Partition was resized and was named "linux". Using Fedora 32 Beta.

Version-Release number of selected component:
anaconda-32.24.2

The following was filed automatically by anaconda:
anaconda 32.24.2 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.8/site-packages/blivetgui/osinstall.py", line 230, in _reraise_exception
    raise type(exception)(message + str(exception) + "\n" + traceback)
  File "/usr/lib/python3.8/site-packages/blivetgui/blivetgui.py", line 502, in add_device
    self._reraise_exception(result.exception, result.traceback, message,
AttributeError: Failed to add the device:ProxyDataContainer has no attribute encryption_type
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/blivetgui/blivet_utils.py", line 1226, in add_device
    actions = add_function(self, user_input)
  File "/usr/lib/python3.8/site-packages/blivetgui/blivet_utils.py", line 1067, in _create_lvm
    pv_actions = self._create_lvmpv(pv_input)
  File "/usr/lib/python3.8/site-packages/blivetgui/blivet_utils.py", line 1012, in _create_lvmpv
    luks_version=user_input.encryption_type,
  File "/usr/lib/python3.8/site-packages/blivetgui/communication/proxy_utils.py", line 48, in __getattr__
    raise AttributeError("%s has no attribute %s" % ("ProxyDataContainer", name))
AttributeError: ProxyDataContainer has no attribute encryption_type


Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-32 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
hawkey.log:     INFO Apr-01 19:56:04 === Started libdnf-0.45.0 ===
kernel:         5.6.0-0.rc5.git0.2.fc32.x86_64
product:        Fedora
release:        Fedora release 32 (Thirty Two)
release_type:   pre-release
type:           anaconda
version:        32

Comment 1 Matheus Guedes 2020-04-01 20:08:33 UTC
Similar problem has been detected:

1) Create a new partition in Blivet-GUI.
2) Set "Device type" to LVM2 Volume Group
3) Toggle encryption
4) Set "Encryption Type" to LUKS2
5) Set a passphrase
6) Press "OK" to confirm.

Additional information:
Partition was resized and was named "linux". Using Fedora 32 Beta.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-x86_64-32 quiet
hashmarkername: anaconda
hawkey.log:     INFO Apr-01 19:56:04 === Started libdnf-0.45.0 ===
kernel:         5.6.0-0.rc5.git0.2.fc32.x86_64
package:        anaconda-32.24.2
product:        Fedora
reason:         AttributeError: Failed to add the device:ProxyDataContainer has no attribute encryption_type
release:        Fedora release 32 (Thirty Two)
release_type:   pre-release
version:        32

Comment 2 Vojtech Trefny 2020-04-02 05:44:29 UTC

*** This bug has been marked as a duplicate of bug 1816098 ***


Note You need to log in before you can comment on or make changes to this bug.