Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1101553 - [HE-setup] Use vdsm api instead of vdsClient
[HE-setup] Use vdsm api instead of vdsClient
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup (Show other bugs)
3.3.0
Unspecified Unspecified
low Severity low
: ovirt-3.6.0-rc
: 3.6.0
Assigned To: Sandro Bonazzola
Artyom
: Triaged
Depends On: 1213307 1215623 1215663 1215967 1220824 1271272
Blocks: 1005923 1234915
  Show dependency treegraph
 
Reported: 2014-05-27 09:58 EDT by Yedidyah Bar David
Modified: 2016-03-09 13:51 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The tool previously used vdsClient for interacting with VDSM. Now it uses vdscli API, resulting in better error handling and more control.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-03-09 13:51:20 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Integration
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 33996 master MERGED vdsm: use vdscli instead of vdsClient Never
oVirt gerrit 37560 None ABANDONED vdsm: use vdscli instead of vdsClient Never
Red Hat Product Errata RHEA-2016:0375 normal SHIPPED_LIVE ovirt-hosted-engine-setup bug fix and enhancement update 2016-03-09 18:48:34 EST

  None (edit)
Description Yedidyah Bar David 2014-05-27 09:58:11 EDT
Our python code interfacing with vdsm should use its api and not run vdsClient. This will allow in principle simpler code (no need to parse output), faster execution (do not run an external program) etc.

vdsClient was used up until now because it was somewhat simpler to debug and because in the past there were some issues using the api in certain cases.

I am currently opening this bug due to an expected breakage caused by future fixing of bug #1005923 . This breakage can (obviously) be solved in other ways (including asking vdsm to add an option '--force' or something like that), but it seems that moving to use only the api is the better approach in the long run.
Comment 1 Sandro Bonazzola 2014-06-12 12:08:40 EDT
Since there will be a breakage, this will be a blocker if bug #1005923 will be targeted to 3.5.0
Comment 3 Sandro Bonazzola 2015-02-20 06:08:22 EST
Automated message: can you please update doctext or set it as not required?
Comment 4 Artyom 2015-04-21 07:26:08 EDT
Hi, Sandro what the best way to verify this bug, I believe we just need to run different deployment cases and check that all work fine?
Comment 5 Sandro Bonazzola 2015-04-24 03:36:58 EDT
Yes Artyom, just executing deployment test cases should expose errors in the migration from vdsClient to vdsm API
Comment 6 Artyom 2015-11-09 04:38:05 EST
Verified on ovirt-hosted-engine-setup-1.3.0-1.el7ev.noarch
Comment 8 errata-xmlrpc 2016-03-09 13:51:20 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0375.html

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