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

Bug 885611

Summary: [logs] DB installation log should display timestamps
Product: Red Hat Enterprise Virtualization Manager Reporter: Gadi Ickowicz <gickowic>
Component: ovirt-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: alourie, bazulay, dyasny, iheim, mgoldboi, nlevinki, oramraz, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: All   
OS: Linux   
Whiteboard: integration
Fixed In Version: sf-9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 917401    
Attachments:
Description Flags
example log produced by the patch none

Description Gadi Ickowicz 2012-12-10 08:37:03 UTC
Description of problem:
DB installation log should display timestamps

Version-Release number of selected component (if applicable):
rhevm-3.1.0-32.el6ev.noarch

Actual results:
db-install log does not show timestamps

log:
#engine db installer log file on jenkins-vm-06.qa.lab.tlv.redhat.com
[engine-db-install] verifying required rpms are installed.
postgresql-server-8.4.13-1.el6_3.x86_64
postgresql-8.4.13-1.el6_3.x86_64
postgresql-libs-8.4.13-1.el6_3.x86_64
postgresql-contrib-8.4.13-1.el6_3.x86_64
uuid-1.6.1-10.el6.x86_64
[engine-db-install] verifying postgres service exists.
[engine-db-install] init postgres db.
[engine-db-install] psgql db already been initialized.
[engine-db-install] changing authentication scheme from peer to ident.
[engine-db-install] changing authentication scheme from ident to trust.
[engine-db-install] stop postgres service.
Stopping postgresql service: [  OK  ]
[engine-db-install] starting postgres service.
Starting postgresql service: [FAILED]

Comment 1 Sandro Bonazzola 2013-02-20 16:20:07 UTC
Created attachment 700127 [details]
example log produced by the patch

I've attached an engine-db-install log produced with the submitted patch for review.

Comment 2 Sandro Bonazzola 2013-02-21 14:24:35 UTC
patch 12238 merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=12a64a5ae9a68a09effd994875e18f6ba3585d02

Comment 4 Ilanit Stein 2013-04-07 13:57:24 UTC
Verfied on sf-13:


2013-04-07 12:48:42 PM [engine-db-install] #engine db installer log file on istein-32.qa.lab.tlv.redhat.com
2013-04-07 12:48:42 PM [engine-db-install] verifying required rpms are installed.
postgresql-server-8.4.13-1.el6_3.x86_64
postgresql-8.4.13-1.el6_3.x86_64
postgresql-libs-8.4.13-1.el6_3.x86_64
2013-04-07 12:48:42 PM [engine-db-install] verifying postgres service exists.
2013-04-07 12:48:42 PM [engine-db-install] init postgres db.
2013-04-07 12:48:42 PM [engine-db-install] psgql db already been initialized.
2013-04-07 12:48:42 PM [engine-db-install] changing authentication scheme from peer to ident.
2013-04-07 12:48:42 PM [engine-db-install] changing authentication scheme from ident to trust.
2013-04-07 12:48:42 PM [engine-db-install] stop postgres service.
Stopping postgresql service: [  OK  ]^M
2013-04-07 12:48:44 PM [engine-db-install] starting postgres service.
Starting postgresql service: [  OK  ]^M
2013-04-07 12:48:46 PM [engine-db-install] validating that postgres service is running...retry 1
psql: could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
could not connect to server: Connection refused
        Is the server running on host "localhost" and accepting
        TCP/IP connections on port 5432?
2013-04-07 12:48:47 PM [engine-db-install] validating that postgres service is running...retry 2
 ?column?
----------
        1
(1 row)

Comment 5 Itamar Heim 2013-06-11 09:29:26 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 09:32:07 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 09:47:55 UTC
3.2 has been released