Bug 1109925 - Live Merge: Expose capability in getVdsCaps API
Summary: Live Merge: Expose capability in getVdsCaps API
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: 3.5
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.5.0
Assignee: Adam Litke
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard: storage
Depends On:
Blocks: 1124099
TreeView+ depends on / blocked
 
Reported: 2014-06-16 15:53 UTC by Adam Litke
Modified: 2016-02-10 16:51 UTC (History)
12 users (show)

Fixed In Version: ovirt-engine-3.5.0_beta1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-17 12:31:20 UTC
oVirt Team: Storage


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
oVirt gerrit 28998 None None None Never

Description Adam Litke 2014-06-16 15:53:28 UTC
oVirt engine would like to know whether the Live Merge feature is supported by a particular host so that it can decide whether to offer the option to users in the GUI.  Add a capability flag to the getVdsCaps API which, when present, will communicate the presence of the feature.

Comment 1 Adam Litke 2014-06-16 18:18:56 UTC
implementation in progress

Comment 2 Allon Mureinik 2014-07-17 06:53:45 UTC
Adam, can this be moved to ON_QA, or are we waiting for a corresponding engine patch?

Comment 3 Adam Litke 2014-07-17 13:11:19 UTC
Still waiting on the patch from Greg to be merged on the engine side.

Comment 4 Allon Mureinik 2014-07-29 05:48:02 UTC
Since we're tracking the engine patch on bug 1124099, lets move forward with this to allow early engagement in the QA.

Adam - can you please add some info for the QA on how to test this using vdsClinet's getCaps?

Comment 5 Adam Litke 2014-07-29 12:52:04 UTC
Steps to verify this in vdsm:

1. On stock Fedora 20 system, install the vdsm you would like to test
2. On the host execute: vdsClient 0 getVdsCaps | grep liveMerge
3. Today on stock Fedora 20 you will see:
   liveMerge = 'false'
4. Download the following files into an empty directory on your vdsm host
   http://files.pipo.sk/qemu+libvirt-gluster-block-jobs-v6.tar
   http://files.pipo.sk/libvirt-python-fixed.tar
5. Extract qemu+libvirt-gluster-block-jobs-v6.tar
6. Extract libvirt-python-fixed.tar (This file will overwrite a few rpms from the first tarball)
7. Install all extracted RPMs: yum upgrade *.rpm
8. Restart libvirt: service libvirtd restart
9. Restart vdsm: service vdsmd restart
10. vdsClient 0 getVdsCaps | grep liveMerge
11. Verify that you see:
    liveMerge = 'true'

Comment 6 Sandro Bonazzola 2014-10-17 12:31:20 UTC
oVirt 3.5 has been released and should include the fix for this issue.


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