Bug 1886695

Summary: Failed to install RHVH 4.4.3 due to missing Lvm ThinPool
Product: Red Hat Enterprise Virtualization Manager Reporter: cshao <cshao>
Component: redhat-virtualization-hostAssignee: Nir Levy <nlevy>
Status: CLOSED ERRATA QA Contact: cshao <cshao>
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: cshao, lsvaty, mavital, mburman, nlevy, peyu, reliezer, sbonazzo, shlei, weiwang, yaniwang
Target Milestone: ovirt-4.4.3-1Keywords: Regression, TestBlocker, ZStream
Target Release: 4.4.3   
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: 2020-11-24 13:14:34 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:
Bug Depends On:    
Bug Blocks: 1840500    

Description cshao 2020-10-09 06:52:54 UTC
Description of problem:
Failed to install RHVH 4.4.3 due to missingLvm ThinPool


There was an error running the kickstart script at line 12.  This is a fatal error and installation will be aborted.  The details of this error are:

2020-10-09 06:22:07,977 [INFO] (MainThread) Trying to create a manageable base from '/'
2020-10-09 06:22:09,249 [ERROR] (MainThread) LVM Thin Provisioning partitioning scheme is required.
For autoinstall via Kickstart with LVM Thin Provisioning check options: --thinpool and --grow. Please consult documentation for details

Traceback (most recent call last):
  File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.6/site-packages/imgbased/__main__.py", line 53, in <module>
    CliApplication()
  File "/usr/lib/python3.6/site-packages/imgbased/__init__.py", line 82, in CliApplication
    app.hooks.emit("post-arg-parse", args)
  File "/usr/lib/python3.6/site-packages/imgbased/hooks.py", line 120, in emit
    cb(self.context, *args)
  File "/usr/lib/python3.6/site-packages/imgbased/plugins/core.py", line 171, in post_argparse
    layout.initialize(args.source, args.init_nvr)
  File "/usr/lib/python3.6/site-packages/imgbased/plugins/core.py", line 215, in initialize
    self.app.imgbase.init_layout_from(source, init_nvr)
  File "/usr/lib/python3.6/site-packages/imgbased/imgbase.py", line 293, in init_layout_from
    self.init_tags_on(existing_lv)
  File "/usr/lib/python3.6/site-packages/imgbased/imgbase.py", line 271, in init_tags_on
    pool = lv.thinpool()
  File "/usr/lib/python3.6/site-packages/imgbased/lvm.py", line 305, in thinpool
    raise MissingLvmThinPool()
imgbased.lvm.MissingLvmThinPool



Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.4.3-20201008.0.el8_3

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH-4.4-20201008.0-RHVH-x86_64-dvd1.iso via anaconda GUI.
2. Select the fill options by default.
3.

Actual results:
Failed to install RHVH 4.4.3 due to missingLvm ThinPool

Expected results:
Install RHVH 4.4.3 can successful.

Additional info:

Comment 2 Sandro Bonazzola 2020-10-14 12:12:44 UTC
*** Bug 1887726 has been marked as a duplicate of this bug. ***

Comment 3 Sandro Bonazzola 2020-10-14 12:33:07 UTC
Related to bug #1886484 but due to a different issue within the build system which caused the fix for bug #1886484 to not be included in the ISO.
The build issue also caused missing branding of the anaconda installer (unrelated to bug #1886484) and several other missing parts.
This issue does not exist in any released RHV-H iso, only within internal development builds.

About the traceback, I think it may deserve a separate bug for having imgbased failing more graciously.

Comment 4 cshao 2020-10-22 11:24:06 UTC
Test version:
RHVH-4.4-20201020.5-RHVH-x86_64-dvd1.iso

Test result:
Install RHVH-4.4-20201020.5-RHVH-x86_64-dvd1.iso can succeed, so the bug is fixed.

Comment 7 cshao 2020-10-27 08:57:58 UTC
Verify this bug according #c4.

Comment 14 errata-xmlrpc 2020-11-24 13:14:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Virtualization security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5218