| Summary: | Log Collector doesn't return appropriate return codes | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Lukas Bednar <lbednar> |
| Component: | ovirt-engine-logcollector | Assignee: | Sandro Bonazzola <sbonazzo> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | acathrow, iheim, jkt, knesenko, lbednar, mgoldboi, sbonazzo |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | ovirt-log-collector-3.2.1-1.fc18.noarch.rpm | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-07-25 20:50:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug. patch merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-log-collector.git;a=commit;h=ceb44bd051f0db52f9d725e6fa7b3d37a7d06892 |
Description of problem: when I mess up password for REST_API it is not able to retrieve data from hypervisors which means generate incomplete outputs, though that it returns 0. Return values: 0: The program ran to completion with no errors. 1: The program encountered a critical failure and stopped. 2: The program encountered a problem gathering data but was able to continue. Version-Release number of selected component (if applicable): ovirt-engine-log-collector-3.0.0_0001-1.6.fc16.x86_64 How reproducible: just run LC with wrong password Steps to Reproduce: 1. engine-log-collector -p WRONG_PASSWORD collect 2. echo $? Actual results: 0 Expected results: 2 or something else != 0