Bug 1378545

Summary: Setting appliance type to 'Remote' and saving returns "Error during replication configuration save: "
Product: Red Hat CloudForms Management Engine Reporter: Alex Newman <anewman>
Component: ReplicationAssignee: Satoe Imaishi <simaishi>
Status: CLOSED CURRENTRELEASE QA Contact: Alex Newman <anewman>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jhardy, lcouzens, ncarboni, obarenbo, simaishi, slukasik
Target Milestone: GAKeywords: TestOnly
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-11 20:07:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Bug Depends On: 1379679    
Bug Blocks:    

Comment 3 Šimon Lukašík 2016-09-26 09:20:21 UTC
After applying

  https://github.com/ManageIQ/manageiq/pull/11510

the error message was:

    undefined method `conninfo_hash' for #<PG::Connection:0x00000010e415c8>

from

   https://github.com/ManageIQ/manageiq/blob/c106b0f07d14fefa8c7946a3a348ca7d95ae491d/lib/miq_pglogical.rb#L116

The `conninfo_hash` was introduced in PostgreSQL 9.3, and it is not available for older versions. We are using PostgreSQL 9.4. However our PG adapter is build against PostgreSQL 9.2.

    http://pkgs.devel.redhat.com/cgit/rpms/rubygem-pg/commit/?h=cfme-rh-ruby23-5.7-rhel-7&id=1f358038a5c8b520797b949c00e6fcfb141830d5

Nick, Satoe, could you please take a look?

Comment 4 Satoe Imaishi 2016-09-26 15:28:27 UTC
Ah, that's me, taking the BZ.

Comment 5 Satoe Imaishi 2016-09-28 15:09:47 UTC
Fixed in rh-ruby23-rubygem-pg-0.18.2-5

Comment 6 Alex Newman 2016-10-17 20:08:51 UTC

    Version 5.7.0.5-alpha2.20161014143521_cd366b6
    Server Name EVM
    User Name Administrator
    User Role EvmRole-super_administrator
    Browser Firefox
    Browser Version 45
    Browser OS Linux