Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 843100

Summary: ovirt-engine-backend [RACE]: we are not blocking reconstruct on domains during spm recontend
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: mkublin <mkublin>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: amureini, bazulay, dyasny, hateya, iheim, lpeer, mkublin, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: si16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:59:03 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
logs none

Description Dafna Ron 2012-07-25 15:23:22 UTC
Created attachment 600327 [details]
logs

Description of problem:

I was able to put spm host in maintenance (som recontends on second host) while putting master domain in maintenance (reconstruct master domain). 

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

si11

How reproducible:

100%

Steps to Reproduce:
1. put spm host in maintenance -> put master domain in maintenance 
2.
3.
  
Actual results:

we try to reconstruct the master domain while pool is still connected 
vdsm will fail with below error: 

StoragePoolConnected: Cannot perform action while storage pool is connected: ('ddab0f18-db34-437c-8826-fb91643d5ef3',)

we also do not automatically recover and we need to disconnect the pool manually (or put new spm in maintenance and activate again). 

Expected results:

backend should block reconstruct while spm is recontending. 

Additional info: vdsm and backend logs

Comment 2 mkublin 2012-07-31 06:59:31 UTC
I am agree with a bug, bt I am not agree that these regression, no one never tried to do these before. I think keyword Regression can be removed

Comment 5 mkublin 2012-08-14 12:31:07 UTC
http://gerrit.ovirt.org/7172

Comment 6 mkublin 2012-08-21 09:02:14 UTC
merged upstream

Comment 8 Allon Mureinik 2012-08-28 09:24:43 UTC
Merged change-id Ia929d8cfab5904cb8e66d18cf50e037d36d8d373

Comment 9 Dafna Ron 2012-09-02 09:17:34 UTC
verified on si16