Bug 1370458
Summary: | Report lvm error during installation and can not continue to install RHVH | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Huijuan Zhao <huzhao> | ||||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 7.2 | CC: | bugs, cshao, dguo, fdeutsch, huzhao, jiawu, jstodola, leiwang, rbarry, weiwang, yaniwang, ycui, yzhao | ||||||
Target Milestone: | pre-dev-freeze | ||||||||
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: | 2016-12-23 05:24:27 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1329957 | ||||||||
Attachments: |
|
Created attachment 1194310 [details]
logs in /var/log/ on RHVH
Logs (tmplog385g8-03.tar.gz) in /tmp/ on RHVH is too big and can not upload to Bugzillar, please refer to link[1] to get it: [1] http://10.66.10.3:8000/tmplog385g8-03.tar.gz Moving this to anaconda as well, as the bug does not originate from the %post part. from anaconda.log <snip> 11:04:22,363 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 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 1234, in _runThread threadMgr.wait(THREAD_STORAGE) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 112, in wait self.raise_if_error(name) 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 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 184, in storageInitialize storage.reset() File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 489, in reset self.devicetree.populate(cleanupOnly=cleanupOnly) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2228, in populate self._populate() File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 2295, in _populate self.addUdevDevice(dev) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1285, in addUdevDevice self.handleUdevDeviceFormat(info, device) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1981, in handleUdevDeviceFormat self.handleUdevLVMPVFormat(info, device) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1629, in handleUdevLVMPVFormat self.handleVgLvs(vg_device) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1566, in handleVgLvs addLV(lv) File "/usr/lib/python2.7/site-packages/blivet/devicetree.py", line 1549, in addLV lv_device.setup() File "/usr/lib/python2.7/site-packages/blivet/devices/storage.py", line 413, in setup self._setup(orig=orig) File "/usr/lib/python2.7/site-packages/blivet/devices/lvm.py", line 690, in _setup lvm.lvactivate(self.vg.name, self._name) File "/usr/lib/python2.7/site-packages/blivet/devicelibs/lvm.py", line 538, in lvactivate raise LVMError("lvactivate failed for %s: %s" % (lv_name, msg)) LVMError: lvactivate failed for swap: running lvm lvchange -a y --config devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] } r4b/swap failed </snip> Ying, does it work if you manually try to activate the swap partition from the console? (In reply to Fabian Deutsch from comment #5) > Ying, does it work if you manually try to activate the swap partition from > the console? Fabian, do you mean manually activate the swap partition in the partition page during installation? But this bug occurred before enter to partition page The flow I was thinking about: 1. Boot installer 2. Switch to console and run: lvm lvchange -a y --config "devices { preferred_names=["^/dev/mapper/", "^/dev/md/", "^/dev/sd"] }" r4b/swap After 2 check the returncode Huijuan, log files from comment 2 are not accessible, could you please retest and upload /tmp/anaconda-tb-* when you encounter the issue again? Could you also retest with RHEL-7.3? Thank you (In reply to Jan Stodola from comment #9) > Huijuan, > log files from comment 2 are not accessible, could you please retest and > upload /tmp/anaconda-tb-* when you encounter the issue again? Jan, please refer to below link for log files: http://10.66.8.184/cshao/log/tmplog385g8-03.tar.gz > Could you also retest with RHEL-7.3? > Thank you And I will retest with RHEL-7.3 as soon as possible, thanks. No such issue in RHEL-7.3(RHEL-7.3-20161019.0-Server-x86_64-dvd1.iso). And no such issue in RHVH-4.0.6(RHVH-4.0-20161214.0-RHVH-x86_64-dvd1.iso). So this issue has been fixed in latest RHVH-4.0.6(RHVH-4.0-20161214.0-RHVH-x86_64-dvd1.iso), I will close this issue. |
Created attachment 1194309 [details] screenshot of error Description of problem: Report lvm error during installation Version-Release number of selected component (if applicable): RHVH-4.0-20160822.8-RHVH-x86_64-dvd1.iso How reproducible: Tested 2 times on machine hp-dl385g8-03, reproduced 2 times on RHVH-4.0-20160822.8.iso Tested 10+ times on other machines(include dell/hp, iSCSI/FC/EFI), do not encounter this issue on RHVH-4.0-20160822.8.iso Steps to Reproduce: 1. Install RHVH-4.0-20160822.8-RHVH-x86_64-dvd1.iso via virtual-CDROM on machine hp-dl385g8-03 (1 local storage, 3 FC luns) 2. During installation, just start the anaconda GUI, in Welcome RHVH 4.0 Page, no other action in GUI, just wait for a while, maybe 5 seconds, then the error is displayed in anaconda GUI. Actual results: After step2, there is "An unknown error has occurred", and can not continue to install RHVH. please refer to attachment for detailed info. Expected results: After step2, there should be no error and can install RHVH successful Additional info: Please enter to ENV (machine console info) if necessary. I will email the ENV info to you later.