Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1340247 - Replication subscription update fails
Replication subscription update fails
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Replication (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.0
Assigned To: Nick Carboni
Alex Newman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-26 16:21 EDT by Nick Carboni
Modified: 2018-01-19 16:28 EST (History)
6 users (show)

See Also:
Fixed In Version: 5.6.0.10
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 12:06:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Nick Carboni 2016-05-26 16:21:22 EDT
Description of problem:

Updating a subscription fails with the message:
Error during replication configuration save: Failed to save subscription to <hostname>: fe_sendauth: no password supplied

This is being raised by the process that validates the remote schema against the schema.yml file.

The model doesn't have to password field set until we actually attempt the update, which is too late for the schema validity check.

Version-Release number of selected component (if applicable):
5.6.0.8-rc1-nightly

How reproducible:
Always

Steps to Reproduce:
1. Deploy two regions
2. Set up replication (remote region + subscription)
3. Edit the subscription
  - For this I set the hostname by setting an alias in /etc/hosts to the original IP of the regional appliance and using that hostname in the update.

Actual results:
Error is raised and save fails

Expected results:
Subscription info is updated.

Additional info:
Comment 3 CFME Bot 2016-05-31 15:20:53 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/e6ea49cb43f165b0c74b29e6a874a78a0ec5a86d

commit e6ea49cb43f165b0c74b29e6a874a78a0ec5a86d
Author:     Nick Carboni <ncarboni@redhat.com>
AuthorDate: Thu May 26 16:46:27 2016 -0400
Commit:     Nick Carboni <ncarboni@redhat.com>
CommitDate: Thu May 26 16:46:27 2016 -0400

    Get subscription password before attempting to verify remote schema
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1340247

 app/models/pglogical_subscription.rb       |  1 +
 spec/models/pglogical_subscription_spec.rb | 16 ++++++++--------
 2 files changed, 9 insertions(+), 8 deletions(-)
Comment 7 errata-xmlrpc 2016-06-29 12:06:32 EDT
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-2016:1348

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