Bug 1421556
| Summary: | Setting log level as shown in README.logging fails. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Germano Veit Michel <gveitmic> |
| Component: | vdsm | Assignee: | Irit Goihman <igoihman> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.0 | CC: | bazulay, lsurette, lsvaty, mperina, pstehlik, srevivo, ycui, ykaul |
| Target Milestone: | ovirt-4.1.2 | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-05-24 11:24:48 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: | |||
|
Description
Germano Veit Michel
2017-02-13 05:13:30 UTC
Hmm.. looks like this was already fixed on master but not backported to 4.1 https://gerrit.ovirt.org/71071 [root@localhost ~]# grep setLogLevel /usr/share/doc/vdsm-4.19.10.1/README.logging # vdsClient [-s] SERVER setLogLevel LEVEL [LOGGER] vdsClient -s 0 setLogLevel DEBUG vdsClient -s 0 setLogLevel WARN virt vdsClient -s 0 setLogLevel WARN storage vdsClient -s 0 setLogLevel WARN jsonrpc vdsClient -s 0 setLogLevel devel WARN [root@localhost ~]# vdsClient -s 0 setLogLevel devel WARN Unexpected exception should be: [root@localhost ~]# vdsClient -s 0 setLogLevel WARN devel success \o/ do believe this should not happen -> Failed QA It looks like an error in logging documentation. vdsClient expects arguments in a specific order: log level, log name. Also, an 'unexpected exception' shouldn't be raised but a proper error message. The 'unexpected exception' error message is implemented in XMLRPC protocol, which is deprecated and replaced by JSONRPC - so it won't be fixed. verified in vdsm-4.19.11-1.el7ev.x86_64 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://access.redhat.com/errata/RHEA-2017:1281 |