Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1086328

Summary: Unable to manually add iscsi storage testcases to cert plan and they are not added automatically by kit.
Product: [Retired] Red Hat Hardware Certification Program Reporter: HP Enterprise Cert team <redhat_cert>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED EOL QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.5.10CC: redhat_cert, rlandry
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: 2020-03-27 15:37:16 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:
Attachments:
Description Flags
sos report
none
fdisk output showing dev/sda
none
hwcert version
none
results of manual add tried different ways
none
patch importing UdevDevice none

Description HP Enterprise Cert team 2014-04-10 15:35:09 UTC
Created attachment 885005 [details]
sos report

Description of problem:  Testkit will not automatically add fdisk detected iscsi lun.  When I attempt to add it manually, the kit throws and error.  


Version-Release number of selected component (if applicable):
Redhat 5.9 x64 | 1.5.10 release 2

How reproducible:
Every time

Steps to Reproduce:
1.  Add iscsi lun to system.  Confirm drive is seen by fdisk. 
2.  Run hwcert.  Lun will not be added to testplan.
3.  Run hwcert-backend plan --test storage --device dev/sda or /dev/sda or --test=storage --device=/dev/sda | dev/sda | sda

Actual results:
Fails to add to plan.

Expected results:
Fdisk detected lun should be added to plan.  

Additional info:

Comment 1 HP Enterprise Cert team 2014-04-10 15:35:36 UTC
Created attachment 885006 [details]
fdisk output showing dev/sda

Comment 2 HP Enterprise Cert team 2014-04-10 15:35:56 UTC
Created attachment 885008 [details]
hwcert version

Comment 3 HP Enterprise Cert team 2014-04-10 15:36:25 UTC
Created attachment 885009 [details]
results of manual add tried different ways

Comment 4 Greg Nichols 2014-04-10 15:43:57 UTC
Traceback: 

Warning: unknown device: dev/sda 
Traceback (most recent call last):
  File "/usr/bin/hwcert-backend", line 45, in ?
    success = hwcertBackend.do(args)
  File "/usr/share/hwcert/lib/hwcert/backend.py", line 182, in do
    result = self.commands[self.command]()
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 164, in doPlan
    self.addTest()
  File "/usr/share/hwcert/lib/hwcert/harness.py", line 1058, in addTest
    device = UdevDevice(dict())
NameError: global name 'UdevDevice' is not defined

Comment 5 Greg Nichols 2014-04-10 15:47:35 UTC
Created attachment 885012 [details]
patch importing UdevDevice

Comment 6 Greg Nichols 2014-04-10 17:36:49 UTC
Please try the patch.

Thanks!

Comment 7 Mike McCune 2016-03-28 22:39:30 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 8 Red Hat Bugzilla 2023-09-14 02:06:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days