Bug 1743753

Summary: blivet.errors.FormatCreateError: (FSError('format failed: 1'), '/dev/mapper/fedora_vm54-00')
Product: [Fedora] Fedora Reporter: Menanteau Guy <menantea>
Component: python-blivetAssignee: Vojtech Trefny <vtrefny>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, aperez, awilliam, blivet-maint-list, dlehman, efintzel, gmarr, jonathan, julen, kellin, lnie, mkolman, pwhalen, robatino, rvykydal, vanmeeuwen+fedora, vponcova, vtrefny, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard: abrt_hash:1fa9338f8d844921fc0ee30aa3c4ccecb8ad8d40e17672476de26179484c40b0; openqa AcceptedBlocker AcceptedFreezeException
Fixed In Version: python-blivet-3.1.5-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-30 18:37:11 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:
Bug Depends On:    
Bug Blocks: 1644938, 1644939    
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dbus.log
none
File: environ
none
File: lorax-packages.log
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: packaging.log none

Description Menanteau Guy 2019-08-20 15:37:00 UTC
Description of problem:
Problem occured when I tried to install a VM with Fedora-Server-dvd-ppc64le-Rawhide-20190812.n.0.iso with NO swap.

In the "Installation Destination" panel, I choose "custom", then I create Partition automatically in LVM "Click here to create them automatically"
Then I suppress the "swap" partition and accept changes.
Problem occurs after clicking on "Begin Installation"
It is always reproducible.

Version-Release number of selected component:
anaconda-32.2

The following was filed automatically by anaconda:
anaconda 32.2 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.7/site-packages/blivet/formats/fs.py", line 410, in _create
    raise FormatCreateError(e, self.device)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/formats/__init__.py", line 513, in create
    self._create(**kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/deviceaction.py", line 634, in execute
    options=self.device.format_args)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/actionlist.py", line 327, in process
    action.execute(callbacks)
  File "/usr/lib/python3.7/site-packages/blivet/actionlist.py", line 48, in wrapped_func
    return func(obj, *args, **kwargs)
  File "/usr/lib/python3.7/site-packages/blivet/blivet.py", line 106, in do_it
    self.devicetree.actions.process(callbacks=callbacks, devices=self.devices)
  File "/usr/lib/python3.7/site-packages/blivet/threads.py", line 53, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/storage/installation.py", line 50, in turn_on_filesystems
    storage.do_it(callbacks)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 450, in run_task
    self._task(*self._task_args, **self._task_kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 484, in start
    self.run_task()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 305, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 305, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation_tasks.py", line 305, in start
    item.start()
  File "/usr/lib64/python3.7/site-packages/pyanaconda/installation.py", line 397, in run_installation
    queue.start()
  File "/usr/lib64/python3.7/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.7/site-packages/pyanaconda/threading.py", line 280, in run
    threading.Thread.run(self)
blivet.errors.FormatCreateError: (FSError('format failed: 1'), '/dev/mapper/fedora_vm54-00')

Additional info:
addons:         com_redhat_kdump
blivet-gui-utils.log: 
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz inst.stage2=hd:LABEL=Fedora-S-dvd-ppc64le-rawh ro
dnf.librepo.log: 
executable:     /sbin/anaconda
hashmarkername: anaconda
hawkey.log:     INFO Aug-20 15:07:55 === Started libdnf-0.35.3 ===
kernel:         5.3.0-0.rc5.git0.1.fc32.ppc64le
product:        Fedora
release:        Fedora release 32 (Rawhide)
release_type:   pre-release
type:           anaconda
version:        rawhide

Comment 1 Menanteau Guy 2019-08-20 15:37:10 UTC
Created attachment 1606121 [details]
File: anaconda-tb

Comment 2 Menanteau Guy 2019-08-20 15:37:12 UTC
Created attachment 1606122 [details]
File: anaconda.log

Comment 3 Menanteau Guy 2019-08-20 15:37:13 UTC
Created attachment 1606123 [details]
File: dbus.log

Comment 4 Menanteau Guy 2019-08-20 15:37:14 UTC
Created attachment 1606124 [details]
File: environ

Comment 5 Menanteau Guy 2019-08-20 15:37:16 UTC
Created attachment 1606125 [details]
File: lorax-packages.log

Comment 6 Menanteau Guy 2019-08-20 15:37:17 UTC
Created attachment 1606126 [details]
File: lsblk_output

Comment 7 Menanteau Guy 2019-08-20 15:37:21 UTC
Created attachment 1606127 [details]
File: lvm.log

Comment 8 Menanteau Guy 2019-08-20 15:37:22 UTC
Created attachment 1606128 [details]
File: nmcli_dev_list

Comment 9 Menanteau Guy 2019-08-20 15:37:23 UTC
Created attachment 1606129 [details]
File: os_info

Comment 10 Menanteau Guy 2019-08-20 15:37:26 UTC
Created attachment 1606130 [details]
File: program.log

Comment 11 Menanteau Guy 2019-08-20 15:37:29 UTC
Created attachment 1606131 [details]
File: storage.log

Comment 12 Menanteau Guy 2019-08-20 15:37:38 UTC
Created attachment 1606132 [details]
File: syslog

Comment 13 Menanteau Guy 2019-08-20 15:37:39 UTC
Created attachment 1606133 [details]
File: packaging.log

Comment 14 Adam Williamson 2019-08-22 15:00:32 UTC
*** Bug 1744354 has been marked as a duplicate of this bug. ***

Comment 15 Adam Williamson 2019-08-22 15:03:05 UTC
This is not specific to ppc64le, openQA hits it on x86_64 and aarch64 too.

Comment 17 Geoffrey Marr 2019-08-26 18:12:04 UTC
Discussed during the 2019-08-26 blocker review meeting: [1]

The decision to classify this bug as an "AcceptedBlocker" was made as it violates the following criteria:

"The installer must be able to create and install to any workable partition layout using any file system and/or container format combination offered in a default installer configuration."

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2019-08-26/f31-blocker-review.2019-08-26-16.00.txt

Comment 18 Vojtech Trefny 2019-08-27 10:11:50 UTC
*** Bug 1745940 has been marked as a duplicate of this bug. ***

Comment 19 Fedora Update System 2019-08-27 10:56:54 UTC
FEDORA-2019-b2e753662c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b2e753662c

Comment 20 Adam Williamson 2019-08-28 18:00:46 UTC
Proposing as a Beta FE - this is a bug that can break installs, we should certainly fix it for Beta.

Comment 21 Paul Whalen 2019-08-28 20:41:43 UTC
+1 Beta FE

Comment 22 Alex Perez 2019-08-28 23:51:18 UTC
+1 beta FE. ppc64le needs the love.

Comment 23 Julen Landa Alustiza 2019-08-29 05:55:53 UTC
+1 beta FE

Comment 24 Vojtech Trefny 2019-08-29 13:30:08 UTC
*** Bug 1746894 has been marked as a duplicate of this bug. ***

Comment 25 Adam Williamson 2019-08-29 15:05:47 UTC
Marking as Accepted FE. (Note, this doesn't have anything specifically to do with ppc64le, the bug affects all arches).

Comment 26 Fedora Update System 2019-08-29 21:01:11 UTC
python-blivet-3.1.5-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b2e753662c

Comment 27 Adam Williamson 2019-08-29 21:18:38 UTC
Can folks please upkarma the update? You can test using the updates image from #c16. Thanks!

Comment 28 Fedora Update System 2019-08-30 18:37:11 UTC
python-blivet-3.1.5-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.