/opt/omi/lib
root@omi64-cent7-01 # _/opt/omi/bin/omireg --Python TestClass_AllDMTFArrays_
Created /etc/opt/omi/conf/omiregister/root-cimv2/TestClass_AllDMTFArrays.reg
/opt/omi/bin/omiserver: refreshed server
Run ei
/opt/omi/lib
root@omi64-cent7-01 # /opt/omi/bin/omicli ei root/cimv2 TestClass_AllDMTFArrays
/opt/omi/bin/omicli: result: MI_RESULT_FAILED
/opt/omi/bin/omicli: result: A general error occurred, not covered by a more specific error code.
instance of OMI_Error
{
OwningEntity=OMI:CIMOM
MessageID=OMI:MI_Result:1
Message=A general error occurred, not covered by a more specific error code.
MessageArguments={}
PerceivedSeverity=7
ProbableCause=0
ProbableCauseDescription=Unknown
CIMStatusCode=1
OMI_Code=1
OMI_Category=0
OMI_Type=MI
OMI_ErrorMessage=A general error occurred, not covered by a more specific error code.
}
NOTE: If you try to set as following, it will work fine.
mof file with string:
class TestClass_AllDMTFArrays
{
[key] uint64 v_Key;
String a_string;
};
Build:
Reproduce steps:
NOTE: If you try to set as following, it will work fine.
modify mi_main.py file:
Run ei