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

"Kumpf, Roger" <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <16F53A6138D7A84D93C3CF09D7291CF064F5999AF0@GVW0442EXB.americas.hpqcorp.net>
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/
=======================================================
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.