Bug 926963 - [engine-backend] error message is not clear when trying to perform live storage migration over stateless VM
Summary: [engine-backend] error message is not clear when trying to perform live stora...
Keywords:
Status: CLOSED DUPLICATE of bug 969065
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Daniel Erez
QA Contact: Elad
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-24 14:31 UTC by Elad
Modified: 2016-02-10 19:39 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-04 11:05:23 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:
scohen: Triaged+


Attachments (Terms of Use)
vdsm+engine logs (1.14 MB, application/x-gzip)
2013-03-24 14:31 UTC, Elad
no flags Details

Description Elad 2013-03-24 14:31:46 UTC
Created attachment 715514 [details]
vdsm+engine logs

Description of problem:

When live storage migration of stateless VM fails, UI does not report about it in the event log

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

rhevm-backend-3.2.0-10.14.beta1.el6ev.noarch
vdsm-4.10.2-11.0.el6ev.x86_64

How reproducible:
100%

Steps to Reproduce:  in a 2 (or more) storage domains setup:
1. Create stateless VM with disk(s) and run it
2. action live storage migration of the stateless vm
3. operation will fail with:

CanDoAction of action CreateAllSnapshotsFromVm failed. Reasons:VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_VM_RUNNING_STATELESS
  
Actual results:
when operation is failing, there isn't a warning about it in the event log


Expected results:
when operation is failing, the user should be warn about it in the event log


Additional info:
see logs attached

Comment 1 Ayal Baron 2013-03-24 15:05:06 UTC
By design we do not write events from canDoAction.
The operation failed properly.

Comment 2 Elad 2013-03-24 15:28:28 UTC
discussed with Ayal, Engine should report about failed CanDoAction in the event log. RFE has been opened BZ# 926974.

Comment 3 Allon Mureinik 2013-07-04 11:00:12 UTC
LiveMigrateDisk(s) should also have a CDA about stateless VMs.

Comment 4 Daniel Erez 2013-07-04 11:05:23 UTC

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


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