Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1496848 - Access to RHV using the oVirt SDK may crash the events worker
Access to RHV using the oVirt SDK may crash the events worker
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.9.0
Unspecified Unspecified
unspecified Severity medium
: GA
: 5.9.0
Assigned To: Juan Hernández
Ilanit Stein
rhev
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-28 11:45 EDT by Juan Hernández
Modified: 2018-03-01 08:18 EST (History)
6 users (show)

See Also:
Fixed In Version: 5.9.0.4
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:18:32 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: Bug
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Description Juan Hernández 2017-09-28 11:45:06 EDT
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 06:52:43 EDT
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 09:02:04 EDT
No problem. Will update the downstream rpm after the PR is merged.
Comment 4 Ilanit Stein 2017-12-13 06:17:47 EST
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 08:18:32 EST
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.