Bug 123794

Summary: RFE: additional documentation in hardware.conf for s390/s390x
Product: [Retired] Red Hat Ready Certification Tests Reporter: Brock Organ <borgan>
Component: rhr2-testsAssignee: Rob Landry <rlandry>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: s390   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-29 15:46:32 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
sample hardware.conf with included s390/s390x documentation none

Description Brock Organ 2004-05-20 16:04:14 UTC
* RHEL3 U2 s390-as
* rhr certification testing
* using rhr2-tests-0.9-14.2, rhr2-externals-0.9-14.2, rhr2-0.9-14.2
* crafting hardware.conf script for s390/s390x

when generating the hardware.conf file on s390/s390x, it would be very
useful to include testing samples for the following configurations:

* qdio
* ctc
* hipersockets
* dasd
* SCSI w/zfcp
* tape 

please see attached hardware.conf file for documentation that includes
the above items ...

Comment 1 Brock Organ 2004-05-20 16:10:16 UTC
Created attachment 100380 [details]
sample hardware.conf with included s390/s390x documentation

Comment 2 Rob Landry 2004-05-21 16:36:28 UTC
The alternative is if we can find any particular way to determine if
these are available, dmesg, ifconfig -a, /proc/scsi/scsi etc.  we
could add them to discovery instead.

Comment 3 Brock Organ 2004-05-26 16:55:32 UTC
For the network devices, this awk scriptlet should list the available
devices:

$ awk ' /Initialised Devices/,/Total device memory usage/ '
/proc/chandev | awk ' (NF==14)&&($1 !~ /irq/) { print $10;}'
eth0
eth1
ctc0
hsi2
$

please add this to discovery phase, then network devices should be
automatically detected ... an /etc/sysconfig/network-scripts/ifcfg-*
entry for each interface will  still be needed in advance of testing ...

Comment 4 Rob Landry 2004-05-26 16:59:22 UTC
any chance redhat-config-network can at least create those without
requireing the user to type them in by hand.  In theory it should work
even if it doesn't know about these "fancy" devices.

Comment 5 Brock Organ 2004-05-26 19:33:38 UTC
redhat-config-network is not able to create these devices (billgo has
already filed bug) ... this won't be corrected until U3 (at least) and
so won't help us for U2 validation ...

Comment 6 Rob Landry 2004-05-26 20:38:34 UTC
ah; oh well

Comment 7 Rob Landry 2004-05-28 16:09:38 UTC
Adding the dasd and scsi scriptlets

$ awk '/active at blocksize/ { print $7; } '  /proc/dasd/devices
<borgan> this snippet will get you your dasd list

<borgan> $ dmesg | awk ' /SCSI device/ { print $3;} ' | awk ' BEGIN
{FS=":";} { print $1; } '
<borgan> this should get you scsi disk

Comment 8 Rob Landry 2004-07-21 15:05:20 UTC
Should be resolved in 0.9-14.2 or higher