Bug 866143

Summary: [rhevm] - Upgrade - No Roll-Back when Upgrade 3.0 to 3.1 fails
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engine-setupAssignee: Alex Lourie <alourie>
Status: CLOSED CURRENTRELEASE QA Contact: Tareq Alayan <talayan>
Severity: medium Docs Contact:
Priority: high    
Version: 3.1.0CC: bazulay, dyasny, iheim, mgoldboi, oschreib, pstehlik, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: si24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:03:25 UTC 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:
Attachments:
Description Flags
rhevm-old none

Description David Botzer 2012-10-14 10:46:33 UTC
Created attachment 626885 [details]
rhevm-old

Description of problem:
Upgrade 3.0 to 3.1 fails for some reason (e.x open db connections)
As a result of that - /etc/rhevm & /etc/pki/rhevm folders are changed to rhevm-old
-- cannot rerun rhevm-upgrade

Version-Release number of selected component (if applicable):
3.0 ic157
3.1 si20

How reproducible:
always

Steps to Reproduce:
1.install rhevm30+ETL+reports
2.upgrade rhevm-setup
3.rhevm-upgrade - will fail on a BZ that setup doesnt asks to close connections
4.Close DB connections (restart ETL, postgresql)
4.Rerun of rhevm-upgrade Fails
  
Actual results:
/etc/rhevm & /etc/pki/rhevm folders are changed to rhevm-old

Expected results:
Rollback should return state

Additional info:

Comment 3 Tareq Alayan 2012-11-13 18:39:12 UTC
couldn't reproduce.
DB backup-ed and renamed.