Bug 1464529 - the name of amazon providers aren't synced with the name of their network manager
Summary: the name of amazon providers aren't synced with the name of their network man...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: All
OS: All
low
low
Target Milestone: GA
: 5.9.0
Assignee: Marcel Hild
QA Contact: Dave Johnson
URL:
Whiteboard: ec2:sdn
Depends On:
Blocks: 1480288
TreeView+ depends on / blocked
 
Reported: 2017-06-23 16:47 UTC by Felix Dewaleyne
Modified: 2021-03-11 15:22 UTC (History)
9 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:13:38 UTC
Category: ---
Cloudforms Team: AWS
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Felix Dewaleyne 2017-06-23 16:47:07 UTC
Description of problem:
the name of amazon providers aren't synced with the name of their networks - if you rename an amazon provider, the name of the network manager associated won't change

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

How reproducible:
all the time (customer environment)

Steps to Reproduce:
1. Add a new AWS provider: Compute/Cloud/Providers -> Configuration/Add a new cloud provider -> Insert provider data.
2. Verification that the provider validates and collects information.
3. Modify the provider: Inside the provider -> Configuration / Edit this cloud Provider -> Change the name / Validate / Save.


Actual results:
 from the provider url (ems_cloud/1000000000001) we can see how the name of the provider is modified, but not the name of the Network Manager.

Expected results:
the name of the network manager is kept in sync with the name of the network provider

Additional info:

Comment 3 Marcel Hild 2017-06-29 16:49:02 UTC
This also ties into http://talk.manageiq.org/t/rethinking-providers-and-managers/2494/5 
Maybe the name of the provider should be taken from the parent manager until we figure out a better way of organizing the relationships
So maybe just delegate the `name` attr_reader method to the parent_manager will solve this. In the end its just a display thing

Comment 4 Marcel Hild 2017-09-28 17:12:19 UTC
delegating to parent_manager: https://github.com/ManageIQ/manageiq/pull/16067

Comment 5 Patrik Holop 2017-11-07 09:36:44 UTC
Tested on version 5.9.0.5 -> Amazon provider
Results were correct, name changed with name of the cloud provider.

Comment 9 errata-xmlrpc 2018-03-01 13:13:38 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-2018:0380


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