Bug 1496848 - Access to RHV using the oVirt SDK may crash the events worker
Summary: Access to RHV using the oVirt SDK may crash the events worker
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: GA
: 5.9.0
Assignee: Juan Hernández
QA Contact: Angelina Vasileva
URL:
Whiteboard: rhev
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-28 15:45 UTC by Juan Hernández
Modified: 2019-06-06 12:01 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:18:32 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Juan Hernández 2017-09-28 15:45:06 UTC
Description of problem:

When use of the oVirt SDK is enabled the events worker may sporadically crash the worker due to a segmentation violation.

Version-Release number of selected component (if applicable):

CFME 5.9.0 (latest master branch)
SDK 4.1.8 (latest stable release)

How reproducible:

In order to reproduce this the use of the SDK has to be enabled, and the events worker has to send simultaneously two requests to the server. This isn't easy to reproduce, as it depends on timing. But it is easy to reproduce in the SDK itself, see bug 1496846.

Steps to Reproduce:

None.

Actual results:

The events worker crashes due to a segmentation fault.

Expected results:

The events worker shouldn't crash.

Additional info:

This issue should only affect newer versions of CFME, were the SDK is enabled by default and the connections are optimised to use one per worker. But I think that we should update older versions of CFME (5.8 and 5.7) to use the fixed version of the SDK once it is available, just in case.

Comment 2 Juan Hernández 2017-10-16 10:52:43 UTC
The potential crash has been resolved in version 4.1.9 of the SDK. The provider needs now to be updated to use this version of the SDK:

  Require oVirt Ruby SDK 4.1.9 or newer
  https://github.com/ManageIQ/manageiq-providers-ovirt/pull/107

Upstream this will happen automatically, but downstream the RPM for the SDK needs to be updated explicitly. Satoe, can you help us with that?

Comment 3 Satoe Imaishi 2017-10-16 13:02:04 UTC
No problem. Will update the downstream rpm after the PR is merged.

Comment 4 Ilanit Stein 2017-12-13 11:17:47 UTC
Moving to Verified based on bug 1496846 verification.
On CFME latest (5.9.0.12), the oVirt Ruby SDK version is:
rh-ruby23-rubygem-ovirt-engine-sdk4-4.1.13-1.el7cf.x86_64,
and fix was included in SDK 4.1.9.

Comment 7 errata-xmlrpc 2018-03-01 13:18:32 UTC
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/RHSA-2018:0380


Note You need to log in before you can comment on or make changes to this bug.