Bug 1099909
| Summary: | RHEVM-PYTHON-SDK: branding issue in error messages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilia Meerovich <iliam> | ||||
| Component: | ovirt-engine-sdk | Assignee: | Juan Hernández <juan.hernandez> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Pavel Stehlik <pstehlik> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4.0 | CC: | aberezin, gklein, iheim, iliam, ncredi, oramraz, pstehlik, rbalakri, Rhev-m-bugs, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | infra | ||||||
| Fixed In Version: | rhevm-sdk-python-3.5.0.0-2.el6_5 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-02-11 21:13:42 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1142923, 1156165 | ||||||
| Attachments: |
|
||||||
|
Description
Ilia Meerovich
2014-05-21 13:36:12 UTC
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 |