Bug 1375206

Summary: VirtualDelegate: Fix foreign key for belongs_to
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: PerformanceAssignee: Keenan Brock <kbrock>
Status: CLOSED ERRATA QA Contact: Dave Johnson <dajohnso>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, dmetzger, jhardy, kbrock, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1375195 Environment:
Last Closed: 2016-11-30 19:53:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1375195    
Bug Blocks:    

Comment 2 CFME Bot 2016-10-07 20:36:05 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/ecdfb6aedb3ef63be95716e8e30378f143b28542

commit ecdfb6aedb3ef63be95716e8e30378f143b28542
Author:     Oleg Barenboim <chessbyte>
AuthorDate: Thu May 5 23:26:52 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 7 16:31:53 2016 -0400

    Merge pull request #8486 from kbrock/delegate_hardware
    
    move disk sizes from vms to hardware
    (cherry picked from commit 6f0e2262f0726390a26e3305581ab0a723817f51)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375206

 app/models/hardware.rb       | 16 ++++++++++++++++
 app/models/vm_or_template.rb | 17 +----------------
 2 files changed, 17 insertions(+), 16 deletions(-)

Comment 3 CFME Bot 2016-10-07 20:36:10 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/d639e658a80f59bf5eac638db1a3bd940648455c

commit d639e658a80f59bf5eac638db1a3bd940648455c
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Wed Aug 24 16:11:19 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 7 16:34:00 2016 -0400

    Merge pull request #10653 from kbrock/vm_delegates
    
    mark vm#used_disk_storage as a virtual delegate
    (cherry picked from commit a8ecd0ddddbed5996dba8d05ba9b059a2f53ed08)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375206

 app/models/hardware.rb       | 2 ++
 app/models/vm_or_template.rb | 5 ++---
 lib/extensions/ar_virtual.rb | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

Comment 4 CFME Bot 2016-10-07 20:41:05 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/b9672b0f07bc28fbb93883118ab7dd6237474c4c

commit b9672b0f07bc28fbb93883118ab7dd6237474c4c
Author:     Jason Frey <fryguy9>
AuthorDate: Fri Sep 9 12:47:36 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 7 16:38:33 2016 -0400

    Merge pull request #10717 from kbrock/ar_virtual_foreign_key
    
    VirtualDelegate: Fix foreign key for belongs_to
    (cherry picked from commit b1cc742a339b0bb3d766fb84ca7137a69d925faa)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1375206

 lib/extensions/ar_virtual.rb           | 104 ++++++++++++++++++++++++++++++---
 spec/lib/extensions/ar_virtual_spec.rb | 102 ++++++++++++++++++++++++++++++++
 2 files changed, 198 insertions(+), 8 deletions(-)

Comment 7 errata-xmlrpc 2016-11-30 19:53:27 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://rhn.redhat.com/errata/RHSA-2016-2839.html