Bug 827112

Summary: ovirt-engine-backend [Multiple Domains]: after selecting domains for import vm with multiple disks if we put domain in maintenance instead of failing the import we select a domain randomly
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED WORKSFORME QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: low    
Version: 3.1.0CC: amureini, dyasny, iheim, mkenneth, mkublin, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---Keywords: TestBlocker
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-07-04 13:35:18 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
log none

Description Dafna Ron 2012-05-31 16:08:23 UTC
Created attachment 588147 [details]
log

Description of problem:

when importing a vm, if after we select the target domains we put one of the domains in maintenance the import will not fail and we the image will be created on a randomly selected domain

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

si4

How reproducible:

100%

Steps to Reproduce:
1. select a vm to import
2. select multiple domain targets to for disks
3. before pressing ok -> login from a different session and put one domain in maintenance -> press OK to start import of vm
 
Actual results:

we will succeed to import the template/vm but the disk will be created on a different domain

Expected results:

we should be blocked or at least warned by backend that the domain is inaccessible.

Additional info:

Comment 2 mkublin 2012-06-11 09:02:41 UTC
These is a gui bug - they usually tries to choose an active domain, if during importVm we have inactive domain the engine will fail on canDoAction
Movind to Daniel

Comment 3 Daniel Erez 2012-07-04 13:35:18 UTC
Tested, should work at si9.