On 09/23/2013 09:40 AM, sunil kumar wrote:
hi!.
i am getting following error while register openlmi-networking.
[root@node5 openlmi-networking]# make register-Networking
2013-09-23 03:03:53 STARTING /usr/bin/openlmi-mof-register-v 0.1.1
register /home/sunil/openlmi-networking/mof/60_LMI_Networking.mof
/home/sunil/openlmi-networking/src/60_LMI_Networking.reg
2013-09-23 03:03:53 COMMAND: /usr/bin/sfcbstage -n root/cimv2 -r
/home/sunil/openlmi-networking/src/60_LMI_Networking.reg
/home/sunil/openlmi-networking/mof/60_LMI_Networking.mof
2013-09-23 03:03:53 EXIT CODE: 0
2013-09-23 03:03:53 COMMAND: /usr/bin/sfcbrepos -f
error in /var/lib/sfcb/stage/mofs/root/cimv2/60_LMI_Networking.mof line
7 near true: Implemented is not a known qualifier
error in /var/lib/sfcb/stage/mofs/root/cimv2/60_LMI_Networking.mof line
10 near true: Implemented is not a known qualifier
.. removed lot of sfcb errors ...
Failed compiling the MOF files.
2013-09-23 03:03:54 EXIT CODE:
This indicates that openlmi-providers mof files were not installed
correctly. I'm afraid that you have to install at least one provider
from openlmi-providers, let's say Fan (it's the smallest one) to
register 'Implemented' keyword. Alternatively, if you are not interested
in sfcb, uninstall it and focus on Pegasus.
2013-09-23 03:03:54 COMMAND: /usr/bin/systemctl
reload-or-try-restart
sblim-sfcb.service
2013-09-23 03:03:54 EXIT CODE: 0
2013-09-23 03:03:54 COMMAND: /usr/bin/cimmof -aEV -n root/cimv2 -uc
/home/sunil/openlmi-networking/mof/60_LMI_Networking.mof
2013-09-23 03:03:57 EXIT CODE: 0
2013-09-23 03:03:57 COMMAND: cat
"/home/sunil/openlmi-networking/src/60_LMI_Networking.reg" |
/usr/libexec/openlmi-register-pegasus -v "0.1.1" | /usr/bin/cimmof -aEV
-n root/cimv2 -uc -n root/interop
Compiler general exception: parse error: Error getting class
PG_ProviderModule from namespace root/interop: CIM_ERR_NOT_FOUND:
PG_ProviderModule
That's again root/interop vs root/PG_interop I covered in previous
email. You must manually edit /usr/bin/openlmi-mof-register + your git
clone and replace it:
(in openlmi-providers/build directory)
sed -i 's!root/interop!root/PG_interop!g' /usr/bin/openlmi-mof-register
sed -i 's!root/interop!root/PG_interop!g' ../openlmi-mof-register
I hope it helps.
Jan