Bug 1929099

Summary: Disks remain in locked status
Product: [oVirt] vdsm Reporter: Giulio Casella <giulio.casella>
Component: ServicesAssignee: shani <sleviim>
Status: CLOSED CURRENTRELEASE QA Contact: Yaning Wang <yaniwang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.40.40CC: ahadas, bugs, giorgio, giulio.casella
Target Milestone: ovirt-4.5.0Keywords: ZStream
Target Release: 4.50.0Flags: sbonazzo: ovirt-4.5-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-11 08:50:07 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:
Attachments:
Description Flags
Engine log
none
Involved host vdsm log
none
Involved host vdsm log none

Description Giulio Casella 2021-02-16 08:10:36 UTC
Created attachment 1757199 [details]
Engine log

Description of problem: Every now and then disks remain in locked status. I suppose during snapshot creation and/or removal (there is a backup process - vprotect - interacting many times a day with ovirt)


Version-Release number of selected component (if applicable):
ovirt-engine-4.4.4.7-1
vdsm-4.40.40-1 (ovirt-node 4.4.4)


How reproducible: It happens randomly (but quite often), once in a few days


Steps to Reproduce: I don't have a way to easily reproduce
1.
2.
3.

Actual results: after snapshot management disks remain in "LOCKED" status (one of the snapshots reports "Disks in status illegal")


Expected results: after snapshot management disks are moved back to "UP" status



Additional info: Running /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh (with proper parameters) fix the issue.

Comment 1 Giulio Casella 2021-02-16 08:11:35 UTC
Created attachment 1757200 [details]
Involved host vdsm log

Comment 2 Giulio Casella 2021-02-16 08:12:11 UTC
Created attachment 1757201 [details]
Involved host vdsm log

Comment 3 RHEL Program Management 2021-02-16 08:57:26 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 6 Michal Skrivanek 2022-04-11 08:50:07 UTC
No update for a while, didn't make it in time for 4.5, closing

Comment 7 Arik 2022-04-14 07:58:12 UTC
We made quite a few changes that could have fixed this issue, e.g., bz 2057445
As part of the tests of oVirt 4.5, we tested this scenario a lot and didn't notice this issue anymore so please upgrade as soon as practical

Comment 8 Sandro Bonazzola 2022-04-20 06:32:24 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

Since the problem described in this bug report should be resolved in oVirt 4.5.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.