Hide Forgot
Description of problem:pglogical replication fails to start after migration from 5.5 to 5.7 Version-Release number of selected component (if applicable):5.7.0.7 How reproducible:100% Steps to Reproduce: 1.setup rubyrep on 2 x 5.5 appliances 2.stop replication 3.upgrade to 5.7 using repos[0] and yum update 4.upgrade postgres to latest using miq_postgres_upgrade script 5.make edits to relevant files for pglogical following [1] 6.setup pglogical Actual results:replication fails to replicate Expected results:replication works correctly Additional info: [0]https://mojo.redhat.com/docs/DOC-1094760 [1]https://mojo.redhat.com/docs/DOC-1089985
This failed because of a unique constraint violation during the initial sync for the pglogical subscription. When a user moves from rubyrep to pglogical they should do a `bin/rake evm:dbsync:uninstall` *before* `yum update` to ensure all of the region's data is removed from the global. Failing that I opened a PR to remove all of the region's data from the global region as a part of creating the subscription. https://github.com/ManageIQ/manageiq/pull/12358
Verified in 5.8.0.3