Bug 1247622 - blivet.errors.FSError: umount failed
Summary: blivet.errors.FSError: umount failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiri Konecny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f23c8ccd92c4247b9039e494db4...
Depends On:
Blocks: F23BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2015-07-28 12:54 UTC by Petr Schindler
Modified: 2015-09-30 09:42 UTC (History)
12 users (show)

Fixed In Version: anaconda-23.19.2-1
Clone Of:
Environment:
Last Closed: 2015-09-09 15:22:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (359.98 KB, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: anaconda.log (9.06 KB, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: dnf.log (145 bytes, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: environ (494 bytes, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: lsblk_output (3.42 KB, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: nmcli_dev_list (1.57 KB, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: os_info (451 bytes, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: storage.log (171.28 KB, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: syslog (98.95 KB, text/plain)
2015-07-28 12:54 UTC, Petr Schindler
no flags Details
File: ifcfg.log (2.09 KB, text/plain)
2015-07-28 12:55 UTC, Petr Schindler
no flags Details
File: packaging.log (139 bytes, text/plain)
2015-07-28 12:55 UTC, Petr Schindler
no flags Details
File: program.log (49.82 KB, application/octet-stream)
2015-07-28 12:55 UTC, Petr Schindler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1252902 0 unspecified CLOSED inst.repo=hd: is not working 2021-02-22 00:41:40 UTC

Internal Links: 1252902

Description Petr Schindler 2015-07-28 12:54:43 UTC
Description of problem:
I run anaconda from usb populated by livecd-iso-to-disk (Fedora-23-Server-DVD UEFI). Anaconda crashed right after the start.

There are three disks on this machine: One with installed F22 - default UEFI installation
on sdb and sdc is installed f23. There are /boot, /boot/efi and swap on /dev/sdb. / is RAID using sdb and sdc.

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

The following was filed automatically by anaconda:
anaconda 23.17-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.4/site-packages/blivet/formats/fs.py", line 632, in _teardown
    raise FSError("umount failed")
  File "/usr/lib/python3.4/site-packages/blivet/formats/__init__.py", line 526, in teardown
    self._teardown(**kwargs)
  File "/usr/lib/python3.4/site-packages/blivet/devices/storage.py", line 416, in _preTeardown
    self.format.teardown()
  File "/usr/lib/python3.4/site-packages/blivet/devices/storage.py", line 428, in teardown
    if not self._preTeardown(recursive=recursive):
  File "/usr/lib64/python3.4/site-packages/pyanaconda/packaging/__init__.py", line 829, in _setupMedia
    device.teardown(recursive=True)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/packaging/__init__.py", line 887, in _setupInstallDevice
    self._setupMedia(isodevice)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/packaging/dnfpayload.py", line 752, in updateBaseRepo
    checkmount)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/packaging/__init__.py", line 1287, in _runThread
    payload.updateBaseRepo(fallback=fallback, checkmount=checkmount)
  File "/usr/lib64/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
blivet.errors.FSError: umount failed

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/syslinux/vmlinuz inst.stage2=hd:UUID=6D8B-8A42:/images/install.img inst.repo=hd:UUID=6D8B-8A42:/ inst.stage2=hd:UUID=6D8B-8A42 rd.live.check quiet
dnf.rpm.log:    Jul 28 12:47:40 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-0.rc3.git4.1.fc23.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        23

Comment 1 Petr Schindler 2015-07-28 12:54:46 UTC
Created attachment 1057015 [details]
File: anaconda-tb

Comment 2 Petr Schindler 2015-07-28 12:54:48 UTC
Created attachment 1057016 [details]
File: anaconda.log

Comment 3 Petr Schindler 2015-07-28 12:54:49 UTC
Created attachment 1057017 [details]
File: dnf.log

Comment 4 Petr Schindler 2015-07-28 12:54:51 UTC
Created attachment 1057018 [details]
File: environ

Comment 5 Petr Schindler 2015-07-28 12:54:52 UTC
Created attachment 1057019 [details]
File: lsblk_output

Comment 6 Petr Schindler 2015-07-28 12:54:53 UTC
Created attachment 1057020 [details]
File: nmcli_dev_list

Comment 7 Petr Schindler 2015-07-28 12:54:54 UTC
Created attachment 1057021 [details]
File: os_info

Comment 8 Petr Schindler 2015-07-28 12:54:57 UTC
Created attachment 1057022 [details]
File: storage.log

Comment 9 Petr Schindler 2015-07-28 12:54:59 UTC
Created attachment 1057023 [details]
File: syslog

Comment 10 Petr Schindler 2015-07-28 12:55:00 UTC
Created attachment 1057024 [details]
File: ifcfg.log

Comment 11 Petr Schindler 2015-07-28 12:55:01 UTC
Created attachment 1057025 [details]
File: packaging.log

Comment 12 Petr Schindler 2015-07-28 12:55:03 UTC
Created attachment 1057026 [details]
File: program.log

Comment 13 Petr Schindler 2015-07-28 13:09:05 UTC
Another user experienced a similar problem:

I tested with another workstation. This time I used bios boot instead of uefi. I used livecd-iso-to-disk again. So my guess is that it happens whenewer a DVD image is put to usb by litd. Dd works fine.

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:UUID=4ba3e254-dc4b-40d2-8d04-65c2b30856f4:/images/install.img inst.repo=hd:UUID=4ba3e254-dc4b-40d2-8d04-65c2b30856f4:/ inst.stage2=hd:UUID=4ba3e254-dc4b-40d2-8d04-65c2b30856f4 quiet
dnf.rpm.log:    Jul 28 13:04:47 INFO --- logging initialized ---
hashmarkername: anaconda
kernel:         4.2.0-0.rc3.git4.1.fc23.x86_64
package:        anaconda-23.17-1
product:        Fedora
reason:         blivet.errors.FSError: umount failed
release:        Cannot get release name.
version:        23

Comment 14 Petr Schindler 2015-07-28 14:06:28 UTC
netinst works fine with litd.

I propose this bug as Beta blocker (as dd works fine) as it violates the beta criterion:
All release-blocking images must boot in their supported configurations.
Supported media types: Release-blocking live and dedicated installer images must boot when written to optical media of an appropriate size (if applicable) and when written to a USB stick with any of the officially supported methods.

Comment 15 Petr Schindler 2015-08-03 16:22:06 UTC
Discussed at today's blocker review meeting [1].

This bug was accepted as Beta blocker - This bug is a violation of the following Beta criteria: "Release-blocking live and dedicated installer images must boot when written to optical media of an appropriate size (if applicable) and when written to a USB stick with any of the officially supported methods"

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2015-08-03/

Comment 16 Vratislav Podzimek 2015-08-10 11:14:14 UTC
from the program.log:
12:47:45,897 INFO program: Running... umount /run/install/repo
12:47:45,905 INFO program: stderr:
12:47:45,906 INFO program: b'umount: /run/install/repo: target is busy'
12:47:45,906 INFO program: b'        (In some cases useful info about processes that'
12:47:45,906 INFO program: b'         use the device is found by lsof(8) or fuser(1).)'

Comment 17 Jiri Konecny 2015-08-21 12:08:44 UTC
This bug and the bug 1252902 have the same patch.

https://github.com/rhinstaller/anaconda/pull/312

Comment 18 Adam Williamson 2015-09-08 04:57:53 UTC
Petr, can you confirm the fix in Beta TC4? Thanks!

Comment 19 Lukas Brabec 2015-09-09 09:02:16 UTC
Seems to be working in Beta TC4.

Comment 20 Adam Williamson 2015-09-09 15:22:13 UTC
Thanks! 23.19.2 went stable, so closing.


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