Bug 751067 - missing CIM_Interop
Summary: missing CIM_Interop
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: tog-pegasus
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Vitezslav Crhonek
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-03 12:37 UTC by Karel Volný
Modified: 2017-12-06 11:17 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 11:17:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Karel Volný 2011-11-03 12:37:21 UTC
Description of problem:
The latest tog-pegasus update drops functionality which is needed for the fix of bug #713174.

Version-Release number of selected component (if applicable):
tog-pegasus-2.11.0-2.el6

How reproducible:
always

Steps to Reproduce:
1. rpm -ql tog-pegasus | grep CIM_Interop.mof ; echo $?
  
Actual results:
1

Expected results:
/usr/share/Pegasus/mof/CIM29/CIM_Interop.mof
0

Additional info:
sblim-gather-provider registers metrics profile like:

/usr/share/sblim-gather/provider-register.sh -t pegasus -n root/interop -r /usr/share/sblim-gather/Linux_MetricProfile.registration -m /usr/share/sblim-gather/Linux_MetricProfile.mof

with the new tog-pegasus it fails:

Parsing error: parse error: Error adding class Linux_MetricRegisteredProfile to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_RegisteredProfile

while the class CIM_RegisteredProfile should be provided via CIM_Interop which was included within tog-pegasus package until the version 2.9.1-5.el6

.qa.[root@x86-64-6s-m1 tps]# rpm -q tog-pegasus
tog-pegasus-2.9.1-5.el6.x86_64
.qa.[root@x86-64-6s-m1 tps]# rpm -ql tog-pegasus | grep CIM_Interop.mof ; echo $?
/usr/share/Pegasus/mof/CIM29/CIM_Interop.mof
0

.qa.[root@x86-64-6s-m1 tps]# rpm -q tog-pegasus
tog-pegasus-2.11.0-2.el6.x86_64
.qa.[root@x86-64-6s-m1 tps]# rpm -ql tog-pegasus | grep CIM_Interop.mof ; echo $?
1

Comment 1 Vitezslav Crhonek 2011-11-03 15:26:39 UTC
The root/interop namespace wasn't available even in previous version of OpenPegasus too:

[root@tyan-gt24-12 ~]# rpm -q tog-pegasus
tog-pegasus-2.9.1-5.el6.x86_64
[root@tyan-gt24-12 ~]# wbemcli ei -nl myCimom/root/interop:CIM_ManagedElement
*
* wbemcli: Cim: (3) CIM_ERR_INVALID_NAMESPACE: root/interop
*
[root@tyan-gt24-12 ~]# ls /var/lib/Pegasus/repository/
root  root#cimv2  root#PG_Internal  root#PG_InterOp

Also registration fails with previous version:
[root@tyan-gt24-12 ~]# /usr/share/sblim-gather/provider-register.sh -t pegasus -n root/interop -r /usr/share/sblim-gather/Linux_MetricProfile.registration -m /usr/share/sblim-gather/Linux_MetricProfile.mof
Parsing error: parse error: Error adding class Linux_MetricRegisteredProfile to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_RegisteredProfile

Currently OpenPegasus ueses root/PG_InterOp instead root/interop. Upstream is solving it:
http://www.openpegasus.org/pp/uploads/40/24686/PEP304_NamespaceRenaming.htm

Comment 2 Karel Volný 2011-11-04 11:01:23 UTC
(In reply to comment #1)
> The root/interop namespace wasn't available even in previous version of
> OpenPegasus too:

hm, now that it strange, as the same version behaves different to me:

the new version does not know that class at all:

.qa.[root@s390x-6s-v1 tps]# rpm -q tog-pegasus
tog-pegasus-2.11.0-2.el6.s390x
.qa.[root@s390x-6s-v1 tps]# /usr/share/sblim-gather/provider-register.sh -t pegasus -n root/interop -r /usr/share/sblim-gather/Linux_MetricProfile.registration -m /usr/share/sblim-gather/Linux_MetricProfile.mof                                                                                                                            
Parsing error: parse error: Error adding class Linux_MetricRegisteredProfile to the repository: CIM_ERR_INVALID_SUPERCLASS: CIM_RegisteredProfile                      


but the old version does not report invalid class in my case, it reports different error:

.live.[root@s390x-6s-v1 tps]# rpm -q tog-pegasus
tog-pegasus-2.9.1-5.el6.s390x
.live.[root@s390x-6s-v1 tps]# /usr/share/sblim-gather/provider-register.sh -t pegasus -n root/interop -r /usr/share/sblim-gather/Linux_MetricProfile.registration -m /usr/share/sblim-gather/Linux_MetricProfile.mof
Warning: Use of cimmofl can corrupt the CIM Server Repository.
         cimmofl should only be used under very controlled situations.
         cimmof is the recommended OpenPegasus MOF compiler.

Error trying to create Repository in path /var/lib/Pegasus//repository: cannot create directory: /var/lib/Pegasus//repository
Failed to set DefaultNamespacePath.



... however, this doesn't change anything regarding the fact that the registration fails in both cases; I have been confused by testing of bug #713174, as the test passed successfully, but I'm really not sure which way the registration was done, as cimserver is provided also by sblim-sfcb, not just tog-pegasus

so, removing bug #713174 from blocked bugs and removing the Regression keyword, sorry for confusion

> Currently OpenPegasus ueses root/PG_InterOp instead root/interop. Upstream is
> solving it:
> http://www.openpegasus.org/pp/uploads/40/24686/PEP304_NamespaceRenaming.htm

seems like it should be solved via aliases in 2.12.0

moving to RHEL 6.3 then, as we are likely to rebase again, and there is no regression in RHEL 6.2 (see above, what was broken stays broken, just in another way ...)

Comment 4 Suzanne Logcher 2012-02-14 23:19:34 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 5 Jan Kurik 2017-12-06 11:17:50 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


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