Red Hat Bugzilla – Bug 1252073
ovirt-engine-cli isn't automatically updated when ovirt-engine is updated
Last modified: 2015-11-27 02:56:18 EST
Description of problem:
ovirt-shell can't connect to console on Fedora 22 because 'spice-client' doesn't seem to be available any more and 'remote-viewer' support doesn't work.
Version-Release number of selected component (if applicable):
[oVirt shell (connected)]# info
backend version: 3.6
sdk version : 3.6.*c.16
cli version : 126.96.36.199
python version : 2.7.10.final.0
entry point : https://localhost.localdomain/ovirt-engine/api
installed from http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
Steps to Reproduce:
1. Create running vm with spice console
2. Run ovirt shell: ovirt-shell -A ca.crt -l https://localhost.localdomain/ovirt-engine/api -u admin@internal
3. Enter command 'console <vm name>'
=================================================== UNKNOWN ERROR =================================================
spice viewer was not found, please install spice first.
remove-viewer is executed
according to cli version (188.8.131.52) and that
$ grep remote-viewer /usr/lib/python2.7/site-packages/ovirtcli/platform/posix/spice.py
output nothing despite of https://gerrit.ovirt.org/#/c/29964/3/src/ovirtcli/platform/posix/spice.py it is probably packaging issue.
Flagging as infra for initial research, feel free to move it if it's wrongly assigned.
According to the description of the bug you used version 184.108.40.206:
cli version: 220.127.116.11
The capability to use the "remote-viewer" was added in 3.6. Please repeat your test with version 18.104.22.168-0.4 or newer. This version is available in the 3.6 repository. For example, for EL7:
If you already had the CLI installed it won't be automatically updated when the engine is updated, because the engine .spec doesn't require a newer version. We may change that, although it is kind of an abuse of the dependencies mechanism:
packaging: Require version 3.6 of the CLI
You can instead just update the CLI explicitly:
# yum update ovirt-engine-cli
$ rpm -qR rhevm | grep rhevm-cli
rhevm-cli >= 22.214.171.124
13:03:50 [ INFO ] Yum Download/Verify: rhevm-cli-126.96.36.199-1.el6ev.noarch
Since oVirt 3.6.0 has been released, moving from verified to closed current release.