Bug 816077

Summary: v7 does not check v7.xml version
Product: [Retired] Red Hat Hardware Certification Program Reporter: Guangze Bai <gbai>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED NOTABUG QA Contact: Guangze Bai <gbai>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.5CC: czhang, rlandry, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-25 12:59:58 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:

Description Guangze Bai 2012-04-25 08:23:06 UTC
Description of problem:

Current v7 won't check the version of /etc/v7.xml, so if upgrade v7 from an old release, e.g. from 1.4 to 1.5, the old v7.xml still there.

# rpm -q v7
v7-1.5-21.el6.noarch

# yes y | v7 clean all
# v7 plan
...

# cat /etc/v7.xml
<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/v7/css/env.css" type="text/css"?>
<v7-environment v7-version='1.4' v7-release='38'>
...
</v7-environment>
 
Version-Release number of selected component (if applicable):
v7-1.5-21

How reproducible:
always

Expected results:
/etc/v7.xml get sync-ed matching the current v7 version

Comment 1 Greg Nichols 2012-04-25 12:59:58 UTC
This is intentional, as it preserves configuration settings across upgrades.

Comment 2 Rob Landry 2012-04-25 14:53:47 UTC
For a later release should we consider submitting the results and refreshing, retaining the applicable settings but updating to 1.6?  After a 1.4->1.5 upgrade there will be updates to the xml which are unique to 1.5 so it's not 100% accurate to call it 1.4 anymore especially if any tests are run.

Comment 3 Greg Nichols 2012-04-25 15:49:41 UTC
For clarification:

The version reported by "v7 version" does not come from this file.  Also the results will be marked with the installed version, not that shown in /etc/v7.xml.

The version that appears in /etc/v7.xml is just the version that created the file.