Sunil,
please keep cc: to the openlmi-devel mainling list so the answer is
archived and can be searched (and indexed by google).
Looking at current state of our registration scripts, it's not possible
to change the interop namespace name. You must manually change
'root/interop' to 'root/PG_interop' both in
/usr/bin/openlmi-mof-register and in your git clone:
(in openlmi-providers/build dirrectory)
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
After that, 'make register-Fan' works for me on my Fedora19. Don't
forget to run it as root!:
sudo make register-Fan
There is new registration script being developed, which should
autodetect interop namespace properly, see openlmi-mof-register.py, so
it should get better in future.
Jan
On 09/23/2013 11:53 AM, sunil kumar wrote:
> i are trying from fedora 19 and current kernel is 3.11. i am trying from
> current git. i am not getting how to change the namespace.
>
> Thank you.
> Sunil kumar j
>
>
> On Mon, Sep 23, 2013 at 2:05 AM, Jan Safranek <jsafrane(a)redhat.com
> <mailto:jsafrane@redhat.com>> wrote:
>
> On 09/21/2013 07:52 PM, sunil kumar wrote:
> > while register openlmi-provider.
> >
> > i changed the namespace..
> >
> > export PEGASUS_INTEROP_NAMESPACE=root/PG_InterOp
> >
> > i am getting the same error..
> >
> > #make register-Fan
> > 2013-09-21 13:47:26 EXIT CODE: 1
> > 2013-09-21 13:47:26 COMMAND: /usr/bin/systemctl reload-or-try-restart
> > sblim-sfcb.service
> > 2013-09-21 13:47:26 EXIT CODE: 0
> > 2013-09-21 13:47:26 COMMAND: /usr/bin/cimmof -aEV -n root/cimv2 -uc
> > /home/sunil/openlmi-providers/mof/60_LMI_Fan.mof
> > 2013-09-21 13:47:27 EXIT CODE: 0
> > 2013-09-21 13:47:27 COMMAND: cat
> > "/home/sunil/openlmi-providers/build/src/fan/60_LMI_Fan.reg" |
> > ../../../openlmi-register-pegasus -v "0.2.0" | /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
> > 2013-09-21 13:47:27 EXIT CODE: 248
> > 2013-09-21 13:47:27 DONE WITH EXIT CODE: 0
> > Built target register-Fan
> >
> > i changed Namespaace. again i getting the same error. is my
> procedure is
> > correct.
>
> Just to be sure, what Linux distro are you using? I'm familiar with
> Fedora and we changed Pegasus' interop namespace name from
> 'root/PG_interop' (Fedora19) to 'root/interop' (Fedora20).
>
> Are you trying to compile current git or openlmi-providers > 0.0.25 on
> Fedora 19? (It should work and it's a bug if not, I'm just asking where
> to start.)
>
> Jan
>
>