Bug 1372282

Summary: gi.overrides.BlockDev.MDRaidError: Process reported exit code 256: mdadm: failed to RUN_ARRAY /dev/md/swap: Invalid argument
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:91cded2e419e230ca4e4e2a33a534f30b1ad63bb4bb35ca3a98eb41f05c75318;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:21:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
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 Kamil Páral 2016-09-01 10:26:41 UTC
Description of problem:
Trying to install Fedora onto a disk which apparently has some stale metadata. I chose to reformat the whole disk, so it should not matter what is present on that disk.

Version-Release number of selected component:
anaconda-core-25.20-2.fc25.x86_64

The following was filed automatically by anaconda:
anaconda 25.20-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/gi/overrides/BlockDev.py", line 441, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python3.5/site-packages/blivet/devices/md.py", line 488, in _setup
    blockdev.md.activate(self.path, members=disks, uuid=self.mdadm_format_uuid)
  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 372, in setup
    self._setup(orig=orig)
  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 694, in execute
    self.device.setup(orig=True)
  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)
gi.overrides.BlockDev.MDRaidError: Process reported exit code 256: mdadm: failed to RUN_ARRAY /dev/md/swap: Invalid argument
mdadm: Not enough devices to start the array.


Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img root=live:CDLABEL=Fedora-WS-Live-25_A-2 rd.live.image quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc2.git3.1.fc25.x86_64
other involved packages: python3-blivet-2.1.2-1.fc25.noarch, system-python-libs-3.5.1-14.fc25.x86_64, python3-blockdev-1.9-1.fc25.x86_64
product:        Fedora
release:        Fedora release 25 (Twenty Five)
type:           anaconda
version:        25

Comment 1 Kamil Páral 2016-09-01 10:26:50 UTC
Created attachment 1196680 [details]
File: anaconda-tb

Comment 2 Kamil Páral 2016-09-01 10:26:52 UTC
Created attachment 1196681 [details]
File: anaconda.log

Comment 3 Kamil Páral 2016-09-01 10:26:53 UTC
Created attachment 1196682 [details]
File: environ

Comment 4 Kamil Páral 2016-09-01 10:26:56 UTC
Created attachment 1196683 [details]
File: journalctl

Comment 5 Kamil Páral 2016-09-01 10:26:58 UTC
Created attachment 1196684 [details]
File: lsblk_output

Comment 6 Kamil Páral 2016-09-01 10:26:59 UTC
Created attachment 1196685 [details]
File: nmcli_dev_list

Comment 7 Kamil Páral 2016-09-01 10:27:01 UTC
Created attachment 1196686 [details]
File: os_info

Comment 8 Kamil Páral 2016-09-01 10:27:03 UTC
Created attachment 1196687 [details]
File: program.log

Comment 9 Kamil Páral 2016-09-01 10:27:06 UTC
Created attachment 1196688 [details]
File: storage.log

Comment 10 Kamil Páral 2016-09-01 10:27:08 UTC
Created attachment 1196689 [details]
File: ifcfg.log

Comment 11 Fedora End Of Life 2017-11-16 18:48:58 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 12 Fedora End Of Life 2017-12-12 10:21:26 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.