Bug 833817

Summary: ovirt-engine-backend [Auto Recovery]: domains that were deactivated due to storage issues will change status to maintenance and will not be started by auto recovery
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: mkublin <mkublin>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: abaron, acathrow, amureini, bazulay, dyasny, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: Regression
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: SI8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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
log none

Description Dafna Ron 2012-06-20 12:21:34 UTC
Created attachment 593194 [details]
log

Description of problem:

HandleFailedStorageDomainCommand will run DeactivateStorageDomainVDSCommand which causes the domains to change state to maintenance. 
Auto Recovery will not start domains in maintenance status

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

si6

How reproducible:

100%

Steps to Reproduce:
1. create two SD from different storage servers
2. block one domain in host (do not block the master domain)
3. domain will change state to maintenance instead of staying in inactive
  
Actual results:

since HandleFailedStorageDomainCommand will run DeactivateStorageDomainVDSCommand the domains status will change to maintenance and Auto Recovery will not start the domain once we recover. 

Expected results:

domain which was deactivated by the system should remain in inactive state and domain which was deactivated by the user should change to maintenance. 

Additional info: backend logs

Comment 2 mkublin 2012-06-24 09:28:08 UTC
http://gerrit.ovirt.org/#/c/5629/

The bug is not related to auto-recovery

Comment 3 Dafna Ron 2012-07-02 14:05:06 UTC
verified on si8
domain remains in inactive state