Bug 1749052

Summary: Selecting the replication tab on our CF Global appliances results in an 502 proxy error
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ApplianceAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Ievgen Zapolskyi <izapolsk>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.10.8CC: abellott, bkinney, bmidwood, hkataria, jdeubel, lavenel, mpovolny, mshriver, obarenbo, smallamp, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.10   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1741240 Environment:
Last Closed: 2019-09-23 19:43:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1741240    
Bug Blocks:    

Comment 3 CFME Bot 2019-09-05 16:11:05 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/f964e0b72c88c44144382b4b66b0883d1093fdc7
commit f964e0b72c88c44144382b4b66b0883d1093fdc7
Author:     Yuri Rudman <yrudman>
AuthorDate: Wed Sep  4 09:12:07 2019 -0400
Commit:     Yuri Rudman <yrudman>
CommitDate: Wed Sep  4 09:12:07 2019 -0400

    do not attempt to calculate backlog unless subscription in replicating state
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1749052

 app/models/pglogical_subscription.rb | 14 +-
 1 file changed, 10 insertions(+), 4 deletions(-)

Comment 4 Mike Shriver 2019-09-12 15:17:26 UTC
Tested in CFME 5.10.10.0.20190905201238_76e3ac6

I setup two replicating appliances, and the Replication tab loaded without issue.

I then took down the 'Remote' appliance in the replication pair, and the Replication tab continued to load without issue (though maybe a little slower).

The replication status was reported as 'down' when the remote appliance was unreachable, instead of triggering a 502 on the page as described in the original BZ.

Comment 6 errata-xmlrpc 2019-09-23 19:43:07 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/RHBA-2019:2813

Comment 7 Sudhir Mallamprabhakara 2019-11-12 03:50:18 UTC
Changing the test coverage to + as we have the test coverage covered in the original BZ 1741240