Bug 1253925

Summary: gi.overrides.BlockDev.CryptoError: Failed to activate device: Operation not permitted
Product: [Fedora] Fedora Reporter: Itamar Reis Peixoto <itamar>
Component: python-blivetAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, bcl, dlehman, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:05b874a4e0708291459ab02233cdbf76448e69f624c56ae93acc47d14b898358
Fixed In Version: 1.12.2-1.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-07 16:35:42 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: anaconda.log
none
File: environ
none
File: journalctl
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log none

Description Itamar Reis Peixoto 2015-08-15 17:52:39 UTC
Version-Release number of selected component:
anaconda-core-23.17-1.fc23.x86_64

The following was filed automatically by anaconda:
anaconda 23.17-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.4/site-packages/gi/overrides/BlockDev.py", line 416, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python3.4/site-packages/blivet/formats/luks.py", line 192, in _setup
    key_file=self._key_file)
  File "/usr/lib/python3.4/site-packages/blivet/formats/__init__.py", line 483, in setup
    self._setup(**kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2667, in on_unlock_clicked
    device.format.setup()
  File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/utils.py", line 266, in _run_once_one_arg
    self._func(*args, **kwargs)
gi.overrides.BlockDev.CryptoError: Failed to activate device: Operation not permitted

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-WS-x86_64-23_A-2 ro rd.live.image quiet rhgb
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-0.rc5.git0.2.fc23.x86_64
other involved packages: libblockdev-1.1-2.fc23.x86_64, python3-blivet-1.10-1.fc23.noarch, anaconda-gui-23.17-1.fc23.x86_64
product:        Fedora
release:        Fedora release 23 (Twenty Three)
type:           anaconda
version:        23

Comment 1 Itamar Reis Peixoto 2015-08-15 17:52:49 UTC
Created attachment 1063290 [details]
File: anaconda-tb

Comment 2 Itamar Reis Peixoto 2015-08-15 17:52:51 UTC
Created attachment 1063291 [details]
File: anaconda.log

Comment 3 Itamar Reis Peixoto 2015-08-15 17:52:53 UTC
Created attachment 1063292 [details]
File: environ

Comment 4 Itamar Reis Peixoto 2015-08-15 17:52:59 UTC
Created attachment 1063293 [details]
File: journalctl

Comment 5 Itamar Reis Peixoto 2015-08-15 17:53:00 UTC
Created attachment 1063294 [details]
File: lsblk_output

Comment 6 Itamar Reis Peixoto 2015-08-15 17:53:02 UTC
Created attachment 1063295 [details]
File: nmcli_dev_list

Comment 7 Itamar Reis Peixoto 2015-08-15 17:53:03 UTC
Created attachment 1063296 [details]
File: os_info

Comment 8 Itamar Reis Peixoto 2015-08-15 17:53:05 UTC
Created attachment 1063297 [details]
File: program.log

Comment 9 Itamar Reis Peixoto 2015-08-15 17:53:09 UTC
Created attachment 1063298 [details]
File: storage.log

Comment 10 Itamar Reis Peixoto 2015-08-15 17:53:10 UTC
Created attachment 1063299 [details]
File: ifcfg.log

Comment 11 Vratislav Podzimek 2015-08-18 08:47:16 UTC
This is an issue in anaconda.

Comment 12 Vratislav Podzimek 2015-08-18 08:56:25 UTC
(In reply to Vratislav Podzimek from comment #11)
> This is an issue in anaconda.
Or not, it may be better to fix it in blivet.

Comment 13 Vratislav Podzimek 2015-08-18 09:14:23 UTC
updates.img:
http://vpodzime.fedorapeople.org/1253925_updates.img

Comment 14 Vratislav Podzimek 2015-08-18 09:15:49 UTC
https://github.com/rhinstaller/blivet/pull/208

Comment 15 Vratislav Podzimek 2015-08-24 13:03:46 UTC
(In reply to Vratislav Podzimek from comment #14)
> https://github.com/rhinstaller/blivet/pull/208
Merged.

Comment 16 Fedora Update System 2015-09-03 19:33:36 UTC
python-blivet-1.12.2-1.fc23 anaconda-23.19.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030

Comment 17 Fedora Update System 2015-09-04 07:33:10 UTC
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update anaconda python-blivet'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030

Comment 18 Fedora Update System 2015-09-07 16:35:24 UTC
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.