imeerovi@imeerovi ~/git/ART (loginAsUser) $ rpm -q rhevm-cli rhevm-cli-3.4.0.6-3.el6ev.noarch imeerovi@imeerovi ~/git/ART (loginAsUser) $ /usr/bin/rhevm-shell -r -c -l https://127.0.0.1:443/api/ -u moo@boo -I -S 3600 -d ================================================================================================================== ERROR ================================================================================================================ oVirt API connection failure, [Errno 111] Connection refused ========================================================================================================================================================================================================================================= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (disconnected)]# It seems that the bug is in src/cli/context.py, in __error_to_string function you have incorrect error_patterns
This is strange, that problem was fixed in version rhevm-cli-3.4.0.6-3.el6ev.noarch, the one that you are using. Please try to download the .rpm file and do the following: # rpm2cpio rhevm-cli-3.4.0.6-3.el6ev.noarch.rpm | cpio -di # vi ./usr/lib/python2.6/site-packages/cli/context.py And check that, in line 202. Do you see there RHEV or oVirt?
it comes from sdk now (and you have 2 more branding issues in sdk): imeerovi@imeerovi /tmp $ grep -rn 'oVirt' /usr/lib/python2.6/site-packages/ovirtsdk/* | grep ERROR /usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/errors.py:26: Exception.__init__(self, '[ERROR]::oVirt API connection failure, %s' % expect) /usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/errors.py:34: Exception.__init__(self, '[ERROR]::oVirt sdk is disconnected from the server.') /usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/errors.py:92: Exception.__init__(self, '[ERROR]::oVirt API request failure.' + self.__str__()) imeerovi@imeerovi /tmp $ rpm -q rhevm-sdk-python rhevm-sdk-python-3.4.1.0-2.el6ev.noarch
Created attachment 898044 [details] Patch to fix the branding in error messages
[root@pb-rh35 ~]# grep -rn 'oVirt' /usr/lib/python2.6/site-packages/ovirtsdk/* | grep ERROR [root@pb-rh35 ~]# rpm -qa rhevm-cli rhevm-cli-3.5.0.4-1.el6ev.noarch
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/RHBA-2015-0183.html