Bug 841512

Summary: [engine-core] auto-recovery: SPM election loop if auto-recovery tries to activate non-existing storage domain
Product: Red Hat Enterprise Virtualization Manager Reporter: Haim <hateya>
Component: ovirt-engine-webadmin-portalAssignee: Liron Aravot <laravot>
Status: CLOSED DUPLICATE QA Contact: Haim <hateya>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: abaron, amureini, dron, dyasny, ecohen, iheim, mkublin, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---Keywords: Regression, Reopened
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-06 05:57:10 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

Description Haim 2012-07-19 09:18:59 UTC
Description of problem:

we should have the ability to understand if domain is no longer exists (activate storage domain returns with se.StorageDomainDoesNotExist), so there is no point of failing the pool (SPM re-election) every 5 minutes, currently, i'm stuck with SPM re-election storm.

repro steps:

- delete storage domain from storage server itself
- let auto-recovery do the rest

Comment 1 Haim 2012-07-19 09:20:52 UTC
Created attachment 599097 [details]
engine log.

Comment 3 Ayal Baron 2012-07-23 06:24:14 UTC
There is no way to differentiate between storage domain is dead and storage domain is not visible to host due to storage disconnect / admin misconfiguration / etc.

Also, if there is an additional storage domain then system would initiate a reconstructMaster flow.

In addition, user can deactivate sd/destroy sd/reinitialize DC  and stop this from happening.

Closing as not a bug

Comment 5 Ayal Baron 2012-08-01 13:43:38 UTC
You are correct.  What we should do is prevent spm reselection if domain is not visible on other hosts (i.e. activate will fail there as well)

Comment 6 mkublin 2012-08-05 10:53:03 UTC
*** Bug 845294 has been marked as a duplicate of this bug. ***

Comment 7 Ayal Baron 2012-08-06 05:57:10 UTC

*** This bug has been marked as a duplicate of bug 821634 ***