Hi Jean,

We recently upgraded our main Shinken setupt to 0.5.6, including a
distributed poller. Today I noticed that the arbiter has crashed:



-------------- START  OUT
-----------------------------------------------------------------------------------------------------------------------------------------------

[All] Trying to send configuration to poller poller-pool
DBG: put conf to {'adapter': <Pyro.protocol.PYROAdapter instance at
0xf7701af8>, 'URI': <PyroURI 'PYROLO
C://129.206.109.43:7871/ForArbiter'>, 'objectID': u'ForArbiter'}
[All] Dispatch OK of for configuration 0 to poller poller-pool
[All] Trying to send configuration to poller poller-1
DBG: put conf to {'adapter': <Pyro.protocol.PYROAdapter instance at
0xf703b0f8>, 'URI': <PyroURI 'PYROLO
C://127.0.0.1:7771/ForArbiter'>, 'objectID': u'ForArbiter'}
CRITICAL ERROR : I got an non recovarable error. I must exit
You can log a bug ticket at
https://sourceforge.net/apps/trac/shinken/newticket for geting help
Back trace of it: Traceback (most recent call last):
  File "/home/shinken/src/shinken/daemons/arbiterdaemon.py", line 418, in main
    self.do_mainloop()
  File "/home/shinken/src/shinken/daemon.py", line 172, in do_mainloop
    self.do_loop_turn()
  File "/home/shinken/src/shinken/daemons/arbiterdaemon.py", line 453,
in do_loop_turn
    self.run()
  File "/home/shinken/src/shinken/daemons/arbiterdaemon.py", line 572, in run
    self.dispatcher.dispatch()
  File "/home/shinken/src/shinken/dispatcher.py", line 463, in dispatch
    is_sent = satellite.put_conf(satellite.cfg)
  File "/home/shinken/src/shinken/satellitelink.py", line 105, in put_conf
    self.con.put_conf(conf)
 File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 384, in __call__
    return self.__send(self.__name, args, kwargs)
  File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 459, in _invokePYRO
    return self.adapter.remoteInvocation(name,
Pyro.constants.RIF_VarargsAndKeywords, vargs, kargs)
  File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 439, in
remoteInvocation
    return self._remoteInvocation(method, flags, *args)
  File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 500, in
_remoteInvocation
    answer.raiseEx()
  File "/usr/lib/pymodules/python2.6/Pyro/errors.py", line 72, in raiseEx
    raise self.excObj
AttributeError: DaemonServant instance has no attribute 'put_conf'

Traceback (most recent call last):
  File "bin/shinken-arbiter", line 97, in <module>
    daemon.main()
  File "/home/shinken/src/shinken/daemons/arbiterdaemon.py", line 418, in main
    self.do_mainloop()
  File "/home/shinken/src/shinken/daemon.py", line 172, in do_mainloop
    self.do_loop_turn()
  File "/home/shinken/src/shinken/daemons/arbiterdaemon.py", line 453,
in do_loop_turn
    self.run()
  File "/home/shinken/src/shinken/daemons/arbiterdaemon.py", line 572, in run
    self.dispatcher.dispatch()
  File "/home/shinken/src/shinken/dispatcher.py", line 463, in dispatch
    is_sent = satellite.put_conf(satellite.cfg)
  File "/home/shinken/src/shinken/satellitelink.py", line 105, in put_conf
    self.con.put_conf(conf)
  File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 384, in __call__
    return self.__send(self.__name, args, kwargs)
  File "/usr/lib/pymodules/python2.6/Pyro/core.py", line 459, in _invokePYRO
    return self.adapter.remoteInvocation(name,
Pyro.constants.RIF_VarargsAndKeywords, vargs, kargs)
  File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 439, in
remoteInvocation
    return self._remoteInvocation(method, flags, *args)
  File "/usr/lib/pymodules/python2.6/Pyro/protocol.py", line 500, in
_remoteInvocation
    answer.raiseEx()
  File "/usr/lib/pymodules/python2.6/Pyro/errors.py", line 72, in raiseEx
    raise self.excObj
AttributeError: DaemonServant instance has no attribute 'put_conf'



-------------- END  OUT
-----------------------------------------------------------------------------------------------------------------------------------------------


After trying to upgrade to 0.6 (only the main installation), the
Arbiter couldn't process the configuration ( -c -v ), throwing back an
exception about some object not having a method
that belongs to the python list object (unfortunately I didn't keep
the traceback). This was obviously some oversight / typo, but I
mention it anyway because it may pop up only
in certain configurations.

Greetings,

Venelin

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to