Bug 997379 - Wrong MOF files ordering
Summary: Wrong MOF files ordering
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: openlmi-providers
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Radek Novacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-15 10:53 UTC by Tomas Smetana
Modified: 2016-12-01 00:31 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-15 11:44:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas Smetana 2013-08-15 10:53:02 UTC
Description of problem:
There are two MOFs being shipped with the openlmi-providers package:

05_LMI_Qualifiers.mof
30_LMI_Jobs.mof

The numbering prefix suggests the LMI_Qualifiers should be registered before the LMI_Jobs, however the reverse order is correct.

Version-Release number of selected component (if applicable):
penlmi-providers-0.1.1-1.fc20.x86_64

How reproducible:
Always

Steps to Reproduce:
Try to register the MOF files byt their number prefix to a newly installed CIMOM (sblim-sfcb in my case):

1. sfcbstage -n root/cimv2 /usr/share/openlmi-providers/05_LMI_Qualifiers.mof
2. sfcbrepos -f

Actual results:

error in /var/lib/sfcb/stage/mofs/indication.mof line 34 near CIM_System: class LMI_ConcreteJob was referenced but never defined.
error in /var/lib/sfcb/stage/mofs/indication.mof line 34 near CIM_System: class LMI_OwningJobElement was referenced but never defined.
error in /var/lib/sfcb/stage/mofs/indication.mof line 34 near CIM_System: class LMI_OwningNetworkJobElement cannot be association, since parent LMI_OwningJobElement is none
error in /var/lib/sfcb/stage/mofs/indication.mof line 34 near CIM_System: class LMI_AffectedJobElement was referenced but never defined.
error in /var/lib/sfcb/stage/mofs/indication.mof line 34 near CIM_System: class LMI_AffectedNetworkJobElement cannot be association, since parent LMI_AffectedJobElement is none
Failed compiling the MOF files

Expected results:
The MOFs get registered cleanly

Comment 1 Radek Novacek 2013-08-15 11:05:23 UTC
The 05_LMI_Qualifiers.mof file doesn't contain anything that is specified in the 30_LMI_Jobs.mof. Contrary, 30_LMI_Jobs.mof uses Implemented qualifier that is defined in the 05_LMI_Qualifiers.mof.

The ordering of these two files is correct.

The error is caused by something else, probably some error in registration to sfcbd.

Comment 2 Tomas Smetana 2013-08-15 11:30:27 UTC
Might be. However registering the two in reverse order worked OK for me... I'll take a closer look.

Comment 3 Tomas Smetana 2013-08-15 11:44:03 UTC
The buggy one is the reporter... There was and old /var/lib/sfcb directory containing various remains of random stuff prior the sblim-sfcb installation which got mixed with the new registration.


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