Bug 1728179 - Server (API) error on order page when ordering the catalog item(orchestration) from global region
Summary: Server (API) error on order page when ordering the catalog item(orchestration...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.11.0
Assignee: Yuri Rudman
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1656351
TreeView+ depends on / blocked
 
Reported: 2019-07-09 09:00 UTC by Niyaz Akhtar Ansari
Modified: 2019-07-18 14:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-18 14:29:00 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error (121.97 KB, image/png)
2019-07-09 09:00 UTC, Niyaz Akhtar Ansari
no flags Details
url on remote server (242.55 KB, image/png)
2019-07-17 17:02 UTC, Yuri Rudman
no flags Details

Description Niyaz Akhtar Ansari 2019-07-09 09:00:59 UTC
Created attachment 1588657 [details]
error

Description of problem:


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

How reproducible:
100%

Steps to Reproduce:
1. Create a service catalog item with type orchestration template (Aws cloudformation) in remote region and catalog is provisioned successfully from remote region.
2. Order above catalog item from global region
 
Actual results:
Unable to order the catalog item from global region. Throws Server error in order page

Expected results:


Additional info:

Comment 2 Gregg Tanzillo 2019-07-10 15:15:55 UTC
Please suppy the error with the corresponding backtrace from the log.

Comment 5 Yuri Rudman 2019-07-15 14:22:53 UTC
In reproducer environment internal IP detected during installation and shown in appliance console is different than IP used for replication; internal ip is not accessible from global region.

There is settings which dictates what URL to use for the purpose of Centralized Administration - webservices.url. By default is it empty, which means appliance IP detected during installation will be used. To fix reported issue this settings (webservices.url) need to be updated on remote region to the same url which is used for replication.


There is RFE to use IP used for replication for Centralized Administration: https://bugzilla.redhat.com/show_bug.cgi?id=1710037

Comment 7 Niyaz Akhtar Ansari 2019-07-17 08:53:33 UTC
Hi Yuri, the issue is still reproducible. seeing the same error while clicking on submit button on service order

Comment 8 Yuri Rudman 2019-07-17 13:28:19 UTC
It is different error, original error was : "Failed to send request to <internal IP of appliance>" and now error is "Failed to send request to /10.16.5.106 - both URI are relative".

Comment 9 Yuri Rudman 2019-07-17 15:30:14 UTC
Niyaz, Reproducer environment updated.
 webservices.url should be full URL (with protocol prefix) - https://<ip>
Could you check again

Comment 10 Niyaz Akhtar Ansari 2019-07-17 16:20:19 UTC
Now I am able to provision the service. looks good to me. 

but I don't see the full URL (with protocol prefix) - https://<ip> in the appliance settings
Could you please tell me what exactly you have updated in the appliance to solve this issue?

Comment 11 Yuri Rudman 2019-07-17 17:01:00 UTC
webservices.url updated on remote server - it is informing global region how to access itself.

Comment 12 Yuri Rudman 2019-07-17 17:02:25 UTC
Created attachment 1591510 [details]
url on remote server


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