Bug 1023048

Summary: Upgrade from ovirt-engine-3.3 to master fails
Product: Red Hat Enterprise Virtualization Manager Reporter: Eli Mesika <emesika>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED UPSTREAM QA Contact: Jiri Belka <jbelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aberezin, acathrow, bazulay, iheim, lpeer, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-18 13:19:54 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:

Description Eli Mesika 2013-10-24 13:48:16 UTC
Description of problem:
Upgrade from ovirt-engine-3.3 to master fails

Creating views...
psql:create_views.sql:597: ERROR:  column vm_dynamic.cpu_name does not exist
LINE 30: ...ce as is_run_once, vm_dynamic.vm_fqdn as vm_fqdn, vm_dynamic...

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


How reproducible:


Steps to Reproduce:
1. create an empty database 
2. run create_schema.sh on ovirt-engine-3.3 branch
3. switch to master
4. run upgrade.sh 

Actual results:
psql:create_views.sql:597: ERROR:  column vm_dynamic.cpu_name does not exist
LINE 30: ...ce as is_run_once, vm_dynamic.vm_fqdn as vm_fqdn, vm_dynamic...

Expected results:
Upgrade succeeded 

Additional info:

Comment 1 Eli Mesika 2013-10-24 14:26:09 UTC
This bug is a result of two errors 

1) naming new upgrade scripts in master branch with 03_03 prefix
2) naming new upgrade scripts in ovirt-engine-3.3 stable branch with 03_04

Comment 2 Eli Mesika 2013-11-06 09:47:43 UTC
(In reply to Eli Mesika from comment #1)
> This bug is a result of two errors 
> 
> 1) naming new upgrade scripts in master branch with 03_03 prefix
> 2) naming new upgrade scripts in ovirt-engine-3.3 stable branch with 03_04

2) was a result of a corrupted git branch , problem was solved in master