Bug 1109569
| Summary: | Bogus warning when running vdsm-tool conifgure | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Nir Soffer <nsoffer> |
| Component: | vdsm | Assignee: | Mooli Tayer <mtayer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gil Klein <gklein> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.5 | CC: | acathrow, bazulay, gklein, iheim, mgoldboi, pstehlik, yeylon |
| Target Milestone: | --- | Keywords: | Regression, Triaged |
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-13 07:21:32 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
Nir Soffer
2014-06-15 13:32:24 UTC
Should be trivial fix. Issue does not exists in ovirt-3.4. Seems to be a regression introduced in http://gerrit.ovirt.org/#/c/27298/31/lib/vdsm/tool/configurator.py: """ delete a file if it exists. """ utils.rmFile(content['path']) The code above does not do that docstring promise, but treat a missing file as a warning. This was broken implemented correctly in version 20, and broken by version 21 of the patch: http://gerrit.ovirt.org/#/c/27298/20..21/lib/vdsm/tool/configurator.py Generally calling utils.rmFile(path) is a bug, unless the file *must* exists before the call. This bug was fixed and is slated to be in the upcoming version. As we are focusing our testing at this phase on severe bugs, this bug was closed without going through its verification step. If you think this bug should be verified by QE, please set its severity to high and move it back to ON_QA |