Bug 1396715

Summary: Relocate disk via ovirt-shell -> disk profile empty
Product: [oVirt] ovirt-engine Reporter: Markus Stockhausen <mst>
Component: Frontend.CoreAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.5.4CC: amureini, bugs, dfediuck, msivak, mst, oourfali, yquinn
Target Milestone: ---Flags: sbonazzo: ovirt-4.3-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-27 11:57:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine screenshot none

Description Markus Stockhausen 2016-11-19 07:01:56 UTC
Description of problem:

after relocating a disk to another storage domain the disk profile is missing in the webadmin.


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

OVirt 4.0.5

How reproducible:

tested 3 times. 100%

Steps to Reproduce:
1. Relocate disk of RUNNING vm with ovirt-cli 
/usr/bin/ovirt-shell -c -E 'action disk '<diskname>' move --storage_domain-name '<otherdomain>'
2. wait for migration to finish

Actual results:

have a look at webinterface. Disk profile is empty

Expected results:

New disk profile should be visible

Additional info:

screenshot attached

Comment 1 Markus Stockhausen 2016-11-19 07:04:55 UTC
Created attachment 1222102 [details]
engine screenshot

Comment 2 Markus Stockhausen 2016-11-19 07:07:07 UTC
Logoff/logon to engine does not help to fix the issue

Comment 3 Allon Mureinik 2016-11-20 06:51:05 UTC
Martin/Yanir - this looks related to bug 1361838 that was fixed for 4.0.4. Can someone take a look at this please?
Thanks!

Comment 4 Yanir Quinn 2016-11-20 11:59:32 UTC
- does it happen only when using ovirt-cli ? 
 (using move disk via the UI does not reproduce this issue)

- where there other disk profiles configured on the storage domains     (source,target) ?  (not including the default ones)

Comment 5 Markus Stockhausen 2016-11-20 12:27:22 UTC
I can confirm that it only happens when using ovirt-cli.

Relocate disk without profile from gui: profile assigned after relocation: OK
Relocate disk with profile from ovirt-cli: profile missing after relocation: ERROR

Comment 6 Yanir Quinn 2016-11-20 12:52:04 UTC
(In reply to Allon Mureinik from comment #3)
> Martin/Yanir - this looks related to bug 1361838 that was fixed for 4.0.4.
> Can someone take a look at this please?
> Thanks!

Alon - cant say if its related to bug 1361838, it needs a deeper look to determine if its a by product of the bug fix or ovirt-cli related issue only
(that might have existed before)

Comment 7 Oved Ourfali 2017-07-26 08:54:18 UTC
We will remove ovirt-shell in 4.3.0, so you might as well close this one.

Comment 8 Doron Fediuck 2017-07-27 11:57:14 UTC
closing based on comment #7.