Hey Keenan, can the original thingamabobbers get backported to Hammer for this, s'il vous plait?
https://github.com/ManageIQ/manageiq/pull/18817
New commit detected on ManageIQ/manageiq/hammer: https://github.com/ManageIQ/manageiq/commit/4d81c38dbd47a5f27e080220c49b708a139cb605 commit 4d81c38dbd47a5f27e080220c49b708a139cb605 Author: Keenan Brock <keenan> AuthorDate: Thu May 9 16:01:12 2019 -0400 Commit: Keenan Brock <keenan> CommitDate: Thu May 9 16:01:12 2019 -0400 specify virtual_delegate types to avoid deadlock deriving the attribute type for delegates required the target class to be loaded. This forced a cascade of load_schema calls that end up introducing a race condition. This PR explicitly declares the attribute type so the target class no longer needs to be loaded and the race condition (and subsequent deadlocks) are avoided. https://bugzilla.redhat.com/show_bug.cgi?id=1714615 This is based upon: - https://github.com/ManageIQ/activerecord-virtual_attributes/pull/21 - https://github.com/ManageIQ/manageiq/pull/18798 app/models/entitlement.rb | 2 +- app/models/host.rb | 12 +- app/models/miq_group.rb | 2 +- app/models/miq_product_feature.rb | 2 +- app/models/miq_report_result.rb | 2 +- app/models/miq_server.rb | 2 +- app/models/miq_widget.rb | 4 +- app/models/mixins/ownership_mixin.rb | 4 +- app/models/vm_or_template.rb | 24 +- lib/extensions/ar_virtual.rb | 5 +- spec/lib/extensions/ar_virtual_spec.rb | 31 + 11 files changed, 61 insertions(+), 29 deletions(-)
on hammer
FIXED. Verified on 5.10.6.0.
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:1644