Bug 627809

Summary: Xen guests don't have storage device
Product: [Community] Spacewalk Reporter: Colin Coe <colin.coe>
Component: WebUIAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 1.2CC: msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-1.6.63-1 rhn-client-tools-1.6.26-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-22 16:51:36 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:
Bug Depends On:    
Bug Blocks: 723481    

Description Colin Coe 2010-08-27 02:57:13 UTC
Description of problem:
Xen guests don't show storage devices in 'https://172.22.102.223/rhn/systems/details/SystemHardware.do?sid=1000010002'

Version-Release number of selected component (if applicable):
Spacewalk v1.1

How reproducible:
Browse to https://spacewalk.server.com/rhn/systems/details/SystemHardware.do?sid=1000010002 and not absence of storage devices.  Also do a
[coec@sw java]$ echo "select ID, SERVER_ID, CLASS, BUS, DETACHED, DEVICE, DRIVER, DESCRIPTION, PCITYPE from rhnDevice where SERVER_ID = '1000010002' and CLASS = 'HD';" | sqlplus spacewalk/spacewalk@xe

SQL*Plus: Release 10.2.0.4.0 - Production on Fri Aug 27 10:57:59 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL>
no rows selected

SQL> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

Steps to Reproduce:
1. sqlplus spacewalk/spacewalk@xe
2. select ID, SERVER_ID, CLASS, BUS, DETACHED, DEVICE, DRIVER, DESCRIPTION, PCITYPE from rhnDevice where SERVER_ID = '1000010002' and CLASS = 'HD';
  
Actual results:
No rows returned.

Expected results:
For the above server, at least one row should be returned.

Additional info:
RHEL 5.5 PV guest on RHEL 5.4 Xen host.

Comment 1 Jan Pazdziora (Red Hat) 2010-10-27 08:32:50 UTC
Mass-aligning under space12, so that we don't lose track of this bugzilla. This however does not mean that we plan (will be able to) address this bug in Spacewalk 1.2.

Comment 2 Jan Pazdziora (Red Hat) 2010-11-19 16:06:01 UTC
Mass-moving to space13.

Comment 3 Miroslav Suchý 2011-04-11 07:34:33 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 4 Miroslav Suchý 2011-04-11 07:37:36 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 5 Jan Pazdziora (Red Hat) 2011-07-20 11:53:20 UTC
Aligning under space16.

Comment 6 Miroslav Suchý 2011-10-21 12:00:35 UTC
commits:
a20dd4c8f3541eed04eb2e6a711ff1e690ffc715
f5148d606f46e2fcbdfc740a79b94b2e7cd3ca68

Comment 7 Miroslav Suchý 2011-10-21 13:53:47 UTC
Note: this does not affect RHEL6, there is hardware information retrieved using gudev, and it is retrieved correctly.

Comment 8 Milan Zázrivec 2011-12-22 16:51:36 UTC
Spacewalk 1.6 has been released.