Bug 1289038 - gi.overrides.BlockDev.LVMError: Process reported exit code 1280: Volume group "vg3" not found Cannot process volume group vg3
Summary: gi.overrides.BlockDev.LVMError: Process reported exit code 1280: Volume gro...
Keywords:
Status: CLOSED DUPLICATE of bug 1226244
Alias: None
Product: Fedora
Classification: Fedora
Component: libblockdev
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vratislav Podzimek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e0e91013b77a620d3e1d567722e...
: 1285030 1289227 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-07 10:05 UTC by Anders Blomdell
Modified: 2015-12-08 16:57 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-08 16:57:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (774.27 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: anaconda.log (11.18 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: dnf.log (759 bytes, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: environ (459 bytes, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: ks.cfg (2.56 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: lsblk_output (5.10 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: nmcli_dev_list (2.26 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: os_info (451 bytes, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: storage.log (362.49 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: syslog (133.48 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: ifcfg.log (6.22 KB, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: packaging.log (374 bytes, text/plain)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
File: program.log (145.75 KB, application/octet-stream)
2015-12-07 10:05 UTC, Anders Blomdell
no flags Details
The file included from ks.cfg (1.17 KB, text/plain)
2015-12-07 17:06 UTC, Anders Blomdell
no flags Details
Log from '/usr/sbin/lvmetad -f -l all' (406.39 KB, text/plain)
2015-12-07 18:53 UTC, Anders Blomdell
no flags Details

Description Anders Blomdell 2015-12-07 10:05:07 UTC
Description of problem:


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

The following was filed automatically by anaconda:
anaconda 23.19.10-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.4/site-packages/gi/overrides/BlockDev.py", line 416, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python3.4/site-packages/blivet/devices/lvm.py", line 700, in _setup
    blockdev.lvm.lvactivate(self.vg.name, self._name)
  File "/usr/lib/python3.4/site-packages/blivet/devices/storage.py", line 386, in setup
    self._setup(orig=orig)
  File "/usr/lib/python3.4/site-packages/blivet/osinstall.py", line 619, in mountFilesystems
    device.setup()
  File "/usr/lib/python3.4/site-packages/blivet/blivet.py", line 1405, in mountFilesystems
    readOnly=readOnly, skipRoot=skipRoot)
  File "/usr/lib/python3.4/site-packages/blivet/osinstall.py", line 1105, in turnOnFilesystems
    storage.mountFilesystems()
  File "/usr/lib64/python3.4/site-packages/pyanaconda/install.py", line 195, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)
  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)
gi.overrides.BlockDev.LVMError: Process reported exit code 1280:   Volume group "vg3" not found
  Cannot process volume group vg3


Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=Fedora-23-x86_64/vmlinuz initrd=Fedora-23-x86_64/initrd.img ks=http://dist.control.lth.se/private/kickstart/Fedora-23-x86_64 hostname=fay-04 keymap=se-latin1  BOOTIF=01-54-be-f7-08-3c-2d
dnf.rpm.log:    Dec 07 09:56:47 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.3-300.fc23.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        23

Comment 1 Anders Blomdell 2015-12-07 10:05:15 UTC
Created attachment 1103106 [details]
File: anaconda-tb

Comment 2 Anders Blomdell 2015-12-07 10:05:17 UTC
Created attachment 1103107 [details]
File: anaconda.log

Comment 3 Anders Blomdell 2015-12-07 10:05:19 UTC
Created attachment 1103108 [details]
File: dnf.log

Comment 4 Anders Blomdell 2015-12-07 10:05:20 UTC
Created attachment 1103109 [details]
File: environ

Comment 5 Anders Blomdell 2015-12-07 10:05:22 UTC
Created attachment 1103110 [details]
File: ks.cfg

Comment 6 Anders Blomdell 2015-12-07 10:05:23 UTC
Created attachment 1103111 [details]
File: lsblk_output

Comment 7 Anders Blomdell 2015-12-07 10:05:25 UTC
Created attachment 1103112 [details]
File: nmcli_dev_list

Comment 8 Anders Blomdell 2015-12-07 10:05:26 UTC
Created attachment 1103113 [details]
File: os_info

Comment 9 Anders Blomdell 2015-12-07 10:05:30 UTC
Created attachment 1103114 [details]
File: storage.log

Comment 10 Anders Blomdell 2015-12-07 10:05:33 UTC
Created attachment 1103115 [details]
File: syslog

Comment 11 Anders Blomdell 2015-12-07 10:05:34 UTC
Created attachment 1103116 [details]
File: ifcfg.log

Comment 12 Anders Blomdell 2015-12-07 10:05:36 UTC
Created attachment 1103117 [details]
File: packaging.log

Comment 13 Anders Blomdell 2015-12-07 10:05:38 UTC
Created attachment 1103118 [details]
File: program.log

Comment 14 Anders Blomdell 2015-12-07 17:03:53 UTC
*** Bug 1289227 has been marked as a duplicate of this bug. ***

Comment 15 Anders Blomdell 2015-12-07 17:06:07 UTC
Created attachment 1103308 [details]
The file included from ks.cfg

Comment 16 Anders Blomdell 2015-12-07 17:16:15 UTC
Seems to be related lvmetad, after the error has occured, vg3 is no
longer visible, but clearing the cache and rescanning makes it visible again.
The problem seems to depend on disks being > 2TB.

# pvscan 
  PV /dev/md126   VG vg0   lvm2 [499.87 GiB / 191.87 GiB free]
  PV /dev/sda4    VG vg1   lvm2 [1.32 TiB / 0    free]
  PV /dev/sdb4    VG vg2   lvm2 [1.32 TiB / 0    free]
  Total: 3 [3.13 TiB] / in use: 3 [3.13 TiB] / in no VG: 0 [0   ]
# pvscan --cache
# pvscan 
  PV /dev/md126   VG vg0   lvm2 [499.87 GiB / 191.87 GiB free]
  PV /dev/sda4    VG vg1   lvm2 [1.32 TiB / 0    free]
  PV /dev/sdb4    VG vg2   lvm2 [1.32 TiB / 0    free]
  PV /dev/md127   VG vg3   lvm2 [5.46 TiB / 4.68 TiB free]
  Total: 4 [8.59 TiB] / in use: 4 [8.59 TiB] / in no VG: 0 [0   ]
#

Comment 17 Anders Blomdell 2015-12-07 18:53:36 UTC
Created attachment 1103336 [details]
Log from '/usr/sbin/lvmetad -f -l all'

Comment 18 Anders Blomdell 2015-12-08 09:02:38 UTC
The following pre script solves thee problem nicely:

%pre
/bin/sed -i -e 's/use_lvmetad\s*=\s*1/use_lvmetad = 0/' /etc/lvm/lvm.conf
/bin/systemctl stop lvm2-lvmetad.socket
/bin/systemctl stop lvm2-lvmetad.service
%end

Comment 19 Anders Blomdell 2015-12-08 11:37:10 UTC
*** Bug 1285030 has been marked as a duplicate of this bug. ***

Comment 20 Anders Blomdell 2015-12-08 16:57:44 UTC

*** This bug has been marked as a duplicate of bug 1226244 ***


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