Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1374230 - blivet.errors.LUKSError: Failed to activate device: Operation not permitted
Summary: blivet.errors.LUKSError: Failed to activate device: Operation not permitted
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 25
Hardware: ppc64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:be0fcd7b8d53fc5227862a2bbb9...
Depends On:
Blocks: F25PPCBeta
TreeView+ depends on / blocked
 
Reported: 2016-09-08 09:53 UTC by Sinny Kumari
Modified: 2016-09-21 10:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-21 10:35:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (425.26 KB, text/plain)
2016-09-08 09:53 UTC, Sinny Kumari
no flags Details
File: anaconda.log (46.70 KB, text/plain)
2016-09-08 09:53 UTC, Sinny Kumari
no flags Details
File: dnf.librepo.log (11.01 KB, text/plain)
2016-09-08 09:53 UTC, Sinny Kumari
no flags Details
File: environ (482 bytes, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: hawkey.log (1.05 KB, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: lsblk_output (1.75 KB, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: nmcli_dev_list (1.69 KB, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: os_info (449 bytes, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: storage.log (134.89 KB, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: syslog (52.76 KB, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: ifcfg.log (685 bytes, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: packaging.log (3.92 KB, text/plain)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
File: program.log (40.24 KB, application/octet-stream)
2016-09-08 09:54 UTC, Sinny Kumari
no flags Details
Screenshot of Anconda GUI during error (138.70 KB, image/png)
2016-09-08 09:58 UTC, Sinny Kumari
no flags Details

Description Sinny Kumari 2016-09-08 09:53:47 UTC
Description of problem:
Installing F25, ppc64 from nightly compose ISO doesn't succeed when "Encrypt my data" option is selected. Following are the steps to reproduce the problem:
1. Try to install Fedora 25 nightly compose using dvd ISO available at http://ppc.koji.fedoraproject.org/compose/branched/Fedora-25-20160907.n.0/compose/Server/ppc64/iso/ or from any previous nightly compose
2. In INSTALLATION DESTINATION, choose(select checkbox)  "Encrypt my data"
3. Enter Disk Encryption Passphrase when asked and then Begin Installation
4. Installation will stop in between during process of Creating luks on /dev/sda3

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

The following was filed automatically by anaconda:
anaconda 25.20-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.5/site-packages/blivet/formats/luks.py", line 221, in _setup
    raise LUKSError(e)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/formats/__init__.py", line 602, in setup
    self._setup(**kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 501, in setup_parents
    _format.setup()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 433, in _pre_create
    self.setup_parents()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 442, in create
    self._pre_create()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/deviceaction.py", line 318, in execute
    self.device.create()
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 322, in process
    action.execute(callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 48, in wrapped_func
    return func(obj, *args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 163, in do_it
    self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1112, in turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 200, in doInstall
    turn_on_filesystems(storage, mount_only=flags.flags.dirInstall, callbacks=callbacks_reg)
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 251, in run
    threading.Thread.run(self, *args, **kwargs)
blivet.errors.LUKSError: Failed to activate device: Operation not permitted

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz ro
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc4.git0.1.fc25.ppc64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 Sinny Kumari 2016-09-08 09:53:54 UTC
Created attachment 1198960 [details]
File: anaconda-tb

Comment 2 Sinny Kumari 2016-09-08 09:53:57 UTC
Created attachment 1198961 [details]
File: anaconda.log

Comment 3 Sinny Kumari 2016-09-08 09:53:58 UTC
Created attachment 1198962 [details]
File: dnf.librepo.log

Comment 4 Sinny Kumari 2016-09-08 09:54:00 UTC
Created attachment 1198963 [details]
File: environ

Comment 5 Sinny Kumari 2016-09-08 09:54:01 UTC
Created attachment 1198964 [details]
File: hawkey.log

Comment 6 Sinny Kumari 2016-09-08 09:54:03 UTC
Created attachment 1198965 [details]
File: lsblk_output

Comment 7 Sinny Kumari 2016-09-08 09:54:04 UTC
Created attachment 1198966 [details]
File: nmcli_dev_list

Comment 8 Sinny Kumari 2016-09-08 09:54:05 UTC
Created attachment 1198967 [details]
File: os_info

Comment 9 Sinny Kumari 2016-09-08 09:54:08 UTC
Created attachment 1198968 [details]
File: storage.log

Comment 10 Sinny Kumari 2016-09-08 09:54:10 UTC
Created attachment 1198969 [details]
File: syslog

Comment 11 Sinny Kumari 2016-09-08 09:54:11 UTC
Created attachment 1198970 [details]
File: ifcfg.log

Comment 12 Sinny Kumari 2016-09-08 09:54:13 UTC
Created attachment 1198971 [details]
File: packaging.log

Comment 13 Sinny Kumari 2016-09-08 09:54:15 UTC
Created attachment 1198972 [details]
File: program.log

Comment 14 Sinny Kumari 2016-09-08 09:58:20 UTC
Created attachment 1198974 [details]
Screenshot of Anconda GUI during error

Comment 15 Sinny Kumari 2016-09-21 10:35:20 UTC
No longer reproducible with latest F25 nightly compose. Tested with ppc64 server dvd iso available at http://ppc.koji.fedoraproject.org/compose/branched/Fedora-25-20160921.n.0/compose/Server/ppc64/iso/ . Hence closing this bug.


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