Bug 1391568 - blivet.errors.DeviceFormatError: device path does not exist or is not writable
Summary: blivet.errors.DeviceFormatError: device path does not exist or is not writable
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:46a2117db2160d5d9d5253f052c...
Depends On:
Blocks: F25FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2016-11-03 14:56 UTC by Jiri Konecny
Modified: 2016-11-04 11:28 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 11:28:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.15 MB, text/plain)
2016-11-03 14:56 UTC, Jiri Konecny
no flags Details
File: anaconda.log (46.08 KB, text/plain)
2016-11-03 14:56 UTC, Jiri Konecny
no flags Details
File: dnf.librepo.log (154.98 KB, text/plain)
2016-11-03 14:56 UTC, Jiri Konecny
no flags Details
File: environ (482 bytes, text/plain)
2016-11-03 14:56 UTC, Jiri Konecny
no flags Details
File: hawkey.log (2.99 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: lsblk_output (2.90 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: lvm.log (343.68 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: nmcli_dev_list (1.52 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: os_info (449 bytes, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: program.log (35.74 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: storage.log (165.15 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: syslog (296.57 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: ifcfg.log (1.67 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details
File: packaging.log (3.23 KB, text/plain)
2016-11-03 14:57 UTC, Jiri Konecny
no flags Details

Description Jiri Konecny 2016-11-03 14:56:44 UTC
Description of problem:
When I have precreated partitioning with RAID1 thinPool and thinLV for root on it, the installation will fail with this exception.

How reproducible:
Always

Steps to reproduce:
1) Create partitioning before installation
	a) RAID1 thinPool with thinLV on it
2) Start the installation
3) Go to Manual partitioning
4) Use precreated partition thinLV for / (root mountpoint)
5) Start the installation

Actual result:
Exception will raise

Expected result:
Installation should be successful

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

The following was filed automatically by anaconda:
anaconda 25.20.5-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.5/site-packages/blivet/formats/__init__.py", line 558, in _pre_destroy
    raise DeviceFormatError("device path does not exist or is not writable")
  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 545, in destroy
    self._pre_destroy(**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/deviceaction.py", line 696, in execute
    self.format.destroy()
  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 325, 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 204, 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.DeviceFormatError: device path does not exist or is not writable

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   initrd=/test/fedora_devel/initrd.img inst.stage2=ftp://cobra02/fedora_devel/ BOOT_IMAGE=/test/fedora_devel/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.4-301.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Potential duplicate: bug 1379084

Comment 1 Jiri Konecny 2016-11-03 14:56:53 UTC
Created attachment 1217019 [details]
File: anaconda-tb

Comment 2 Jiri Konecny 2016-11-03 14:56:55 UTC
Created attachment 1217020 [details]
File: anaconda.log

Comment 3 Jiri Konecny 2016-11-03 14:56:58 UTC
Created attachment 1217021 [details]
File: dnf.librepo.log

Comment 4 Jiri Konecny 2016-11-03 14:56:59 UTC
Created attachment 1217022 [details]
File: environ

Comment 5 Jiri Konecny 2016-11-03 14:57:01 UTC
Created attachment 1217023 [details]
File: hawkey.log

Comment 6 Jiri Konecny 2016-11-03 14:57:03 UTC
Created attachment 1217024 [details]
File: lsblk_output

Comment 7 Jiri Konecny 2016-11-03 14:57:06 UTC
Created attachment 1217025 [details]
File: lvm.log

Comment 8 Jiri Konecny 2016-11-03 14:57:07 UTC
Created attachment 1217026 [details]
File: nmcli_dev_list

Comment 9 Jiri Konecny 2016-11-03 14:57:09 UTC
Created attachment 1217027 [details]
File: os_info

Comment 10 Jiri Konecny 2016-11-03 14:57:11 UTC
Created attachment 1217028 [details]
File: program.log

Comment 11 Jiri Konecny 2016-11-03 14:57:14 UTC
Created attachment 1217029 [details]
File: storage.log

Comment 12 Jiri Konecny 2016-11-03 14:57:17 UTC
Created attachment 1217030 [details]
File: syslog

Comment 13 Jiri Konecny 2016-11-03 14:57:18 UTC
Created attachment 1217031 [details]
File: ifcfg.log

Comment 14 Jiri Konecny 2016-11-03 14:57:20 UTC
Created attachment 1217032 [details]
File: packaging.log

Comment 15 Fedora Blocker Bugs Application 2016-11-03 15:07:47 UTC
Proposed as a Freeze Exception for 25-final by Fedora user jkonecny using the blocker tracking app because:

 You can't successful finish installation with RAID1 LVM thinPool pre-created partitioning.

Comment 16 Vratislav Podzimek 2016-11-04 11:28:09 UTC
I'm not able to reproduce this issue with an existing RAID1 thin pool setup. And from the attached output of 'lsblk' it looks like the system was in a very bad shape when this traceback appeared. Thus I'm closing this as WORKSFORME. If anybody hits the issue, feel free to reopen it and provide extra information.


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