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

Bug 913384

Summary: [rhevm] - Upgrade - Error Can't start the ovirt-engine-dwhd service (Upgrade from si25.4 to si27.1)
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-dwhAssignee: Yaniv Lavi <ylavi>
Status: CLOSED ERRATA QA Contact: David Botzer <dbotzer>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.3CC: acathrow, bazulay, chetan, dyasny, iheim, italkohe, mgoldboi, pstehlik, pzhukov, Rhev-m-bugs, sgrinber, ykaul, ylavi, zdover
Target Milestone: ---Keywords: ZStream
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: sf11 Doc Type: Release Note
Doc Text:
Upgrading the rhevm-dwh package produces an error which prevents the database warehouse service from starting. To work around this issue, turn off the rhevm-dwhd service before upgrading, then start it after the upgrade has completed.
Story Points: ---
Clone Of:
: 916643 918152 (view as bug list) Environment:
Last Closed: 2013-06-10 21:57:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 918152    
Bug Blocks: 916643, 922807    
Attachments:
Description Flags
dwhd servce down
none
SF7-SF8
none
si27.1
none
SF-7-SF-8
none
SF10-upg
none
upgrade-Fixed-log none

Description David Botzer 2013-02-21 06:37:33 UTC
Created attachment 700378 [details]
dwhd servce down

Description of problem:
Cannot Start DWHd service & Receiving Error Can't start the ovirt-engine-dwhd service when upgrading from si25.4 to si27.1 with reports

Version-Release number of selected component (if applicable):
3.1/si27.1 - si25.4

How reproducible:
always

Steps to Reproduce:
1.Install rhevm30 ic158.2 with reports + dwh
2.aggregate data for 2D
3.Upgrade to rhevm31/si24.5 (3.1.1)
  Upgrade reports & dwh & run setup
4.aggregate data for 2D
5.Upgrade to rhevm31/si27.1 (3.1.3)

  
Actual results:
when rhevm-upgrade finishes service DWHd is stopped & I get error:
* Error: Can't start the ovirt-engine-dwhd service 


Expected results:
dwhD service should start & no error should be displayed

Additional info:
3.1/si25.4 upgraded to si27.1

Is it a known issue ? (Can't start the ovirt-engine-dwhd service)

Would you like to proceed? (yes|no): y
Stopping ovirt-engine service...                         [ DONE ]
Stopping DB related services...                          [ DONE ]
Cleaning async tasks...                                  [ DONE ]
Pre-upgrade validations...                               [ DONE ]
Backing Up Database...                                   [ DONE ]
Rename Database...                                       [ DONE ]
Updating rpms (This may take a while
depending on your connection speed to the repository.
To track the installation process run tail -f /var/log/yum.log in
another session).
Note that the transition from package removal to package installation
is expected
to take a significant amount of time. No output will appear in the log
file during
this transition.... [ DONE ]
Updating Database...                                     [ DONE ]
Restore Database name...                                 [ DONE ]
Running post install configuration...                    [ DONE ]
Starting ovirt-engine...                                 [ DONE ]

RHEV Manager upgrade completed successfully!

* Error: Can't start the ovirt-engine-dwhd service

Comment 1 David Botzer 2013-02-21 15:44:26 UTC
reproduced also on 
3.2/SF8

I upgraded SF7 to SF8 while dwhd service failed to start automatically,
needs to start manually.

Comment 2 David Botzer 2013-02-21 15:46:07 UTC
Created attachment 700609 [details]
SF7-SF8

Comment 3 Yaniv Lavi 2013-02-25 11:45:12 UTC
Checked the logs the service did start ok nd had return code 0.
The upgrade returned error anyway. Moving to integration to check upgrade.




Yaniv

Comment 4 Yaniv Lavi 2013-02-25 12:54:29 UTC
Please add log of the dwh post upgrade with the error.



Yaniv

Comment 5 David Botzer 2013-02-25 13:11:32 UTC
which log ?
see all logs in GZ

Comment 6 David Botzer 2013-02-25 13:12:02 UTC
Created attachment 702344 [details]
si27.1

Comment 7 David Botzer 2013-02-25 13:22:09 UTC
Created attachment 702355 [details]
SF-7-SF-8

Comment 8 Yaniv Lavi 2013-02-25 13:25:27 UTC
(In reply to comment #7)
> Created attachment 702355 [details]
> SF-7-SF-8

The files are corrupt.

Comment 15 Yaniv Lavi 2013-03-06 14:47:15 UTC
*** Bug 918059 has been marked as a duplicate of this bug. ***

Comment 16 David Botzer 2013-03-12 13:52:30 UTC
Not Fixed, 3.2/SF10
* Error: Can't start the ovirt-engine-dwhd service
oVirt ETL service is not running for pid 25182
Not Fixed, 3.2/SF10

Comment 17 David Botzer 2013-03-12 13:52:55 UTC
Created attachment 708983 [details]
SF10-upg

Comment 18 Yaniv Lavi 2013-03-13 08:37:23 UTC
(In reply to comment #16)
> Not Fixed, 3.2/SF10
> * Error: Can't start the ovirt-engine-dwhd service
> oVirt ETL service is not running for pid 25182
> Not Fixed, 3.2/SF10

This bug is not on QA, so I don't get why you are testing it.

Comment 19 David Botzer 2013-04-03 09:15:38 UTC
Fixed, 3.2/SF11 - SF12
No error message
Service is running
Fixed, 3.2/SF11 - SF12

Comment 20 David Botzer 2013-04-03 09:16:24 UTC
Created attachment 731065 [details]
upgrade-Fixed-log

Comment 21 errata-xmlrpc 2013-06-10 21:57:38 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/RHEA-2013-0926.html