Bug 880630

Summary: [rhevm-upgrade] Need to add dwh and reports to rollback steps
Product: Red Hat Enterprise Virtualization Manager Reporter: Kiril Nesenko <knesenko>
Component: ovirt-engine-setupAssignee: Moran Goldboim <mgoldboi>
Status: CLOSED CURRENTRELEASE QA Contact: David Botzer <dbotzer>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: alourie, bazulay, cpelland, dbotzer, dfediuck, dyasny, iheim, oramraz, pstehlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---Keywords: ZStream
Target Release: 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 884639 (view as bug list) 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: 884639    

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