Bug 896484 - engine: we change SPM when we fail to mount Export domain (storage becomes unknown for a few minutes)
Summary: engine: we change SPM when we fail to mount Export domain (storage becomes un...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.2
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.2.0
Assignee: Liron Aravot
QA Contact: Elad
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-17 12:11 UTC by Dafna Ron
Modified: 2016-02-10 20:21 UTC (History)
10 users (show)

Fixed In Version: SF9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (931.76 KB, application/x-gzip)
2013-01-17 12:11 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 11677 0 None None None Never

Description Dafna Ron 2013-01-17 12:11:11 UTC
Created attachment 680158 [details]
logs

Description of problem:

I failed attaching an export domain because the resolve.conf did not have 'search qa.lab.tlv.redhat.com tlv.redhat.com redhat.com' in the file. 

when I tried attaching an export domain to the pool I failed mount and SPM was moved to second host. as a result all the domain were unknown for a few minutes and the vm's were non responsive. 

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

si26

How reproducible:

100%

Steps to Reproduce:
1. in a two hosts cluster with iscsi data domains, create and attach an export domain to the setup (not the pool) but do not use full resulve name (wolf.qa.lab.tlv.redhat.com - just use wolf:/mount_point)
2. remove from /etc/resolve.conf the line 'search qa.lab.tlv.redhat.com tlv.redhat.com redhat.com' 
3. try to attach the export domain to the pool
  
Actual results:

when mount fails we move spm to the second host which causes the storage to become unavailable for several minutes until contending is done. 

Expected results:

we should not move SPM when Export domain fails to mount, the domain should fail attach to pool/ if its attach we should move domain to inactive. 

Additional info: logs

Comment 2 Liron Aravot 2013-02-04 10:13:28 UTC
merged upstream

http://gerrit.ovirt.org/#/c/11677/

Comment 3 Elad 2013-03-07 16:24:59 UTC
Tested on SF9

Comment 4 Itamar Heim 2013-06-11 09:47:50 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 09:47:57 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:56:59 UTC
3.2 has been released


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