Bug 1756948
Summary: | Failed to install RHVH4.4 on dirty disks when using automatic partitioning | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Qin Yuan <qiyuan> | ||||||
Component: | redhat-virtualization-host | Assignee: | Yuval Turgeman <yturgema> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Qin Yuan <qiyuan> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 4.4.0 | CC: | cshao, dlehman, mavital, mtessun, nlevy, peyu, qiyuan, sbonazzo, sbueno, weiwang, yaniwang, yturgema | ||||||
Target Milestone: | ovirt-4.4.0 | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1766498 (view as bug list) | Environment: | |||||||
Last Closed: | 2020-08-04 16:22:05 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: | 1766498 | ||||||||
Attachments: |
|
Samantha can you please have a look at this? Looks like an issue with blivet - it can't clean the disk, perhaps David can help Cloning this bug to blivet. Qin, https://bugzilla.redhat.com/show_bug.cgi?id=1766498#c27 - can you test with this please ? Tested, see https://bugzilla.redhat.com/show_bug.cgi?id=1766498#c28 One question, shouldn't RHVH 4.4.0 consume RHEL-8.1.0 installer? The latest RHVH 4.4 consumes anaconda 29.19.2.4-1.el8 which is tagged with rhel-8.2.0-candidate on brew. Tested latest rhvh4.4 RHVH-4.4-20200205.1-RHVH-x86_64-dvd1.iso, automatic partitioning still fails when the disks are dirty, the error is: anaconda 29.19.2.6 exception report Traceback (most recent call first): File "/usr/lib64/python3.6/site-packages/pyanaconda/errors.py", line 381, in cb elif getattr(exn, "dbus_name") and exn.dbus_name in _dbus_map: File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 451, in run_task if errors.errorHandler.cb(e) == errors.ERROR_RAISE: File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 487, in start self.run_task() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 311, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 408, in doInstall installation_queue.start() File "/usr/lib64/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 286, in run threading.Thread.run(self) AttributeError: 'DeviceFormatError' object has no attribute 'dbus_name' Created attachment 1662055 [details]
new anaconda logs
This was fixed in anaconda [1] so next respin of RHVH should consume this. [1] https://github.com/rhinstaller/anaconda/pull/2297 The issue is not reproducible on RHVH-UNSIGNED-ISO-4.4-RHEL-8-20200226.1-RHVH-x86_64-dvd1.iso Move to VERIFIED according to comment 10. 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 (RHV Host (redhat-virtualization-host) 4.4), 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/RHEA-2020:3316 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
Created attachment 1621027 [details] anaconda logs Description of problem: Install RHVH4.4 on dirty disks, choose automatic partitioning scheme, installation fails with the following error: anaconda 29.19.1.12 exception report Traceback (most recent call first): File "/usr/lib/python3.6/site-packages/blivet/formats/__init__.py", line 562, in _pre_destroy raise DeviceFormatError("device path does not exist or is not writable") File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/formats/__init__.py", line 549, in destroy self._pre_destroy(**kwargs) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/deviceaction.py", line 726, in execute self.format.destroy() File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/actionlist.py", line 327, in process action.execute(callbacks) File "/usr/lib/python3.6/site-packages/blivet/actionlist.py", line 48, in wrapped_func return func(obj, *args, **kwargs) File "/usr/lib/python3.6/site-packages/blivet/blivet.py", line 135, in do_it self.devicetree.actions.process(callbacks=callbacks, devices=self.devices) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 1236, in do_it super().do_it(callbacks=callbacks) File "/usr/lib/python3.6/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/storage/osinstall.py", line 2206, in turn_on_filesystems storage.do_it(callbacks) File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 438, in run_task self._task(*self._task_args, **self._task_kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 472, in start self.run_task() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation_tasks.py", line 304, in start item.start() File "/usr/lib64/python3.6/site-packages/pyanaconda/installation.py", line 388, in doInstall installation_queue.start() File "/usr/lib64/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 286, in run threading.Thread.run(self) blivet.errors.DeviceFormatError: device path does not exist or is not writable Version-Release number of selected component (if applicable): RHVH-4.4-20190926.3-RHVH-x86_64-dvd1.iso How reproducible: 100% Steps to Reproduce: 1. Install RHVH-4.4-20190926.3-RHVH-x86_64-dvd1.iso on a machine with dirty disks(for example, installed with rhvh4.3) 2. Go to INSTALLATION DESTINATION page, select the dirty disks, and select Automatic in the Storage Configuration section, then click Done to reclaim space. 3. Finish other required configurations, then begin installation Actual results: 1. Reclaim space succeeded. 2. Installation failed with the above error. Expected results: 1. Installation on dirty disks should succeed when using automatic partitioning scheme Additional info: Custom partitioning scheme works fine. Automatic partitioning could work when disks are clean.