Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1627636

Summary: Drop ovirt-engine-cli dependency
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: Packaging.rpmAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: unspecified Docs Contact: Rolfe Dlugy-Hegwer <rdlugyhe>
Priority: unspecified    
Version: 4.3.0CC: bugs, pnovotny, ratamir, rdlugyhe, sbonazzo
Target Milestone: ovirt-4.3.0Flags: rule-engine: ovirt-4.3+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.0_rc Doc Type: Deprecated Functionality
Doc Text:
The ovirt-engine-cli package uses the version 3 REST API which is deprecated and unsupported. With this update, ovirt-engine-cli is no longer a dependency and is not installed by default.
Story Points: ---
Clone Of:
: 1661331 (view as bug list) Environment:
Last Closed: 2019-02-13 07:45:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1661331    

Description Sandro Bonazzola 2018-09-11 06:26:21 UTC
ovirt-engine-cli uses v3 API which are deprecated and unsupported.
We'll keep shipping the package but we are not depending on it anymore.

Comment 1 Sandro Bonazzola 2018-10-02 07:44:52 UTC
Can be tested with current master from https://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm

Comment 2 Pavol Brilla 2018-10-17 08:35:08 UTC
4.2 for comparision:

#  yum deplist ovirt-engine | grep -E "ovirt-engine\.|ovirt-engine-cli"
package: ovirt-engine.noarch 4.2.7.4-0.0.master.20181016095010.gita657ab3.el7
  dependency: ovirt-engine-cli >= 3.6.2.0
   provider: ovirt-engine-cli.noarch 3.6.9.3-0.1.20180209.gitad0561a.el7.centos


4.3 dependency is dropped:

# yum deplist ovirt-engine | grep ovirt-engine-cli
# yum list ovirt-engine-cli
Installed Packages
ovirt-engine-cli.noarch        3.6.9.3-0.1.20180209.gitad0561a.el7.centos        @ovirt-master-snapshot

Comment 3 Sandro Bonazzola 2018-11-02 14:36:56 UTC
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE.

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

Comment 4 Sandro Bonazzola 2018-11-02 14:43:36 UTC
Closed by mistake, moving back to qa -> verified

Comment 5 Sandro Bonazzola 2018-11-23 13:15:43 UTC
Failing QE: running engine-setup still install ovirt-engine-cli.

Comment 6 Pavel Novotny 2018-12-12 17:53:56 UTC
FailedQA in 
rhvm-4.3.0-0.6.alpha2.el7.noarch
ovirt-engine-4.3.0-0.6.alpha2.el7.noarch

ovirt-engine-cli is still installed.

# rpm -qR rhvm | grep ovirt-engine-cli
ovirt-engine-cli


The dependency tree is:

ovirt-engine
 \_ rhvm
    \_ ovirt-engine-cli

Comment 7 Sandro Bonazzola 2018-12-13 07:41:01 UTC
(In reply to Pavel Novotny from comment #6)
> FailedQA in 
> rhvm-4.3.0-0.6.alpha2.el7.noarch
> ovirt-engine-4.3.0-0.6.alpha2.el7.noarch
> 
> ovirt-engine-cli is still installed.
> 
> # rpm -qR rhvm | grep ovirt-engine-cli
> ovirt-engine-cli
> 
> 
> The dependency tree is:
> 
> ovirt-engine
>  \_ rhvm
>     \_ ovirt-engine-cli

thanks but this seems RHV related bug, not oVirt, can you please retest on oVirt and open a bug on RHV if it affects RHV only?

Comment 8 Pavel Novotny 2018-12-20 20:46:08 UTC
Verified in ovirt-engine-4.3.0-0.4.master.20181219115514.git1d803c4.el7.noarch

In oVirt, ovirt-engine-cli is not installed by default.

After a fresh installation:

# rpm -q ovirt-engine{,-cli}
ovirt-engine-4.3.0-0.4.master.20181219115514.git1d803c4.el7.noarch
package ovirt-engine-cli is not installed

# yum deplist ovirt-engine\* | grep ovirt-engine-cli
package: ovirt-engine-cli.noarch 3.6.9.3-0.1.20180209.gitad0561a.el7.centos

^^^ not required by any of ovirt-engine* packages
 

For RHV, bug 1661331 has been filed (cloned from this bug).

Comment 9 Rolfe Dlugy-Hegwer 2019-01-17 21:37:03 UTC
Please review the Doc Text.

Comment 10 Sandro Bonazzola 2019-01-18 07:53:24 UTC
(In reply to Rolfe Dlugy-Hegwer from comment #9)
> Please review the Doc Text.

Looks good to me

Comment 11 Sandro Bonazzola 2019-02-13 07:45:09 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

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