Bug 1334274
Summary: | AttributeErrors from ioprocess during shutdown when vdsm tests finish | ||
---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Piotr Kliczewski <pkliczew> |
Component: | Core | Assignee: | Nir Soffer <nsoffer> |
Status: | CLOSED UPSTREAM | QA Contact: | Elad <ebenahar> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.18.0 | CC: | amureini, bronhaim, bugs, dougsland, gklein, nsoffer, ratamir, smizrahi, tnisan, ybronhei |
Target Milestone: | ovirt-4.1.0-alpha | Flags: | rule-engine:
ovirt-4.1+
rule-engine: planning_ack+ tnisan: devel_ack+ ratamir: testing_ack+ |
Target Release: | 4.19.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-12-25 08:45:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Piotr Kliczewski
2016-05-09 10:30:00 UTC
The root cause is using __del__ in ioprocess for resources management. This is bad idea in general, but we cannot fix it in ioprocess because old vdsm versions depend on this. The reason we see this when running vdsm tests is vdsm does not manage the lifetime of ioprocess during the tests. Tests that use ioprocess should clean up the created instances when the test is done. Moving the bug back to vdsm. Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. High risk for a questionable reward. At this point in time, it isn't work the risk for 4.0.z. The latest patch is simple enough to backport to 4.0. This patch does not improve the scale issues, but it fixes the warnings during shutdown. This patch also fixes the issue of stuck tests we see randomly on the CI, caused by the ioprocess threads automatic close. We will open a separate bug for the scale issues. Merged in master. Hey Nir, Can we get a clear steps to reproduce? This happens every time you run "make check" before the fix. We never seen this in the application itself since stderr is redirected to /dev/null. The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified. Nir, can you provide an exact flow? (In reply to Elad from comment #10) > Nir, can you provide an exact flow? This is not visible in vdsm (the errors are sent to /dev/null). The only way to reproduce this is to run vdsm tests before and after this patch. Elad, see also comment 8. Raz, to me it sounds like CLOSED UPSTREAM. What do you think? Yes, close it with resolution UPSTREAM |