RES: CIM_ERR_NOT_SUPPORTED in enumerate instances of class without instances/providers

"Bruno Pospichil" <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
Roger and Kirk,

 

Thanks for your help.

 

Bruno Pospichil         <mailto:[email protected]>
[email protected]      +55 51 3220 3214
=======================================================
Tools & Technologies - T&T
The Software Development Expert

Rua Riachuelo, 1098 Conj. 1204
Centro - Porto Alegre - CEP 90010-272
Fone: +55 51 3220 3220
http://www.tet.com.br/
=======================================================

  _____  

De: Kirk Augustin [mailto:[email protected]] 
Enviada em: quinta-feira, 21 de janeiro de 2010 22:45
Para: Kumpf, Roger; Bruno Pospichil; [email protected]
Assunto: Re: CIM_ERR_NOT_SUPPORTED in enumerate instances of class without
instances/providers

 

I agree.

Windows has default providers so that Windows Managed Instrumentation can do
Plug'N'Play and use the registery.

But Linux does not have such default providers.

The same underlying SMBIOS exists in the firmwear, but the information is
not as easily exposed as it is in Windows with WMI Mapper.

 

  _____  

From: "Kumpf, Roger" <[email protected]>
To: Bruno Pospichil <[email protected]>;
"[email protected]" <[email protected]>
Sent: Thu, January 21, 2010 4:33:29 PM
Subject: RE: CIM_ERR_NOT_SUPPORTED in enumerate instances of class without
instances/providers

Bruno,

I suspect the difference is the setting of the
repositoryIsDefaultInstanceProvider config property.  The reason the Windows
system is not returning the exception is because the repository is being
considered a provider registered by default (and it is return 0 instances).

If consistency is what you're after, my recommendation would be to change
the configuration on the Windows system so the behavior matches the Linux
system.  The difference between "no providers registered" and "no instances
exist" can be significant.

-Roger

-----Original Message-----
From: Bruno Pospichil [mailto:[email protected]]
Sent: Thursday, January 21, 2010 12:20 PM
To: [email protected]
Subject: CIM_ERR_NOT_SUPPORTED in enumerate instances of class without
instances/providers

Hi,

I'm trying to enumerate instances of a class without instances and not
assigned to a provider, in Windows XP no errors and no instances are shown,
in Linux (SLES10), the following error appears: CIM_ERR_NOT_SUPPORTED

For example (in Linux):
cdm-sles10:~ # cimcli -n root/cimv2 ei CIM_LogicalDevice
cimcli CIMException:  Cmd= ei Object= CIM_LogicalDevice
CIM_ERR_NOT_SUPPORTED

In the Linux version, I just downloaded the source rpm and ran the rpmbuild
(like mentioned in OpenPegasus Release RPMs for Linux page).
In Windows I just set the environment vars related with the source dir and
enabled CMPI provider manager.

I'm using OpenPegasus 2.7.1-1.

What's the correct way to make OpenPegasus has the Windows behavior in
Linux? Is there some config for cimserver or should I create a provider
assigned to the classes?

Thanks.

Bruno Pospichil        [email protected]      +55 51 3220 3214
=======================================================
Tools & Technologies - T&T
The Software Development Expert

Rua Riachuelo, 1098 Conj. 1204
Centro - Porto Alegre - CEP 90010-272
Fone: +55 51 3220 3220
http://www.tet.com.br/
=======================================================



__________ NOD32 4797 (20100122) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.