Hey Keenan, can the original thingamabobbers get backported to Hammer for this, s'il vous plait?
New commit detected on ManageIQ/manageiq/hammer:
Author: Keenan Brock <email@example.com>
AuthorDate: Thu May 9 16:01:12 2019 -0400
Commit: Keenan Brock <firstname.lastname@example.org>
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.
This is based upon:
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(-)
FIXED. Verified on 18.104.22.168.
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.