Bug 1639360
Summary: | Separate lvm activation from other lvm commands | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Nir Soffer <nsoffer> |
Component: | vdsm | Assignee: | Vojtech Juranek <vjuranek> |
Status: | CLOSED ERRATA | QA Contact: | Ilan Zuckerman <izuckerm> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.3.0 | CC: | achareka, aefrat, bubrown, bugs, dfediuck, gveitmic, lsurette, michal.skrivanek, mkalinin, mwest, pelauter, rdlugyhe, srevivo, tnisan, vjuranek, ycui |
Target Milestone: | ovirt-4.4.0 | Flags: | lsvaty:
testing_plan_complete-
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previously, mixing the Logical Volume Manager (LVM) activation and deactivation commands with other commands caused possible undefined LVM behavior and warnings in the logs. The current release fixes this issue. It runs the LVM activation and deactivation commands separately from other commands. This produces resulting well-defined LVM behavior and clear errors in case of failure.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-08-04 13:26:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1411103 | ||
Bug Blocks: |
Description
Nir Soffer
2018-10-15 14:53:14 UTC
This bug has not been marked as blocker for oVirt 4.3.0. Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1. https://gerrit.ovirt.org/c/101378/ does not fix the underlying issue, but suppress the warnings in vdsm log. The warnings are still available when enabling DEBUG log level. I would raise the priority of this. We are using lvm incorrectly and we must fix our ways. Checking which patches can be backported: - https://gerrit.ovirt.org/95161 - easy to backport - https://gerrit.ovirt.org/104882 - big change, not suitable for backport - https://gerrit.ovirt.org/104883 - easy change but needs to be reimplemented without depending on https://gerrit.ovirt.org/104882 If we have a proof that mixing activation and tag changes can cause corruption we can fix this in 4.3. We don't have any data supporting the claim that this is related to data corruption. Therefore I don't any reason to backport the fix. Tal, this bug should be 4.4 bug, and move to ON_QA. To verify this BZ, i used storage ART automation test suit. The test case is TestCase10443 to be precise. Here is what it does: 1. Create a disk with wipe after delete attribute 2. Create a VM and install OS on it 3. Attach the disk to the VM => disk is created with 'wipe_after_delete' = True 4. Create a file from guest 5. Remove the disk => so the disk data should be deleted/wiped Actual result: Success. I grepped "Combining activation change with other commands is not advised" in the appropriate vdsm log (turned it to DEBUG just in case). As suggested by Vojtek. This string wasnt found in the log. 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 RHEL Host (ovirt-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:3246 |