Bug 1441740

Summary: When moving AWS provider from one zone to another Network Manager info no longer updates
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Ladislav Smola <lsmola>
Status: CLOSED ERRATA QA Contact: Alex Newman <anewman>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: jfrey, jhardy, myoder, obarenbo, saali, simaishi
Target Milestone: GA   
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: zone
Fixed In Version: 5.8.0.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1439268 Environment:
Last Closed: 2017-05-31 15:03:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: AWS Target Upstream Version:
Embargoed:
Bug Depends On: 1439268    
Bug Blocks:    

Comment 2 CFME Bot 2017-04-13 18:46:25 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/1bc69271362db8aa0ea220c5842d4f8e9f0ec054

commit 1bc69271362db8aa0ea220c5842d4f8e9f0ec054
Author:     Adam Grare <agrare>
AuthorDate: Wed Apr 12 07:54:05 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Apr 13 14:43:38 2017 -0400

    Merge pull request #14741 from Ladas/ensure_managers_change_zone_and_provider_region_with_cloud_manager
    
    Method for ensuring managers change zone and provider region with CloudManager
    (cherry picked from commit 9cae7823ad1538f281e74235c41b891cfcae45aa)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1441740
    https://bugzilla.redhat.com/show_bug.cgi?id=1441753

 app/models/mixins/has_network_manager_mixin.rb | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Comment 3 CFME Bot 2017-04-13 19:22:57 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/fine:
https://github.com/ManageIQ/manageiq-providers-amazon/commit/0389bc3226d8f9adca5fb944a0d67ad91e5b5f5c

commit 0389bc3226d8f9adca5fb944a0d67ad91e5b5f5c
Author:     Bronagh Sorota <bsorota>
AuthorDate: Wed Apr 12 11:04:51 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Apr 13 15:20:01 2017 -0400

    Merge pull request #212 from Ladas/ensure_managers_change_zone_and_provider_region_with_cloud_manager
    
    Ensure managers change zone and provider region with cloud manager
    (cherry picked from commit 544050624aa271596c906e455500c826bbae3260)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1441740

 .../manageiq/providers/amazon/cloud_manager.rb     | 32 ++++++++++-----
 .../providers/amazon/cloud_manager_spec.rb         | 46 ++++++++++++++++++++++
 2 files changed, 69 insertions(+), 9 deletions(-)

Comment 4 CFME Bot 2017-04-13 19:36:03 UTC
New commit detected on ManageIQ/manageiq/fine:
https://github.com/ManageIQ/manageiq/commit/4086fa9b2c2ee2e3f9aee8655626c119c0aa8bf1

commit 4086fa9b2c2ee2e3f9aee8655626c119c0aa8bf1
Author:     tzumainn <tzumainn>
AuthorDate: Wed Apr 12 09:45:45 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Apr 13 15:33:56 2017 -0400

    Merge pull request #11 from Ladas/ensure_managers_change_zone_and_provider_region_with_cloud_manager
    
    Ensure managers change zone and provider region with cloud manager
    (cherry picked from commit c8fdfb05e34c77d63e31cd0bf0645e59e758644b)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1441740

 .../manageiq/providers/openstack/cloud_manager.rb  | 23 ++++++++++++--
 .../manageiq/providers/openstack/infra_manager.rb  |  1 +
 .../providers/openstack/cloud_manager_spec.rb      | 35 ++++++++++++++++++++++
 3 files changed, 57 insertions(+), 2 deletions(-)

Comment 6 errata-xmlrpc 2017-05-31 15:03:57 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://access.redhat.com/errata/RHSA-2017:1367