Bug 1457111
| Summary: | Failed to install RHVH | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Qin Yuan <qiyuan> | ||||
| Component: | rhev-hypervisor-ng | Assignee: | Ryan Barry <rbarry> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Qin Yuan <qiyuan> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 4.1.3 | CC: | bugs, cshao, dfediuck, dguo, huzhao, jiawu, qiyuan, rbarry, sbonazzo, weiwang, yaniwang, ycui, yzhao | ||||
| Target Milestone: | ovirt-4.1.3 | Keywords: | Rebase, Regression, TestBlocker, ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | imgbased-0.9.30-0.1.el7ev | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-07-11 08:41:19 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: | 1368420 | ||||||
| Attachments: |
|
||||||
1. Miss boot entry after upgrade to 4.1-20170530.0, so this bug block upgrade testing.
2. There is also error info during upgrade with "#yum update":
rm: cannot remove ‘/tmp/tmp.tChDzkiKug/usr/share/imgbased/*image-update*.rpm’: No such file or directory
# yum update
Dependencies Resolved
======================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================
Installing:
redhat-virtualization-host-image-update noarch 4.1-20170530.0.el7_3 rhel-7-server-rhvh-4-beta-rpms 545 M
replacing redhat-virtualization-host-image-update-placeholder.noarch 4.0-7.1.el7
Transaction Summary
======================================================================================================================================================================
Install 1 Package
Total download size: 545 M
Is this ok [y/d/N]: y
Downloading packages:
redhat-virtualization-host-image-update-latest.rpm | 545 MB 00:00:08
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : redhat-virtualization-host-image-update-4.1-20170530.0.el7_3.noarch 1/2
rm: cannot remove ‘/tmp/tmp.tChDzkiKug/usr/share/imgbased/*image-update*.rpm’: No such file or directory
Erasing : redhat-virtualization-host-image-update-placeholder-4.0-7.1.el7.noarch 2/2
Verifying : redhat-virtualization-host-image-update-4.1-20170530.0.el7_3.noarch 1/2
Verifying : redhat-virtualization-host-image-update-placeholder-4.0-7.1.el7.noarch 2/2
Installed:
redhat-virtualization-host-image-update.noarch 0:4.1-20170530.0.el7_3
Replaced:
redhat-virtualization-host-image-update-placeholder.noarch 0:4.0-7.1.el7
Complete!
Test Versions: redhat-virtualization-host-4.1-20170531.0 imgbased-0.9.30-0.1.el7ev.noarch Test Steps: 1. Install redhat-virtualization-host-4.1-20170531.0 via PXE Test Results: 1. Install RHVH successfully. The bug is fixed, set status to VERIFIED. Re-verify this bug according #c7. 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/RHBA-2017:1714 |
Created attachment 1283630 [details] /var/log*,/tmp/*,sosreport Description of problem: Install redhat-virtualization-host-4.1-20170530.0 failed with errors as below: 2017-05-31 14:09:16,693 [INFO] Trying to create a manageable base from '/' 2017-05-31 14:09:17,156 [INFO] Initial base will be <Base rhvh-4.1-0.20170530.0 [] /> 2017-05-31 14:09:17,156 [INFO] Initial layer will be <Layer rhvh-4.1-0.20170530.0+1 /> 2017-05-31 14:09:17,156 [INFO] Creating an initial base <Base rhvh-4.1-0.20170530.0 [] /> for <LV 'rhvh/root' /> 2017-05-31 14:09:18,839 [INFO] Creating initial layer <Layer rhvh-4.1-0.20170530.0+1 /> for initial base 2017-05-31 14:09:18,840 [INFO] Adding a new layer after <Base rhvh-4.1-0.20170530.0 [] /> 2017-05-31 14:09:18,840 [INFO] Adding a new layer after <Base rhvh-4.1-0.20170530.0 [] /> 2017-05-31 14:09:18,840 [INFO] New layer will be: <Layer rhvh-4.1-0.20170530.0+1 /> 2017-05-31 14:09:20,990 [ERROR] Failed to migrate etc Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/imgbased/plugins/osupdater.py", line 112, in on_new_layer set_thinpool_profile(imgbase, new_lv) NameError: global name 'set_thinpool_profile' is not defined 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 51, 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 169, in post_argparse layout.initialize(args.source, args.init_nvr) File "/usr/lib/python2.7/site-packages/imgbased/plugins/core.py", line 216, in initialize self.app.imgbase.init_layout_from(source, init_nvr) File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 292, in init_layout_from self.add_layer(initial_base, new_layer) File "/usr/lib/python2.7/site-packages/imgbased/imgbase.py", line 191, in add_layer self.hooks.emit("new-layer-added", prev_lv, new_lv) 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/osupdater.py", line 132, in on_new_layer raise ConfigMigrationError() imgbased.plugins.osupdater.ConfigMigrationError Version-Release number of selected component (if applicable): redhat-virtualization-host-4.1-20170530.0 How reproducible: 100% Steps to Reproduce: 1. Install redhat-virtualization-host-4.1-20170530.0 Actual results: 1. There are errors as above at the end of installation. Expected results: 1. Installation could succeed without errors. Additional info: 1. Try to reboot system after the errors occurred, there is no rhvh boot entry, but still can log into system, run "nodectl check": [root@localtest ~]# nodectl check Status: FAILED Bootloader ... FAILED - It looks like there are no valid bootloader entries. Please ensure this is fixed before rebooting. Layer boot entries ... FAILED - No bootloader entries which point to imgbased layers Valid boot entries ... FAILED - No valid boot entries for imgbased layers or non-imgbased layers Mount points ... FAILED - This can happen if the installation was performed incorrectly Separate /var ... OK Discard is used ... FAILED - 'discard' mount option was not added or got removed Basic storage ... OK Initialized VG ... OK Initialized Thin Pool ... OK Initialized LVs ... OK Thin storage ... OK Checking available space in thinpool ... OK Checking thinpool auto-extend ... OK vdsmd ... OK