Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1284503

Summary: Need to update PostgreSQL 9.4 image to handle existing slave data
Product: Red Hat Software Collections Reporter: Martin Nagy <mnagy>
Component: rh-postgresql94-containerAssignee: Pavel Raiskup <praiskup>
Status: CLOSED ERRATA QA Contact: Wenjing Zheng <wzheng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-postgresql94CC: bparees, hhorak, hripps, kanderso, wewang, wzheng
Target Milestone: alpha   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rh-postgresql94-docker-9.4-3 Doc Type: Bug Fix
Doc Text:
Previously, when a slave container was terminated while not all container initialization steps were completed, and then a new container was started using the same data, the new container failed. This bug has been fixed by removing the incomplete data directory, and the described problem no longer occurs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-09 15:17:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Nagy 2015-11-23 13:47:53 UTC
Description of problem:
When a slave is restarted with same volumes, PostgreSQL server won't start.

This was solved in the following PR: https://github.com/openshift/postgresql/pull/82 so all we need is to respin the images with the PR solved.

Comment 1 Martin Nagy 2015-11-23 20:42:04 UTC
Just a note, I have created an issue on github for the PostgreSQL image to introduce a better method for solving this problem other than the PR mentioned in the Description. Solving that issue before and introducing that fix into the updated image would be helpful:

https://github.com/openshift/postgresql/issues/84

Comment 5 errata-xmlrpc 2015-12-09 15:17:48 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://rhn.redhat.com/errata/RHBA-2015-2606.html