Bug 1069320 - lmi hwinfo fails with no such class "LMI_DiskDrive" in "root/cimv2" namespace
Summary: lmi hwinfo fails with no such class "LMI_DiskDrive" in "root/cimv2" namespace
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: openlmi-scripts
Version: 20
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Michal Minar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-24 17:43 UTC by Russell Doty
Modified: 2014-03-15 15:14 UTC (History)
2 users (show)

Fixed In Version: openlmi-scripts-0.2.7-7.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-15 15:14:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Russell Doty 2014-02-24 17:43:59 UTC
Description of problem:

Command "lmi hwinfo storage" fails with error: no such class "LMI_DiskDrive" in "root/cimv2" namespace. Other hwinfo commands, including system, cpu, motherboard and memory work correctly.

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

openlmi-scripts-0.2.7-0.fc20.noarch 
openlmi-scripts-hardware-0.0.3-0.fc20.noarch 

How reproducible:

Every time.


Expected results:


Additional info:

Comment 1 Russell Doty 2014-02-24 22:15:34 UTC
Update: the original report may have been due to installing the scripts using 'koji download-build openlmi-scripts-0.2.7-0.fc20'

I later installed the new scripts on a different system using the command 'yum update openlmi-scripts --enablerepo=updates-testing'. The hwinfo command works on this system with no problems. There is no storage information provided by the hwinfo - is inclusion of storage information in hwinfo a work in progress?

In any case, this bug can be updated to WORKSFORME.

Comment 2 Fedora Update System 2014-02-25 08:51:33 UTC
openlmi-scripts-0.2.7-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/openlmi-scripts-0.2.7-1.fc20

Comment 3 Fedora Update System 2014-02-25 10:04:17 UTC
openlmi-scripts-0.2.7-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/openlmi-scripts-0.2.7-2.fc20

Comment 4 Stephen Gallagher 2014-02-25 13:10:15 UTC
(In reply to Russell Doty from comment #1)
> Update: the original report may have been due to installing the scripts
> using 'koji download-build openlmi-scripts-0.2.7-0.fc20'
> 
> I later installed the new scripts on a different system using the command
> 'yum update openlmi-scripts --enablerepo=updates-testing'. The hwinfo
> command works on this system with no problems. There is no storage
> information provided by the hwinfo - is inclusion of storage information in
> hwinfo a work in progress?
> 
> In any case, this bug can be updated to WORKSFORME.

No, it's not. The openlmi-scripts-0.2.7 package wasn't in updates-testing yet. We knew it worked on the older version of the scripts, that's why this is a regression.

It's still broken for me with openlmi-scripts-0.2.7-2.fc20:

[sgallagh@sgallagh520:koji]$ rpm -q openlmi-scripts-hardware
openlmi-scripts-hardware-0.0.3-2.fc20.noarch
[sgallagh@sgallagh520:koji]$ sudo lmi hwinfo disks
error   : no such class "LMI_DiskDrive" in "root/cimv2" namespace

Comment 5 Michal Minar 2014-02-26 09:38:43 UTC
You're right. openlmi-scripts-0.2.7-2.fc20 fixed the issue just partially. My reproducer failed to exhibit this error with older openlmi-tools I was using. openlmi-scripts-0.2.7-4.fc20 should have the final solution to this problem.

Comment 6 Fedora Update System 2014-02-26 14:06:48 UTC
Package openlmi-scripts-0.2.7-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing openlmi-scripts-0.2.7-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3145/openlmi-scripts-0.2.7-4.fc20
then log in and leave karma (feedback).

Comment 7 Russell Doty 2014-03-03 18:38:00 UTC
Installed openlmi-scripts from RHEL 7 EPEL. HWinfo works.

Installed openlmi-scripts from Fedora 20 updates-testing repository. HWinfo works.

Comment 8 Fedora Update System 2014-03-15 15:14:38 UTC
openlmi-scripts-0.2.7-7.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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