Bug 1710037 - [RFE] replication and Central Administration are broken when remote appliance's internal ip isn't reachable ouside
Summary: [RFE] replication and Central Administration are broken when remote appliance...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Replication
Version: 5.10.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: cfme-future
Assignee: Gregg Tanzillo
QA Contact: Ievgen Zapolskyi
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-14 19:24 UTC by Ievgen Zapolskyi
Modified: 2019-12-18 14:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-18 14:32:55 UTC
Category: Feature
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
izapolsk: automate_bug+


Attachments (Terms of Use)

Description Ievgen Zapolskyi 2019-05-14 19:24:19 UTC
Description of problem:
RHOS appliance with floating IP or appliance behind firewall and etc cannot be used from global region.

If remote region's appliance is deployed in RHOS with floating IP or appliance is behind firewall, it has internal IP and this IP isn't available outside.
If replication of such remote appliance is set up in global region's appliance,
replication code will ignore passed external IP and use internal IP pulled from remote appliance.

This issue causes many different inobvious errors related to Central Administration.

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

How reproducible:
100%

Steps to Reproduce:
1. Set up first appliance to have replication type - Remote and have region 1
2. Set up second appliance to have replication type - Global and have region 99
3. Add subscription to first appliance in second appliance
4. wait until replication is done
5. add any cloud or infra provider to first appliance
6. try provisioning vm/instance in second appliance in appeared infra/cloud provider

Actual results:
can't create provisioning request due to error that global appliance cannot contact to internal ip of remote appliance

or

can't create provisioning request due to "undefined method `remote_ws_url for nil:NilClass"

Expected results:
replication should use passed external IP instead of that pulled internal IP
and
correctly working Central Administration

Comment 2 Yuri Rudman 2019-05-28 11:41:17 UTC
NOTE: there is workaround - update settings webservices.url (using Advanced Settings) on remote server to be the same as ip of remote server in replication set-up


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