Bug 1375291

Summary: :cold_sweat: Don't include AvailabilityMixin into Object, that's really bad
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ProvidersAssignee: Brandon Dunne <bdunne>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Krocil <jkrocil>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: jfrey, jhardy, jkrocil, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376132 (view as bug list) Environment:
Last Closed: 2017-01-11 20:24:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1376132    

Description John Prause 2016-09-12 15:46:52 UTC
Before:

irb(main):001:0> Object.respond_to?(:is_available?)
=> false

irb(main):002:0> ManageIQ::Providers::ContainerManager
PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0
=> ManageIQ::Providers::ContainerManager(id: integer, name: string, etc...)

irb(main):003:0> Object.respond_to?(:is_available?)
=> true

After:

irb(main):001:0> Object.respond_to?(:is_available?)
=> false

irb(main):002:0> ManageIQ::Providers::ContainerManager
PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0
=> ManageIQ::Providers::ContainerManager(id: integer, name: string, etc...)

irb(main):003:0> Object.respond_to?(:is_available?)
=> false

Comment 2 John Prause 2016-09-12 15:47:48 UTC
https://github.com/ManageIQ/manageiq/pull/10285