Bug 1394467 - gi.overrides.BlockDev.LVMError: Process reported exit code 1280: WARNING: Not using lvmetad because duplicate PVs were found.
Summary: gi.overrides.BlockDev.LVMError: Process reported exit code 1280: WARNING: N...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: libblockdev
Version: 25
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vojtech Trefny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:77186c3f2bbc1946267c0ff712b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-12 11:37 UTC by Tobias Schönberg
Modified: 2017-12-12 10:34 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:34:51 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (2.01 MB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: anaconda.log (111.89 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: environ (598 bytes, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: journalctl (693.12 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: lsblk_output (3.92 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: lvm.log (419.10 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: nmcli_dev_list (1.93 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: os_info (518 bytes, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: program.log (152.75 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: storage.log (592.20 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
File: ifcfg.log (7.12 KB, text/plain)
2016-11-12 11:37 UTC, Tobias Schönberg
no flags Details
Diagnostic files from failed MATE spin install (569.77 KB, application/x-gzip)
2017-05-14 21:31 UTC, Charles Butterfield
no flags Details
Diagnostic files from failed Workstation spin install (257.90 KB, application/x-gzip)
2017-05-14 21:32 UTC, Charles Butterfield
no flags Details

Description Tobias Schönberg 2016-11-12 11:37:14 UTC
Description of problem:
Choosing an installation disk throws an errror.

Version-Release number of selected component:
anaconda-core-25.20.4-1.fc25.x86_64

The following was filed automatically by anaconda:
anaconda 25.20.4-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/formats/lvmpv.py", line 167, in free
    pv_info = blockdev.lvm.pvinfo(self.device)
  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/blivet.py", line 754, in get_free_space
    elif hasattr(partition.format, "free"):
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 661, in _add_disk_overview
    free = self.storage.get_free_space(disks=[disk])[disk.name][0]
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/spokes/storage.py", line 574, in refresh
    self._add_disk_overview(disk, self.local_disks_box)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 387, in _on_spoke_clicked
    spoke.refresh()
gi.overrides.BlockDev.LVMError: Process reported exit code 1280:   WARNING: Not using lvmetad because duplicate PVs were found.
  WARNING: Use multipath or vgimportclone to resolve duplicate PVs?
  WARNING: After duplicates are resolved, run "pvscan --cache" to enable lvmetad.
  Failed to find device for physical volume "/dev/md/ARRAY0_0p2".


Additional info:
addons:         com_redhat_kdump
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_B-1-1 rd.live.image quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.0-0.rc7.git0.1.fc25.x86_64
other involved packages: python3-blivet-2.1.6-1.fc25.noarch, anaconda-gui-25.20.4-1.fc25.x86_64, python3-blockdev-1.9-4.fc25.x86_64
product:        Fedora
release:        Fedora release 25 (Twenty Five)
type:           anaconda
version:        25

Comment 1 Tobias Schönberg 2016-11-12 11:37:28 UTC
Created attachment 1219966 [details]
File: anaconda-tb

Comment 2 Tobias Schönberg 2016-11-12 11:37:32 UTC
Created attachment 1219967 [details]
File: anaconda.log

Comment 3 Tobias Schönberg 2016-11-12 11:37:33 UTC
Created attachment 1219968 [details]
File: environ

Comment 4 Tobias Schönberg 2016-11-12 11:37:38 UTC
Created attachment 1219969 [details]
File: journalctl

Comment 5 Tobias Schönberg 2016-11-12 11:37:40 UTC
Created attachment 1219970 [details]
File: lsblk_output

Comment 6 Tobias Schönberg 2016-11-12 11:37:44 UTC
Created attachment 1219971 [details]
File: lvm.log

Comment 7 Tobias Schönberg 2016-11-12 11:37:47 UTC
Created attachment 1219972 [details]
File: nmcli_dev_list

Comment 8 Tobias Schönberg 2016-11-12 11:37:48 UTC
Created attachment 1219973 [details]
File: os_info

Comment 9 Tobias Schönberg 2016-11-12 11:37:51 UTC
Created attachment 1219974 [details]
File: program.log

Comment 10 Tobias Schönberg 2016-11-12 11:37:56 UTC
Created attachment 1219975 [details]
File: storage.log

Comment 11 Tobias Schönberg 2016-11-12 11:37:58 UTC
Created attachment 1219976 [details]
File: ifcfg.log

Comment 12 Chris Caron 2016-11-25 02:11:50 UTC
Similar problem has been detected:

- Inserted Fedora 25 Workstation
- Chose to Install the software
- Chose English Lang, English (US) Keyboard
- Had to click on [Installation Destination] because it was flagged for addressing
- Crashed.


My system was previously running Fedora 22 (2 SSD Raided) on /dev/md126 and /dev/127
I noticed that vgs did not output anything, so i added: filter = [ "a|^/dev/md12[67]$|" ] to /etc/lvm/lvm.conf
and ran vgscan.  Now lvs lists my old fedora partition (logical volume). Ideally i'd like to at least keep the home partition
from it.

Re-ran setup (no reboot) from the menu and it crashed at the same spot.

Have a Laptop: Acer Aspire S7

Fedora 22 still works awesome, but i'd really like to upgrade.  Is this a bug, or a configuration issue i have? Perhaps my (Software) Raid is interfering some how?

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-25-1-3 rd.live.image quiet
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
other involved packages: python3-blockdev-1.9-8.fc25.x86_64, python3-blivet-2.1.6-4.fc25.noarch, anaconda-gui-25.20.8-1.fc25.x86_64
package:        anaconda-core-25.20.8-1.fc25.x86_64
packaging.log:  
product:        Fedora
reason:         gi.overrides.BlockDev.LVMError: Process reported exit code 1280:   WARNING: Device for PV idt9cj-pj0b-PwHS-gy7N-qtfj-v7gl-AJzvjQ not found or rejected by a filter.
release:        Fedora release 25 (Twenty Five)
version:        25

Comment 13 Chris Caron 2016-11-25 02:36:56 UTC
As an update, i found this RH Solution 1532583 which tells me to use the global_filter= entry in the lvm.conf and not the filter=

# I tried this (just now) followed by running vgscan with same error
global_filter = [ "a|^/dev/md/HDD0_0p[1-3]$|", "r|.*|" ]

# Both of these gave the same error too (tried these originally)
filter = [ "a|^/dev/md12[67]$|" ]
filter = [ "a|^/dev/md/HDD0_0p[1-3]$|" ]

Comment 14 Giuseppe Castagna 2016-11-29 14:52:06 UTC
Similar problem has been detected:

Just started installation process and clicked on "INSTALLATION DESTINATION". May the cause be that I have raid configuration?

addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-25-1-3 rd.live.image quiet
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
other involved packages: anaconda-gui-25.20.8-1.fc25.x86_64, python3-blivet-2.1.6-4.fc25.noarch, python3-blockdev-1.9-8.fc25.x86_64
package:        anaconda-core-25.20.8-1.fc25.x86_64
packaging.log:  
product:        Fedora
reason:         gi.overrides.BlockDev.LVMError: Process reported exit code 1280:   WARNING: Device for PV 0nufTs-z8uM-lLMq-AgPF-7ZHZ-4wwY-IMBWwr not found or rejected by a filter.
release:        Fedora release 25 (Twenty Five)
version:        25

Comment 15 Giuseppe Castagna 2016-11-30 07:52:40 UTC
Could somebody bump the severity of this bug to "urgent", since there is no way I know of (but I am eager for suggestions) to install Fedora 25 without fixing it, please? And, yes, it really seems that this is due to Raid.

Comment 16 Charles Butterfield 2017-05-13 19:57:48 UTC
I too have run into this problem trying to install Fedora-25.  Occurs with both Workstation and MATE spins.  Trying Server next as a last resort to install. 

Unless that works, I'm dead in the water trying to install Fedora-25.  (Note I had earlier done an upgrade install from F24 but that left me with some components not working so I need to do a clean install).
 
Initially auto reported as https://bugzilla.redhat.com/show_bug.cgi?id=1403980 based on the MATE Spin error reason (the "duplicate PVs" error message was supplanted by the "failed to mount the install tree" message).

Comment 17 Charles Butterfield 2017-05-14 21:28:51 UTC
Wow - Installing the Fedora-25 "Server Edition" succeeded while the "Workstation" and "MATE Spin" fail.  So I have a path forward.  Further that should be a big clue (diffing the relevant anaconda (or whatever) scripts between Server and Workstation.

Please note - I have provided a full set of diagnostic files for the "failure case" under https://bugzilla.redhat.com/show_bug.cgi?id=1403980 .  I will attach there here as well.

Lastly - Echoing comment 15, could somebody that has access assign a severity and/or priority to this ticket.

Comment 18 Charles Butterfield 2017-05-14 21:31:30 UTC
Created attachment 1278722 [details]
Diagnostic files from failed MATE spin install

Comment 19 Charles Butterfield 2017-05-14 21:32:09 UTC
Created attachment 1278723 [details]
Diagnostic files from failed Workstation spin install

Comment 20 Charles Butterfield 2017-05-14 21:39:06 UTC
Repeat the SERVER Edition WORKED FOR ME !!!  I did not make that as obvious as I should have.

Comment 21 Fedora End Of Life 2017-11-16 18:48:40 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 22 Fedora End Of Life 2017-12-12 10:34:51 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.


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