Bug 1439268 - When moving AWS provider from one zone to another Network Manager info no longer updates
Summary: When moving AWS provider from one zone to another Network Manager info no lon...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Ladislav Smola
QA Contact: Alex Newman
URL:
Whiteboard: zone
Depends On:
Blocks: 1441740 1441742
TreeView+ depends on / blocked
 
Reported: 2017-04-05 14:43 UTC by Saif Ali
Modified: 2020-07-16 09:23 UTC (History)
6 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1441740 1441742 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:36:09 UTC
Category: ---
Cloudforms Team: AWS
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Saif Ali 2017-04-05 14:43:12 UTC
Description of problem:
Moved AWS cloud provider from one zone to another with a different worker appliance. AWS instances and inventory connect and refresh without issue however the Network Manager info will not update or refesh and newly provisioned instances do not report their IP or mac address in the instance view page.


Version-Release number of selected component (if applicable):
4.2

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Saif Ali 2017-04-10 18:27:25 UTC
@Ladislav, I asked the customer to try the fix.

Comment 10 CFME Bot 2017-04-12 11:56:16 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/dc57d4c3b20f375dcd27f5dd4d3d31723134e857

commit dc57d4c3b20f375dcd27f5dd4d3d31723134e857
Author:     Ladislav Smola <lsmola>
AuthorDate: Wed Apr 12 13:04:07 2017 +0200
Commit:     Ladislav Smola <lsmola>
CommitDate: Wed Apr 12 13:05:17 2017 +0200

    Method for ensuring managers change zone and provider region with CloudManager
    
    Method for ensuring managers change zone and provider region with
    CloudManager, this method needs to be in :before_update in every
    relevant provider
    
    Fixes BZs:
    https://bugzilla.redhat.com/show_bug.cgi?id=1439268
    https://bugzilla.redhat.com/show_bug.cgi?id=1440327

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

Comment 12 CFME Bot 2017-04-12 15:08:21 UTC
New commit detected on ManageIQ/manageiq-providers-amazon/master:
https://github.com/ManageIQ/manageiq-providers-amazon/commit/be91151337ecb82efc47cb112ee0b539a5a8f12c

commit be91151337ecb82efc47cb112ee0b539a5a8f12c
Author:     Ladislav Smola <lsmola>
AuthorDate: Wed Apr 12 15:38:59 2017 +0200
Commit:     Ladislav Smola <lsmola>
CommitDate: Wed Apr 12 15:38:59 2017 +0200

    Ensure child managers change zone and provider region with CloudManager
    
    Ensure child managers change zone and provider region with CloudManager
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1439268

 .../manageiq/providers/amazon/cloud_manager.rb     | 32 ++++++++++++++++------
 1 file changed, 23 insertions(+), 9 deletions(-)


Note You need to log in before you can comment on or make changes to this bug.