Bug 880687 - engine: event log is reporting changing disk status to illegal but disks stay in locked state
engine: event log is reporting changing disk status to illegal but disks stay...
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
x86_64 Linux
high Severity high
: ---
: 3.2.0
Assigned To: Maor
: Reopened, ZStream
Depends On:
Blocks: 902482 915537
  Show dependency treegraph
Reported: 2012-11-27 10:36 EST by Dafna Ron
Modified: 2016-02-10 12:45 EST (History)
13 users (show)

See Also:
Fixed In Version: sf5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 902482 (view as bug list)
Last Closed: 2012-11-28 05:17:52 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
logs and screen shots (1.01 MB, application/x-gzip)
2012-11-27 10:36 EST, Dafna Ron
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 11075 None None None Never
oVirt gerrit 11248 None None None Never

  None (edit)
Description Dafna Ron 2012-11-27 10:36:48 EST
Created attachment 652827 [details]
logs and screen shots

Description of problem:

create 5 vm's select 3 -> remove -> select the other 2 -> remove -> restart engine. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

1. create 5 vm's
2. select 3 vms -> remove them
3. select 2 vm's -> remove them
4. restart engine
Actual results:

some of the disks are reported to be changed to illegal state but stay in locked state

Expected results:

disks should not remain locked. 

Additional info: logs

this also reproduces on scale:

Steps to Reproduce:
1. create 100VM's 
2. remove all vm's but in bulks of 10-15 vm's (select 15 -> remove -> select 15 -> remove)
3. restart engine.
Comment 1 Allon Mureinik 2012-11-28 04:58:59 EST
Dafna, this seems to be like 2 bugs: incorrect reporting in the event log and the disks remaining locked.
Can you please separate it to two bugs?

Also - do the async tasks remains as zombies, or are they cleared?
Comment 2 Allon Mureinik 2012-11-28 05:17:52 EST

*** This bug has been marked as a duplicate of bug 840525 ***
Comment 3 Dafna Ron 2012-11-28 05:21:24 EST
Alon, this bug is about the event log reporting that the disk status has been changed to illegal while they stay in image locked. 
not related to  bug 840525
reopening this bug
Comment 5 Maor 2013-01-20 15:41:21 EST
The event log should be correct.
If disks remain after VM was removed they should move to illegal state, if some of the disks were in other status, then this is a bug.
Comment 7 Maor 2013-01-21 03:44:54 EST
Already fixed at http://gerrit.ovirt.org/#/c/11075/
Comment 9 Maor 2013-01-21 07:52:46 EST
Added also a fix which change all the remained disks statuses to illegal with a log message
Comment 10 Maor 2013-01-21 09:39:18 EST
Patch merged with change id Ic4075c03b8d70d50b69222c73169ccc63e3ab66e
Comment 12 Leonid Natapov 2013-02-04 10:30:59 EST
sf5. fixed. disk becomes illegal (not locked) if the engine/vdsm was restarted during vm deletion.
Comment 13 Itamar Heim 2013-06-11 04:49:40 EDT
3.2 has been released
Comment 14 Itamar Heim 2013-06-11 04:49:40 EDT
3.2 has been released
Comment 15 Itamar Heim 2013-06-11 04:49:40 EDT
3.2 has been released
Comment 16 Itamar Heim 2013-06-11 04:54:09 EDT
3.2 has been released
Comment 17 Itamar Heim 2013-06-11 05:24:45 EDT
3.2 has been released

Note You need to log in before you can comment on or make changes to this bug.