Bug 1651132
| Summary: | [downstream clone - 4.2.8] Managing tags fails with ConcurrentModificationException | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | RHV bug bot <rhv-bugzilla-bot> |
| Component: | ovirt-engine | Assignee: | Dana <delfassy> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Zmeskal <jzmeskal> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.6 | CC: | lleistne, lsvaty, mgoldboi, mperina, ratamir, Rhev-m-bugs |
| Target Milestone: | ovirt-4.2.8 | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.2.8.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1643813 | Environment: | |
| Last Closed: | 2019-01-22 12:44:51 UTC | Type: | --- |
| 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: | 1643813 | ||
| Bug Blocks: | |||
|
Description
RHV bug bot
2018-11-19 09:27:04 UTC
I wasn't able to reproduce the bug, but I added a fix that should solve this issue (Originally by Dana Elfassy) Verification steps: 1. Have a VM that has 4 tags assigned to it 2. Execute this simple script against such VM: https://gist.github.com/jan-zmeskal/48585a5dbbef5b52cb28faac67a0a161 3. Keep it running for 30 or more minutes 4. Make sure that no error was raised during the script's execution 5. grep engine.log for "java.util.ConcurrentModificationException" If you don't want to read the referenced script, its main purpose is to constantly add and remove four tags on one VM in multi-threaded fashion. I am using ovirt-python-sdk v4 for this. If the SDK receives some different status code than 200, it raises an exception. To be completely sure, I also checked that "java.util.ConcurrentModificationException" is not found in engine.log. Verified on: rhvm-4.2.8-0.1.el7ev.noarch ovirt-engine-restapi-4.2.8-0.1.el7ev.noarch I ran the script for over an hour, no errors nor java.util.ConcurrentModificationException was found in the log, so I suppose it is safe to say that the fix had solved the issue 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/RHBA-2019:0121 |