Bug 968217 - webadmin: for LSM, if a vm is a thin copy and the target domain is inactive we give an alert that the template does not exist on any of the domains
Summary: webadmin: for LSM, if a vm is a thin copy and the target domain is inactive w...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 3.3.0
Assignee: Daniel Erez
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-29 08:49 UTC by Dafna Ron
Modified: 2016-02-10 17:12 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-12 10:21:18 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
amureini: Triaged+


Attachments (Terms of Use)
screen shots (61.64 KB, image/jpeg)
2013-05-29 08:49 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2013-05-29 08:49:34 UTC
Created attachment 754264 [details]
screen shots

Description of problem:

if we try to LSM a disk and the target dst domain is inactive, if the vm is a thin provision copy (based on template) we get an alert that the vm template does not exist on any of the domains. 
if the vm is an independent image we get a correct alert that no active domains were found. 

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

sf17.2

How reproducible:

100%

Steps to Reproduce:
1. in iscsi storage, create 2 domains located on different storage servers
2. create a vm from template and run it
3. block connectivity to the dst domain from all hosts using iptables
4. once the domain becomes inactive try to LSM the vm disk
5. move the mouse to the greyed out domain on the dialogue. 

Actual results:

we get the following error: 

The template that the VM is based on does not exist on any active storage domain. 

Expected results:

before checking if the template exists on any of the domain we should probably query the domains status. 

Additional info: screen shot

Comment 1 Ayal Baron 2013-09-12 10:21:18 UTC
The message is:
The template that the VM is based on does not exist on any *active* storage domain. 

It clearly states that there should be a template on an active target domain.


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