Bug 807714

Summary: v7 1.5 R12 requires udisks package not in RHEL5
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Petr Beňas <pbenas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.5CC: czhang, pbenas, pstehlik, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
no tech note needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-05 21:37:20 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: 767775    
Attachments:
Description Flags
hardwaretest patch to pass product information into device planning
none
planner patch to only use udisks on RHEL 6 and beyond, and all other products none

Description Greg Nichols 2012-03-28 14:39:41 UTC
Description of problem:

v7 1.5 introduces udisks as a HAL replacement.   There is no udisks package in RHEL5

Version-Release number of selected component (if applicable):

v7 1.5

Comment 1 Greg Nichols 2012-03-28 14:42:37 UTC
If installed ignoring dependancies on udisks, the follow traceback occurs:

[root@dell-pe1950-02 ~]# v7 plan --server gnichols.usersys.redhat.com
found interface for udisks
Introspect error: The name org.freedesktop.UDisks was not provided by any .service files
Traceback (most recent call last):
  File "/usr/bin/v7", line 45, in ?
    success = v7.do(args)
  File "/usr/share/v7/lib/v7/hardwaretest.py", line 194, in do
    result = self.commands[self.command]()
  File "/usr/share/v7/lib/v7/hardwaretest.py", line 323, in doPlan
    tests = self.planner.plan() 
  File "/usr/share/v7/lib/v7/planner.py", line 114, in plan
    self.__loadDevices()
  File "/usr/share/v7/lib/v7/planner.py", line 129, in __loadDevices
    self.devices.extend(udisks.getDevices())
  File "/usr/share/v7/lib/v7/udisksDeviceDetector.py", line 49, in getDevices
    for devicePath in self.interface.EnumerateDevices():
  File "/usr/lib64/python2.4/site-packages/dbus/proxies.py", line 25, in __call__
    ret = self._proxy_method (*args, **keywords)
  File "/usr/lib64/python2.4/site-packages/dbus/proxies.py", line 102, in __call__
    reply_message = self._connection.send_with_reply_and_block(message, timeout)
  File "dbus_bindings.pyx", line 455, in dbus_bindings.Connection.send_with_reply_and_block
dbus_bindings.DBusException: The name org.freedesktop.UDisks was not provided by any .service files

Comment 5 Petr Beňas 2012-04-02 09:13:15 UTC
Reproduced in v7-1.5-12.el5.noarch and verified in v7-1.5-13.el5.noarch.

Comment 6 Rob Landry 2012-04-02 15:14:29 UTC
Could the code be updated to not list out the introspect error?  It seems like maybe the udisk detection is returning true and then failing.

Comment 11 Greg Nichols 2012-04-02 19:45:01 UTC
Created attachment 574608 [details]
hardwaretest patch to pass product information into device planning

Comment 12 Greg Nichols 2012-04-02 19:46:26 UTC
Created attachment 574609 [details]
planner patch to only use udisks on RHEL 6 and beyond, and all other products

Comment 15 Petr Beňas 2012-04-03 08:26:25 UTC
Additional fixes verified in R14.

Comment 16 Caspar Zhang 2012-06-04 07:59:40 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:
no tech note needed.

Comment 18 errata-xmlrpc 2012-06-05 21:37:20 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