Bug 1014031 - [rhevm-dwh] - postgresql.conf is truncated during setup
Summary: [rhevm-dwh] - postgresql.conf is truncated during setup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-dwh
Version: 3.3.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 3.3.0
Assignee: Itamar Heim
QA Contact: Barak Dagan
URL:
Whiteboard: integration
Depends On:
Blocks: 1019461
TreeView+ depends on / blocked
 
Reported: 2013-10-01 09:49 UTC by Yaniv Lavi
Modified: 2015-09-22 13:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
postgresql.conf was truncated during setup, which corrupted the database. The configuration file is no longer truncated, so database corruption does not occur.
Clone Of:
Environment:
Last Closed: 2014-01-21 15:00:02 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0036 0 normal SHIPPED_LIVE rhevm-dwh 3.3 bug fix and enhancement update 2014-01-21 19:53:35 UTC
oVirt gerrit 19729 0 None None None Never

Description Yaniv Lavi 2013-10-01 09:49:27 UTC
Description of problem:
[rhevm-dwh] - postgresql.conf is truncated during setup corrupting the postgres config file. 

Version-Release number of selected component (if applicable):
3.3.0

How reproducible:
Always

Steps to Reproduce:
1. Run rhevm-dwh-setup
2. look at postgresql.conf file.

Actual results:
truncated\corrupted

Comment 4 Barak Dagan 2013-10-07 08:02:45 UTC
Verified on is17.1:

# rpm -qa | egrep 'dwh|reports'
rhevm-dwh-3.3.0-13.el6ev.noarch
jasperreports-server-pro-5.5.0-2.el6ev.noarch
rhevm-reports-3.3.0-10.el6ev.noarch

/var/lib/pgsql/data/postgresql.conf seems to be valid:

...
# - Connection Settings -

listen_addresses = '*'
#listen_addresses = 'localhost'         # what IP address(es) to listen on;
                                        # comma-separated list of addresses;
                                        # defaults to 'localhost', '*' = all
                                        # (change requires restart)
#port = 5432                            # (change requires restart)
...
#------------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#------------------------------------------------------------------------------

#custom_variable_classes = ''           # list of custom variable class names

Comment 5 Charlie 2013-11-28 00:53:41 UTC
This bug is currently attached to errata RHEA-2013:15116. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to 
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 8 errata-xmlrpc 2014-01-21 15:00:02 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.

http://rhn.redhat.com/errata/RHBA-2014-0036.html


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