PostgreSQL 'promote' not working

Bug #1592147 reported by Peter Stachowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
New
Undecided
Unassigned

Bug Description

Due to a missing file in the PostgreSQL install, promoting a slave to master doesn't work properly in the current implementation. Here's a sample of the error message that will appear in the guest log:

    2016-06-13 19:12:15.481 TRACE oslo_messaging.rpc.server Stdout: u'The servers diverged at WAL position 0/5012B30 on timeline 1.\nRewinding from Last common checkpoint at 0/4000060 on timeline 1\ncreating backup label and updating control file\n'
    2016-06-13 19:12:15.481 TRACE oslo_messaging.rpc.server Stderr: u'The program "initdb" is needed by pg_rewind but was \nnot found in the same directory as "/usr/local/pgsql/bin/pg_rewind".\nCheck your installation.\n'

This needs to be fixed in the PostgreSQL elements before the feature will work as it should.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.