Bug 1720435

Summary: Failed to install RHVH 7.7
Product: Red Hat Enterprise Virtualization Manager Reporter: Qin Yuan <qiyuan>
Component: redhat-virtualization-hostAssignee: Yuval Turgeman <yturgema>
Status: CLOSED ERRATA QA Contact: Qin Yuan <qiyuan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.3.5CC: cshao, nlevy, qiyuan, rdlugyhe, sasundar, sbonazzo, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.3.5Keywords: Rebase, Regression, TestBlocker, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-virtualization-host-4.3.5-20190620.2.el7_7 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-12 11:54:28 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: 1720903    
Bug Blocks:    
Attachments:
Description Flags
logs under /tmp none

Description Qin Yuan 2019-06-14 02:40:22 UTC
Created attachment 1580519 [details]
logs under /tmp

Description of problem:
RHVH 7.7 installation failed at the post section, see errors below:

2019-06-14 09:41:05,608 [INFO] (MainThread) Trying to create a manageable base from '/'
2019-06-14 09:41:05,843 [INFO] (MainThread) Initial base will be <Base rhvh-4.3.5.1-0.20190613.0 [] />
2019-06-14 09:41:05,843 [INFO] (MainThread) Initial layer will be <Layer rhvh-4.3.5.1-0.20190613.0+1 />
2019-06-14 09:41:05,843 [INFO] (MainThread) Creating an initial base <Base rhvh-4.3.5.1-0.20190613.0 [] /> for <LV 'rhvh_dell-per515-02/root' />
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/site-packages/imgbased/__main__.py", line 53, in <module>
    CliApplication()
  File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in CliApplication
    app.hooks.emit("post-arg-parse", args)
  File "/usr/lib/python2.7/site-packages/imgbased/hooks.py", line 120, in emit
    cb(self.context, *args)
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 173, in post_argparse
    layout.initialize(args.source, args.init_nvr)
  File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 220, in initialize
    self.app.imgbase.init_layout_from(source, init_nvr)
  File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 284, in init_layout_from
    initial_base.lv_name)
  File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 212, in _add_lvm_snapshot
    utils.Filesystem.from_device(new_lv.path).randomize_uuid()
  File "/usr/lib/python2.7/site-packages/imgbased/utils.py", line 367, in randomize_uuid
    call(cmd, stderr=subprocess.STDOUT)
  File "/usr/lib/python2.7/site-packages/imgbased/utils.py", line 171, in call
    return subprocess.check_output(*args, **kwargs).strip()
  File "/usr/lib64/python2.7/subprocess.py", line 575, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['e2fsck', '-y', '-f', u'/dev/rhvh_dell-per515-02/rhvh-4.3.5.1-0.20190613.0']' returned non-zero exit status 8


Version-Release number of selected component (if applicable):
RHVH-4.3-20190613.2-RHVH-x86_64-dvd1.iso

How reproducible:
100%

Steps to Reproduce:
1. Install RHVH 7.7 via RHVH-4.3-20190613.2-RHVH-x86_64-dvd1.iso
2. Configure all required parameters on Anaconda GUI, wait installation to finish

Actual results:
1. Installation failed with the above error.

Expected results:
1. Installation should succeed.

Additional info:

Comment 8 Sandro Bonazzola 2019-06-20 12:12:25 UTC
e2fsprogs-1.42.9-16.el7.x86_64 is included in redhat-virtualization-host-4.3.5-20190620.0.el7_7

Comment 10 Qin Yuan 2019-06-21 07:02:08 UTC
Tested with RHVH-4.3-20190620.7-RHVH-x86_64-dvd1.iso which contains e2fsprogs-1.42.9-16.el7.x86_64, installation succeeded. This bug is fixed, move to VERIFIED.

Comment 13 errata-xmlrpc 2019-08-12 11:54:28 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, 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-2019:2437