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:
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
delegating to parent_manager: https://github.com/ManageIQ/manageiq/pull/16067
Tested on version 5.9.0.5 -> Amazon provider Results were correct, name changed with name of the cloud provider.
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