Bug 1416572

Summary: Update set_security_group method to accept an array of MIQ objects
Product: Red Hat CloudForms Management Engine Reporter: Jeff Warnica <jwarnica>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED CURRENTRELEASE QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: dajohnso, jhardy, jwarnica, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: FutureFeature, TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: automate:ec2
Fixed In Version: 5.8.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1422653 (view as bug list) Environment:
Last Closed: 2017-06-12 16:53:56 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1422653    

Description Jeff Warnica 2017-01-25 20:57:01 UTC
Per summary, improve the magic function above to take an Array of MIQ objects, at least where applicable. This is true, at least, for AWS security_groups, and I suspect much more.

Comment 5 CFME Bot 2017-02-10 16:51:04 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/6c41fccc6b41a97d1e2265ee1f70b9998dd7dbb2

commit 6c41fccc6b41a97d1e2265ee1f70b9998dd7dbb2
Author:     Lucy Fu <lufu>
AuthorDate: Thu Feb 9 15:49:33 2017 -0500
Commit:     Lucy Fu <lufu>
CommitDate: Fri Feb 10 10:16:33 2017 -0500

    Add set_resources for multiple resources.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1416572

 app/models/mixins/miq_provision_mixin.rb | 52 ++++++++++++++++++++++----------
 1 file changed, 36 insertions(+), 16 deletions(-)

Comment 6 CFME Bot 2017-02-10 16:51:10 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/951d51831e9b4b603b89f8058c3925da547e492e

commit 951d51831e9b4b603b89f8058c3925da547e492e
Author:     Lucy Fu <lufu>
AuthorDate: Thu Feb 9 15:50:50 2017 -0500
Commit:     Lucy Fu <lufu>
CommitDate: Fri Feb 10 10:16:40 2017 -0500

    Add multiple_value option for expose_eligible_resources.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1416572

 ...e_manageiq-providers-cloud_manager-provision.rb |  2 +-
 .../mixins/miq_ae_service_miq_provision_mixin.rb   | 12 +++++++-
 ...ageiq-providers-cloud_manager-provision_spec.rb | 35 +++++++++++++---------
 3 files changed, 33 insertions(+), 16 deletions(-)

Comment 8 Milan Falešník 2017-04-06 10:28:45 UTC
Verified with the same steps as in BZ#1422653 in 5.8.0.9