Bug 1320600 - gi.overrides.BlockDev.LVMError: Process reported exit code 768: /dev/fedora_vm92: already exists in filesystem
Summary: gi.overrides.BlockDev.LVMError: Process reported exit code 768: /dev/fedora...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 24
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Blivet Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5ff7422de2b4ccf8bc40e4e14b2...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-23 15:28 UTC by Menanteau Guy
Modified: 2017-08-08 14:05 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 14:05:18 UTC
Type: ---


Attachments (Terms of Use)
File: anaconda-tb (633.34 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: anaconda.log (113.07 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: dnf.log (2.61 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: environ (459 bytes, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: lsblk_output (4.97 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: lvm.log (88.15 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: nmcli_dev_list (1.43 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: os_info (449 bytes, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: program.log (48.09 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: storage.log (139.33 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: syslog (133.75 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: ifcfg.log (2.42 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details
File: packaging.log (1.25 KB, text/plain)
2016-03-23 15:28 UTC, Menanteau Guy
no flags Details

Description Menanteau Guy 2016-03-23 15:28:11 UTC
Description of problem:
I created a vm machine with qemu to simulate multpath access on 2 different empty disks. 
I installed fedora 24 on first empty disk without any problem.
I know that it is not possible to install again a fedora on this same disk as it is not anymore empty (https://bugzilla.redhat.com/show_bug.cgi?id=1274392) but I tried to install a new fedora on the second empty disk.
This is failling too (this bug). 

Note that this problem is reproductable on bare metal machine with multipath disks.

qemu command:
/usr/bin/qemu-system-ppc64 -name f24_test -enable-kvm -M pseries -smp 4 -m 4G -nographic -nodefaults -monitor stdio -serial pty -device virtio-net-pci,netdev=net10132,mac=c0:ff:ee:00:00:92 -netdev bridge,br=br0,id=net10132 -device virtio-scsi-pci,id=scsi -drive if=none,id=hda,file=hd1.qcow2,serial=0002 -device scsi-hd,drive=hda -drive if=none,id=hdb,file=hd1.qcow2,serial=0002 -device scsi-hd,drive=hdb -drive if=none,id=hdc,file=hd2.qcow2,serial=0003 -device scsi-hd,drive=hdc -drive if=none,id=hdd,file=hd2.qcow2,serial=0003 -device scsi-hd,drive=hdd -cdrom isole -boot d -S

here is info after first success install.
blkid
/dev/sr0: UUID="2016-03-17-08-38-47-00" LABEL="Fedora-S-dvd-ppc64le-24" TYPE="iso9660" PTTYPE="dos"
/dev/sda: PTUUID="c901093a" PTTYPE="dos"
/dev/sdc: UUID="eade29ce-d65f-4050-9c4b-c59e2456f19d" TYPE="ext4"
/dev/sdb: PTUUID="c901093a" PTTYPE="dos"
/dev/mapper/mpatha: PTUUID="c901093a" PTTYPE="dos"
/dev/sdd: UUID="eade29ce-d65f-4050-9c4b-c59e2456f19d" TYPE="ext4"
/dev/mapper/mpatha1: PARTUUID="c901093a-01"
/dev/mapper/mpatha2: UUID="d0d460c8-4df1-4491-8ed2-5f988cf84f11" TYPE="ext4" PARTUUID="c901093a-02"
/dev/mapper/mpatha3: UUID="mjnXpV-s9Be-RWLV-j2dT-EN7K-QDRU-rfdphw" TYPE="LVM2_member" PARTUUID="c901093a-03"
/dev/mapper/fedora_vm92-root: UUID="2243e2d0-c12d-48c2-912d-4f8ea05b3f51" TYPE="xfs"
/dev/mapper/fedora_vm92-swap: UUID="7e8002b6-522a-44c7-bd30-5cc4bc22f258" TYPE="swap"
/dev/mapper/mpathb: UUID="eade29ce-d65f-4050-9c4b-c59e2456f19d" TYPE="ext4"

pvdisplay
  --- Physical volume ---
  PV Name               /dev/mapper/mpatha3
  VG Name               fedora_vm92
  PV Size               19.51 GiB / not usable 3.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              4993
  Free PE               0
  Allocated PE          4993
  PV UUID               mjnXpV-s9Be-RWLV-j2dT-EN7K-QDRU-rfdphw

vgdisplay
  --- Volume group ---
  VG Name               fedora_vm92
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               19.50 GiB
  PE Size               4.00 MiB
  Total PE              4993
  Alloc PE / Size       4993 / 19.50 GiB
  Free  PE / Size       0 / 0   
  VG UUID               0blUoQ-VKYq-BCET-21xt-rxjv-XFxo-FI4o5r

It seems that on second install, system tries to create the fix named vg "fedora_vm92" (vm92 is the hostname) but
this vg already exists on the first disk...



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

The following was filed automatically by anaconda:
anaconda 24.13-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.5/site-packages/gi/overrides/BlockDev.py", line 416, in wrapped
    raise transform[1](msg)
  File "/usr/lib/python3.5/site-packages/blivet/devices/lvm.py", line 234, in _create
    blockdev.lvm.vgcreate(self.name, pv_list, self.peSize)
  File "/usr/lib/python3.5/site-packages/blivet/devices/storage.py", line 457, in create
    self._create()
  File "/usr/lib/python3.5/site-packages/blivet/deviceaction.py", line 312, in execute
    self.device.create()
  File "/usr/lib/python3.5/site-packages/blivet/actionlist.py", line 280, in process
    action.execute(callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/devicetree.py", line 381, in processActions
    callbacks=callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 164, in doIt
    self.devicetree.processActions(callbacks=callbacks)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1096, in turnOnFilesystems
    storage.doIt(callbacks)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/install.py", line 195, in doInstall
    turnOnFilesystems(storage, mountOnly=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 253, in run
    threading.Thread.run(self, *args, **kwargs)
gi.overrides.BlockDev.LVMError: Process reported exit code 768:   /dev/fedora_vm92: already exists in filesystem
  Run `vgcreate --help' for more information.


Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/ppc/ppc64/vmlinuz ro
dnf.rpm.log:    Mar 23 15:03:35 INFO --- logging initialized ---
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.5.0-0.rc7.git0.2.fc24.ppc64le
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        24

Comment 1 Menanteau Guy 2016-03-23 15:28:17 UTC
Created attachment 1139627 [details]
File: anaconda-tb

Comment 2 Menanteau Guy 2016-03-23 15:28:20 UTC
Created attachment 1139628 [details]
File: anaconda.log

Comment 3 Menanteau Guy 2016-03-23 15:28:21 UTC
Created attachment 1139629 [details]
File: dnf.log

Comment 4 Menanteau Guy 2016-03-23 15:28:23 UTC
Created attachment 1139630 [details]
File: environ

Comment 5 Menanteau Guy 2016-03-23 15:28:24 UTC
Created attachment 1139631 [details]
File: lsblk_output

Comment 6 Menanteau Guy 2016-03-23 15:28:27 UTC
Created attachment 1139632 [details]
File: lvm.log

Comment 7 Menanteau Guy 2016-03-23 15:28:29 UTC
Created attachment 1139633 [details]
File: nmcli_dev_list

Comment 8 Menanteau Guy 2016-03-23 15:28:30 UTC
Created attachment 1139634 [details]
File: os_info

Comment 9 Menanteau Guy 2016-03-23 15:28:32 UTC
Created attachment 1139635 [details]
File: program.log

Comment 10 Menanteau Guy 2016-03-23 15:28:35 UTC
Created attachment 1139636 [details]
File: storage.log

Comment 11 Menanteau Guy 2016-03-23 15:28:38 UTC
Created attachment 1139637 [details]
File: syslog

Comment 12 Menanteau Guy 2016-03-23 15:28:40 UTC
Created attachment 1139638 [details]
File: ifcfg.log

Comment 13 Menanteau Guy 2016-03-23 15:28:41 UTC
Created attachment 1139639 [details]
File: packaging.log

Comment 14 Fedora End Of Life 2017-07-25 20:24:11 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. 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 '24'.

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 24 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 15 Fedora End Of Life 2017-08-08 14:05:18 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 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.