Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1631197

Summary: Failed to install RHVH 76 ISO on Dell 730 machine
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: Installation & UpdateAssignee: Yuval Turgeman <yturgema>
Status: CLOSED NOTABUG QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2CC: bugs, chyan, cshao, huzhao, qiyuan, sbonazzo, weiwang, yaniwang, yaoxu, ycui, yturgema
Target Milestone: ---Flags: cshao: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-21 02:07:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
all log
none
anaconda-error none

Description cshao 2018-09-20 08:18:01 UTC
Created attachment 1485043 [details]
all log

Description of problem:
Failed to install RHVH 76 on Dell 730 machine.

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.2-20180918.0 
imgbased-1.0.25-1.el7ev.noarch

Machine: dell-per730-34


How reproducible:
100%

Steps to Reproduce:
1. GUI install RHVH-4.2-20180919.3-RHVH-x86_64-dvd1.iso on Dell 730-34
2. Try to finish the installation by default options.
3. Focus on the installation process.

Actual results:
Failed to install RHVH 76 on Dell 730 machine.


==================================
01:13:02,503 INFO anaconda: Setting up the installation environment
01:13:02,969 DEBUG anaconda: running handleException
01:13:02,971 CRIT anaconda: Traceback (most recent call last):

  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 227, in run
    threading.Thread.run(self, *args, **kwargs)

  File "/usr/lib64/python2.7/threading.py", line 765, in run
    self.__target(*self.__args, **self.__kwargs)

  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 206, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall, callbacks=callbacks_reg)

  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 230, in turnOnFilesystems
    storage.doIt(callbacks)

  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 380, in doIt
    self.devicetree.processActions(callbacks)

  File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 373, in processActions
    action.execute(callbacks)

  File "/usr/lib/python2.7/site-packages/blivet/deviceaction.py", line 344, in execute
    self.device.destroy()

  File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 525, in destroy
    self._destroy()

  File "/usr/lib/python2.7/site-packages/blivet/devices/lvm.py", line 802, in _destroy
    lvm.lvremove(self.vg.name, self._name)

  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 536, in lvremove
    raise LVMError("lvremove failed for %s: %s" % (lv_name, msg))

LVMError: lvremove failed for home: running /sbin/lvm lvremove rhvh/home --config  devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] }  failed

01:13:02,971 DEBUG anaconda: Gtk running, queuing exception handler to the main loop
01:13:02,972 INFO anaconda: Thread Done: AnaInstallThread (139788960532224)
01:13:07,282 INFO anaconda: Running kickstart %%onerror script(s)
01:13:07,283 INFO anaconda: All kickstart %%onerror script(s) have been run
01:13:07,283 INFO anaconda: Running kickstart %%traceback script(s)
01:13:07,283 INFO anaconda: All kickstart %%traceback script(s) have been run
==============================



Expected results:
Install RHVH 76 on Dell 730 machine can succeed.

Additional info:
1. No such issue during install RHVH 76 via ks.
2. No such issue on previous RHVH 75 iso.

Comment 1 cshao 2018-09-20 08:19:02 UTC
Created attachment 1485044 [details]
anaconda-error

Comment 2 Yuval Turgeman 2018-09-20 08:36:49 UTC
Seems to be an anaconda issue, trying to remove the existing disk layout, can you try to deselect/reselect the installation drive ?

Comment 3 cshao 2018-09-20 08:55:58 UTC
(In reply to Yuval Turgeman from comment #2)
> Seems to be an anaconda issue, trying to remove the existing disk layout,
> can you try to deselect/reselect the installation drive ?

After remove the existing disk layout, the installation still failed.

=========================
DeviceCreateError: ('lvcreate failed for rhvh/pool00: running /sbin/lvm lvcreate --thinpool rhvh/pool00 --size 451824m --poolmetadatasize 228 --chunksize 64 --config  devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] }  failed', 'rhvh-pool00')

Comment 4 cshao 2018-09-20 09:09:36 UTC
(In reply to Yuval Turgeman from comment #2)
> Seems to be an anaconda issue, trying to remove the existing disk layout,
> can you try to deselect/reselect the installation drive ?

Already send test env to you by mail.