Kaitlin Rupert wrote:
Deepti B Kalakeri wrote:
>
>
> Kaitlin Rupert wrote:
>>> All the above tc failed since the RegisteredProfile ,
>>> ElementConformsToProfile and ReferencedProfile were not registered
>>> in the interop namespace.
>>> I registered the above classes manually by running :
>>> sh provider-register.sh -v -t pegasus -n root/interop -r
>>> schema/RegisteredProfile.registration
>>> schema/ElementConformsToProfile.registration
>>> schema/ReferencedProfile.registration -m schema/ComputerSystem.mof
>>> schema/HostSystem.mof schema/RegisteredProfile.mof
>>> schema/ElementConformsToProfile.mof schema/ReferencedProfile.mof
>>
>> I'd thought this issue was fixed. Did you run a make preinstall
>> before running make install && make postinstall?
> Yes, I did a make preuninstall before the make postinstall.
make preinstall is a different target than make preuninstall. make
preinstall should register the base schema.
Oh thanks, I was not aware of this.
I tried this today. Even after running the make preinstall before make
postinstall did not register the providers successfully.
It's interesting you're not seeing errors regarding the registration
of the interop providers. So it's probably likely that the base
schema is registered properly and you're hitting some other kind of
issue. I'll see if I can reproduce this.
Registering providers with active cimserver
Parsing error: parse error: Error adding an instance: CIM_ERR_FAILED: A
provider is already registered for the specified capability.
make: *** [postinstall] Error 250
I suspect above make postinstall error is not allowing the interop to
get registered properly.
Here is the info on the base registers in the interop namespace.
wbemcli ecn
http://u:p@localhost/root/interop
localhost:5988/root/interop:CIM_RegisteredProfile
localhost:5988/root/interop:CIM_ComputerSystem
localhost:5988/root/interop:CIM_SubProfileRequiresProfile
localhost:5988/root/interop:CIM_Dependency
localhost:5988/root/interop:CIM_EnabledLogicalElement
localhost:5988/root/interop:CIM_ManagedSystemElement
localhost:5988/root/interop:CIM_ReferencedProfile
localhost:5988/root/interop:CIM_LogicalElement
localhost:5988/root/interop:CIM_ElementConformsToProfile
localhost:5988/root/interop:CIM_System
localhost:5988/root/interop:CIM_RegisteredSubProfile
localhost:5988/root/interop:CIM_ManagedElement
Hope this helps.
Thanks and Regards,
Deepti.