Bug 467061

Summary: FEAT: HTS options for data files should be removed (--data, --config --plan --results)
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Lawrence Lim <llim>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: rlandry, tools-bugs, tyan, ykun
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: 2009-01-27 22:58:01 UTC Type: ---
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
new environment.py for the Environment class
none
Example /etc/hts.xml file
none
Example /etc/hts.xml file
none
hardwaretest.py patch removing options and adding use of Environment
none
network.py patch to use Environment for server commands none

Description Greg Nichols 2008-10-15 14:50:01 UTC
Description of problem:

Command line options for renaming/relocating data directories and files
should be removed as general options.  These options aren't useful, and
can cause confusion.

These options include --data, --config, --plan, --results.

Other changes in HTS's commands will allow management of multiple 
results sets, so these options won't be needed for this purpose.

Comment 1 Greg Nichols 2008-10-16 01:33:33 UTC
Created attachment 320504 [details]
new environment.py for the Environment class


This patch adds a new class Environment to the HTS library.  This class
provides access to the locations and nameing of important directories 
and files.   These attributes are stored in an XML file /etc/hts.xml

Comment 2 Greg Nichols 2008-10-16 01:34:34 UTC
Created attachment 320505 [details]
Example /etc/hts.xml file

Comment 3 Greg Nichols 2008-10-16 01:36:13 UTC
Created attachment 320506 [details]
Example /etc/hts.xml file

Comment 4 Greg Nichols 2008-10-16 01:37:54 UTC
Created attachment 320507 [details]
hardwaretest.py patch removing options and adding use of Environment

Comment 5 Greg Nichols 2008-10-16 01:38:59 UTC
Created attachment 320508 [details]
network.py patch to use Environment for server commands

Comment 7 Yan Tian 2009-01-02 03:32:38 UTC
Verified '-d DATA', '-c CFG', '-p PLAN', '-r RESULTS' were no included in hts-5.3-12.

Comment 9 errata-xmlrpc 2009-01-27 22:58:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-0047.html