Bug 782197

Summary: FEAT: v7 should support dbus udisks in place of hal/kudzu/hardware.py for storage test
Product: [Retired] Red Hat Hardware Certification Program Reporter: Rob Landry <rlandry>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.5CC: czhang, gbai, rlandry, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://fedorahosted.org/v7/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A new feature has been added in v7 1.5 that v7 now supports dbus udisks in `storage` test.
Story Points: ---
Clone Of:
: 811565 (view as bug list) Environment:
Last Closed: 2012-06-05 21:37: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:
Bug Depends On:    
Bug Blocks: 773715, 811565    
Attachments:
Description Flags
new DBusDevice classes for devices discovered via dbus & udisks
none
device.py patch generalizing UDI for devices to include dbus devices
none
tags.py patch to add "udisks" keywords
none
New UDisksDeviceDetector class for discovery of UDisks devices
none
planner.py patch to call the new UDisksDeviceDetector
none
storage test patch to use udisks objects for planning none

Comment 3 Greg Nichols 2012-01-20 15:15:24 UTC
Created attachment 556522 [details]
new DBusDevice classes for devices discovered via dbus & udisks

These new classes define wrappers for dbus objects, with subclasses for specific types of udisks object modelling storage devices, optical disk drives, and storage adapters.

Comment 4 Greg Nichols 2012-01-20 15:17:13 UTC
Created attachment 556525 [details]
device.py patch generalizing UDI for devices to include dbus devices

Comment 5 Greg Nichols 2012-01-20 15:18:50 UTC
Created attachment 556527 [details]
tags.py patch to add "udisks" keywords

Comment 6 Greg Nichols 2012-01-20 15:21:39 UTC
Created attachment 556528 [details]
New UDisksDeviceDetector class for discovery of UDisks devices

The UDisksDeviceDetector uses dbus to discover UDisks devices.

Comment 7 Greg Nichols 2012-01-20 15:23:11 UTC
Created attachment 556529 [details]
planner.py patch to call the new UDisksDeviceDetector

Comment 8 Greg Nichols 2012-01-20 15:28:18 UTC
Created attachment 556530 [details]
storage test patch to use udisks objects for planning

Comment 9 Greg Nichols 2012-01-20 15:30:02 UTC
The above new files and patches are a partial implementation of this feature.  They are all against v7 1.5 R0.   More changes will likely be necessary.

Comment 15 Caspar Zhang 2012-06-04 07:46:46 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
A new feature has been added in v7 1.5 that v7 now supports dbus udisks in `storage` test.

Comment 17 errata-xmlrpc 2012-06-05 21:37:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0711.html