Bug 1227032 - DMError: Failed to group_set
Summary: DMError: Failed to group_set
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: libblockdev
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8a30083a7b01e40c8302bc3cdb3...
: 1246907 1247040 1247435 1259909 1295240 1304577 1304821 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-01 18:45 UTC by Lee Yates
Modified: 2016-07-19 14:27 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 14:27:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (677.45 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: anaconda.log (22.89 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: environ (699 bytes, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: journalctl (521.37 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: lsblk_output (2.78 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: nmcli_dev_list (1.96 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: os_info (369 bytes, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: program.log (34.18 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: storage.log (95.54 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details
File: ifcfg.log (15.13 KB, text/plain)
2015-06-01 18:45 UTC, Lee Yates
no flags Details

Description Lee Yates 2015-06-01 18:45:27 UTC
Description of problem:
Anaconda crashes on double clicking 'install to hard drive'.

Version-Release number of selected component:
anaconda-core-22.20.13-1.fc22.x86_64

The following was filed automatically by anaconda:
anaconda 22.20.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/gi/overrides/BlockDev.py", line 384, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1674, in handleUdevDMRaidMemberFormat
    rs_names = blockdev.dm.get_member_raid_sets(uuid, name, major, minor)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1895, in handleUdevDeviceFormat
    self.handleUdevDMRaidMemberFormat(info, device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1261, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2193, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2127, in populate
    self._populate()
  File "/usr/lib/python2.7/site-packages/blivet/blivet.py", line 277, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python2.7/site-packages/blivet/osinstall.py", line 1116, in storageInitialize
    storage.reset()
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 244, in run
    threading.Thread.run(self, *args, **kwargs)
DMError: Failed to group_set

Additional info:
cmdline:        /usr/bin/python2  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/ubnkern initrd=/ubninit root=live:UUID=8A5E-3B40 rootfstype=auto ro rd.live.image quiet rhgb quiet vconsole.font=gr928-8x16-thin.psfu vt.default_red=20,80,75,128,47,118,119,118,65,102,223,84,85,220,85,225 vt.default_grn=20,0,75,85,47,63,121,118,65,157,223,84,85,108,170,225 vt.default_blu=20,0,75,40,133,117,229,118,65,102,94,171,255,163,200,225 vt.color=0x08 rhgb rd.luks=0 rd.md=0 rd.dm=0
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.0.4-301.fc22.x86_64
other involved packages: libblockdev-0.13-2.fc22.x86_64, python-libs-2.7.9-6.fc22.x86_64, python-blivet-1.0.9-1.fc22.noarch
product:        Fedora
release:        Chapeau release 22 (Indurain)
type:           anaconda
version:        22

Comment 1 Lee Yates 2015-06-01 18:45:32 UTC
Created attachment 1033456 [details]
File: anaconda-tb

Comment 2 Lee Yates 2015-06-01 18:45:34 UTC
Created attachment 1033457 [details]
File: anaconda.log

Comment 3 Lee Yates 2015-06-01 18:45:35 UTC
Created attachment 1033458 [details]
File: environ

Comment 4 Lee Yates 2015-06-01 18:45:39 UTC
Created attachment 1033459 [details]
File: journalctl

Comment 5 Lee Yates 2015-06-01 18:45:40 UTC
Created attachment 1033460 [details]
File: lsblk_output

Comment 6 Lee Yates 2015-06-01 18:45:41 UTC
Created attachment 1033461 [details]
File: nmcli_dev_list

Comment 7 Lee Yates 2015-06-01 18:45:43 UTC
Created attachment 1033462 [details]
File: os_info

Comment 8 Lee Yates 2015-06-01 18:45:44 UTC
Created attachment 1033463 [details]
File: program.log

Comment 9 Lee Yates 2015-06-01 18:45:46 UTC
Created attachment 1033464 [details]
File: storage.log

Comment 10 Lee Yates 2015-06-01 18:45:47 UTC
Created attachment 1033465 [details]
File: ifcfg.log

Comment 11 Vratislav Podzimek 2015-07-28 12:10:43 UTC
*** Bug 1246907 has been marked as a duplicate of this bug. ***

Comment 12 David Shea 2015-07-28 12:45:41 UTC
*** Bug 1247435 has been marked as a duplicate of this bug. ***

Comment 13 Vratislav Podzimek 2015-07-29 13:58:56 UTC
*** Bug 1247040 has been marked as a duplicate of this bug. ***

Comment 14 David Shea 2016-02-08 18:52:42 UTC
*** Bug 1304577 has been marked as a duplicate of this bug. ***

Comment 15 David Shea 2016-02-08 18:52:48 UTC
*** Bug 1304821 has been marked as a duplicate of this bug. ***

Comment 16 David Shea 2016-02-08 18:53:33 UTC
*** Bug 1259909 has been marked as a duplicate of this bug. ***

Comment 17 David Shea 2016-02-08 18:53:37 UTC
*** Bug 1295240 has been marked as a duplicate of this bug. ***

Comment 18 hashim.muqtadir 2016-04-02 20:13:20 UTC
Another user experienced a similar problem:

Install to hard drive fails. One traceback says "No RAIDs discovered" and another python traceback says osimg was not found. Attempting a UEFI native install. Other bootable drives exist on the system (they use MBR, will remove them).

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-WS-x86_64-23-10 ro rd.live.image quiet rhgb rd.live.check
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-libs-3.4.3-5.fc23.x86_64, python3-blivet-1.12.8-1.fc23.noarch, libblockdev-1.1-2.fc23.x86_64
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         gi.overrides.BlockDev.DMError: No RAIDs discovered
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 19 hashim.muqtadir 2016-04-10 16:24:12 UTC
Turns out the issue I had experienced was due to one of my hard disks reporting an error when running "dmraid" on it.

Running "dmraid -r" on the device returned an error similar to:

ERROR: pdc: identifying /dev/sdc, magic_0: some hex value, magic_1: some other hex value

followed by something like "No RAIDs defined".

The same device, it turned out, also had bad sectors.

Removing the disk made the install work fine.

Also, there wasn't actually any RAID configured on my system anyway.


Hope that helps.

Comment 20 mlazzje 2016-04-27 17:57:24 UTC
Another user experienced a similar problem:

When I try to install Fedora on my Hard Drive, I have this issue. It appears when I have to choose the installation language... I can only quit or report the bug.

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/isolinux/vmlinuz0 root=live:LABEL=Fedora-Live-WS-x86_64-23-10 ro rd.live.image quiet rhgb rd.live.check
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-blivet-1.12.8-1.fc23.noarch, libblockdev-1.1-2.fc23.x86_64, python3-libs-3.4.3-5.fc23.x86_64
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         gi.overrides.BlockDev.DMError: Failed to group_set
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 21 mlazzje 2016-04-27 19:51:19 UTC
Thank you Hashim. 

Thanks to the comand "dmraid -r" I could find out which disk was in RAID mode, even if there is any RAID configured on my computer... So I removed the disk and installed successfully fedora!

Comment 22 Yevhenii 2016-05-29 17:54:49 UTC
Another user experienced a similar problem:

1. boot from Fedora-Live-Workstation-x86_64-23-10.iso with Zalman ZM-VE300 connected to USB.
2. then run Install to Hard Drive
3. Get an Error. :-) good work!

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-WS-x86_64-23-10 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-blivet-1.12.8-1.fc23.noarch, python3-libs-3.4.3-5.fc23.x86_64, libblockdev-1.1-2.fc23.x86_64
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         gi.overrides.BlockDev.DMError: Failed to group_set
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 23 Josh Housey 2016-06-17 16:42:52 UTC
Another user experienced a similar problem:


Used UNIX dd command to put iso to CD or USB media. No errors showed up when completed. I attempted Fedora Server 23 NetInstall/Fedora Server 24 beta NetInstall/Fedora Server 23 Xfce spin (example). All of these are 64bit. No issues with testing media after put iso on them.

No unusual messages on boot up screen. When in netinstall, white screen shows and then window with bug report shows up. Xfce spin loads desktop properly but when going to "Install to Hard Disk, same window as above shows up.

cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img root=live:CDLABEL=Fedora-Live-Xfce-x86_64-23-10 rootfstype=auto ro rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
other involved packages: python3-libs-3.4.3-5.fc23.x86_64, libblockdev-1.1-2.fc23.x86_64, python3-blivet-1.12.8-1.fc23.noarch
package:        anaconda-core-23.19.10-1.fc23.x86_64
packaging.log:  
product:        Fedora
reason:         gi.overrides.BlockDev.DMError: Failed to group_set
release:        Fedora release 23 (Twenty Three)
version:        23

Comment 24 Josh Housey 2016-06-17 17:02:20 UTC
Thanks for the posting above to start to look at the RAID. 

"dmraid -r" identified that there was leftover RAID metadata that I didn't know was there. This was coming from a computer moving from OpenSUSE to Fedora to use for testing/development purposes. Somehow, this wasn't caught when I tried CentOS 7 as I got no errors when installed but unfortunately it did not detect my NICs.

"dmraid -r -E /dev/sda" was successful which cleared this out. I ran the "Install to Hard Disk" under the spin and it was successful. The netinstall isos will probably work as well..

(In reply to Josh Housey from comment #23)
> Another user experienced a similar problem:
> 
> 
> Used UNIX dd command to put iso to CD or USB media. No errors showed up when
> completed. I attempted Fedora Server 23 NetInstall/Fedora Server 24 beta
> NetInstall/Fedora Server 23 Xfce spin (example). All of these are 64bit. No
> issues with testing media after put iso on them.
> 
> No unusual messages on boot up screen. When in netinstall, white screen
> shows and then window with bug report shows up. Xfce spin loads desktop
> properly but when going to "Install to Hard Disk, same window as above shows
> up.
> 
> cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst
> --method=livecd:///dev/mapper/live-base
> cmdline_file:   BOOT_IMAGE=vmlinuz0 initrd=initrd0.img
> root=live:CDLABEL=Fedora-Live-Xfce-x86_64-23-10 rootfstype=auto ro
> rd.live.image quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0 
> hashmarkername: anaconda
> kernel:         4.2.3-300.fc23.x86_64
> other involved packages: python3-libs-3.4.3-5.fc23.x86_64,
> libblockdev-1.1-2.fc23.x86_64, python3-blivet-1.12.8-1.fc23.noarch
> package:        anaconda-core-23.19.10-1.fc23.x86_64
> packaging.log:  
> product:        Fedora
> reason:         gi.overrides.BlockDev.DMError: Failed to group_set
> release:        Fedora release 23 (Twenty Three)
> version:        23

Comment 25 Fedora End Of Life 2016-07-19 14:27:21 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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.


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