Bug 1030498 - [DWH-SETUP] - When upgrading reports without DWH upgraded it doesn't check DWH status.
Summary: [DWH-SETUP] - When upgrading reports without DWH upgraded it doesn't check DW...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-dwh
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Alex Lourie
QA Contact: Barak Dagan
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-14 15:07 UTC by Barak Dagan
Modified: 2014-01-06 08:44 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-18 08:15:48 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)
ovirt-engine-reports-setup-2013_11_14_19_55_40.log. (5.62 KB, application/x-tar-gz)
2013-11-14 15:07 UTC, Barak Dagan
no flags Details

Description Barak Dagan 2013-11-14 15:07:31 UTC
Created attachment 823998 [details]
ovirt-engine-reports-setup-2013_11_14_19_55_40.log.

Description of problem:
When upgrading report without DWH updated it doesn't check DWH status. This causes setup to fail and no message instructing the user to install dwh first.


Welcome to ovirt-engine-reports setup utility
Editing XML files...                                  [ DONE ]
Setting DB connectivity...                            [ DONE ]
Exporting adhoc reports...                            [ ERROR ]
Restoring Installation...                             [ ERROR ]
[Errno 2] No such file or directory: '/usr/share/ovirt-engine/rhevm-reports.war/WEB-INF/lib'
Error encountered while installing ovirt-engine-reports, please consult the log file: /var/log/ovirt-engine/ovirt-engine-reports-setup-2013_11_14_19_55_40.log


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

How reproducible:
always

Steps to Reproduce:
1. install 
1. install rhevm-report rpm
2. install engine
3. run rhevm-reports setup

Actual results:
Console should display a message asking to install dwh first

Expected results:


Additional info:

Comment 1 Alex Lourie 2013-11-14 16:03:23 UTC
Why is this at all related to DWH? All I see in the log is exporting users failed in JS operation.

Yaniv, can you please take a look?

Comment 2 Yaniv Lavi 2013-11-17 16:24:58 UTC
Database must have been corrupted.
A table is missing.



Yaniv

Comment 3 Yaniv Lavi 2013-11-17 16:25:42 UTC
Please recreate on latest build and attach log.

Comment 4 Barak Dagan 2013-11-18 08:15:48 UTC
# rhevm-reports-setup 
Welcome to ovirt-engine-reports setup utility
DWH has not been setup, please install rhevm-dwh package and execute: "rhevm-dwh-setup" before setting up the reports.
Error encountered while installing ovirt-engine-reports, please consult the log file: /var/log/ovirt-engine/ovirt-engine-reports-setup-2013_11_17_19_1


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