Bug 212458 - Storage test not planned for HP Proliant DL585 with RAID cciss
Summary: Storage test not planned for HP Proliant DL585 with RAID cciss
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: YangKun
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-26 20:43 UTC by Greg Nichols
Modified: 2008-07-16 21:57 UTC (History)
1 user (show)

Fixed In Version: 1.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-02 09:29:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Greg Nichols 2006-10-26 20:43:19 UTC
HTS does not identify that storage tests are needed for an HP585DL G1,
with RAID via ccis.

Comment 1 Greg Nichols 2006-10-27 16:20:06 UTC
Fixed storage test to be planned if a cciss PCI device is found.   The test 
does not run correctly for RAID - See RHR2 test.

Comment 3 YangKun 2006-11-02 09:29:25 UTC
The problem is storage test doesn't find this "cciss" device, fixed it now.
Please see the following details:
-------------------------------------------
<17:29:51 kun@yangkun>$ diff -uNr storage.sh.orig storage.sh
--- storage.sh.orig     2006-11-02 17:28:35.000000000 +0800
+++ storage.sh  2006-11-02 17:29:51.000000000 +0800
@@ -135,7 +135,9 @@

 # find the storage devices     -YangKun
 get_storage_info() {
-    hal-device |  fgrep block.device | awk '{print $3}' | tr -d "'"[0-9] |
colrm 1 5 | sort -u
+    # use another way to find storgae info          # YK
+    /sbin/fdisk -l |  grep Disk | awk '{print $2}' | tr -d ":" | colrm 1 5 |
sort -u
+#    hal-device |  fgrep block.device | awk '{print $3}' | tr -d "'"[0-9] |
colrm 1 5 | sort -u
 }
 STORAGE_DEVICES=`get_storage_info`

@@ -262,7 +264,7 @@
         if [ "$testdev" == "$swapdev" ]; then restore_swap $swapdev; fi

         # remove temp directories      -YangKun
-        rmdir $device.*
+        #rmdir $device.* 2>/dev/null

       fi
     done
<17:29:56 kun@yangkun>$



Note You need to log in before you can comment on or make changes to this bug.