Bug 880630 - [rhevm-upgrade] Need to add dwh and reports to rollback steps
Summary: [rhevm-upgrade] Need to add dwh and reports to rollback steps
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.1.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 3.2.0
Assignee: Moran Goldboim
QA Contact: David Botzer
URL:
Whiteboard: integration
: 888226 (view as bug list)
Depends On:
Blocks: 884639
TreeView+ depends on / blocked
 
Reported: 2012-11-27 13:08 UTC by Kiril Nesenko
Modified: 2014-07-11 00:09 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 884639 (view as bug list)
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kiril Nesenko 2012-11-27 13:08:48 UTC
Description of problem:
Starting upgrade from 3.0 to 3.1. If we fail there are steps for rollback, but dwh and reports are missing.
Need to add dwh and reports to rollback steps

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

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
No rollback available for dwh and reports

Expected results:
Need to add dwh and reports to rollback steps

Additional info:

Comment 4 Moran Goldboim 2013-01-06 14:13:29 UTC
*** Bug 888226 has been marked as a duplicate of this bug. ***

Comment 5 David Botzer 2013-01-28 13:09:50 UTC
Fixed, 3.1/si26.1
All messages are correct for product and database
Fixed,

Up-to-date instructions are also available at: https://access.redhat.com/knowledge/articles/269333

To restore DWH perform the following:
1. Install dwh package:
	yum install rhevm-reports-dwh-3.0.8-2
2. Start ETL service:
	service rhevm-etl start
	service rhevm-notifierd start


To restore reports installation perform the following:
1. Install reports packages:
	yum install rhevm-reports-3.0.8-2
2. Stop the JBoss service:
	service jbossas stop
3. Rename the original DB:
	psql -U postgres -c "ALTER DATABASE rhevmreports RENAME TO rhevmreports_orig;"
4. Run reports setup. Answers to interactive questions do not matter:
	rhevm-reports-setup
5. Drop the newly created DB and restore the original one:
	psql -U postgres -c "DROP DATABASE rhevmreports"
	psql -U postgres -c "ALTER DATABASE rhevmreports_orig RENAME TO rhevmreports;"
6. Restart Jboss service:
	service jbossas start

Error: Upgrade failed.
please check log

Comment 6 Itamar Heim 2013-06-11 09:45:23 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 09:45:26 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 09:56:00 UTC
3.2 has been released


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