Skip to content

Instantly share code, notes, and snippets.

@tikismoke
Created October 20, 2015 16:39
Show Gist options
  • Save tikismoke/5db4abf6b174ce8350ff to your computer and use it in GitHub Desktop.
Save tikismoke/5db4abf6b174ce8350ff to your computer and use it in GitHub Desktop.
root@domogik0:/home# cat /var/log/domogik/dbmgr.log
2015-10-20 18:33:51,833 domogik-dbmgr DEBUG __del__ Single client
2015-10-20 18:33:51,833 domogik-dbmgr DEBUG the stack is :
2015-10-20 18:33:51,833 domogik-dbmgr DEBUG (<frame object at 0xdb2d70>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,833 domogik-dbmgr DEBUG force_leave called
2015-10-20 18:33:51,833 domogik-dbmgr DEBUG the stack is :
2015-10-20 18:33:51,834 domogik-dbmgr DEBUG (<frame object at 0xdb2f50>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,834 domogik-dbmgr DEBUG (<frame object at 0xdb2d70>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:33:51,874 domogik-dbmgr DEBUG __del__ Single client
2015-10-20 18:33:51,874 domogik-dbmgr DEBUG the stack is :
2015-10-20 18:33:51,875 domogik-dbmgr DEBUG (<frame object at 0x1d12d80>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,875 domogik-dbmgr DEBUG force_leave called
2015-10-20 18:33:51,875 domogik-dbmgr DEBUG the stack is :
2015-10-20 18:33:51,875 domogik-dbmgr DEBUG (<frame object at 0xdb2f50>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,875 domogik-dbmgr DEBUG (<frame object at 0x1d12d80>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:34:09,565 domogik-dbmgr INFO Looking for launched instances of 'dbmgr'
2015-10-20 18:34:09,580 domogik-dbmgr INFO No existing process.
2015-10-20 18:34:09,582 domogik-dbmgr INFO Starting the plugin in background...
2015-10-20 18:34:09,605 domogik-dbmgr INFO Daemonize plugin dbmgr
2015-10-20 18:34:09,608 domogik-dbmgr DEBUG watcher fork
2015-10-20 18:34:09,609 domogik-dbmgr INFO ----------------------------------
2015-10-20 18:34:09,609 domogik-dbmgr INFO Starting client 'dbmgr' (new manager instance)
2015-10-20 18:34:09,609 domogik-dbmgr INFO Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
2015-10-20 18:34:09,612 domogik-dbmgr DEBUG Send client status : starting
2015-10-20 18:34:09,613 domogik-dbmgr DEBUG Send client status : starting
2015-10-20 18:34:09,620 domogik-dbmgr DEBUG Write pid file for pid '3384' in file '/var/run/domogik/dbmgr.pid'
2015-10-20 18:34:09,621 domogik-dbmgr INFO End init of the global client part
2015-10-20 18:34:09,621 domogik-dbmgr DEBUG Init database_manager instance
2015-10-20 18:34:09,749 domogik-dbmgr INFO Connected to the database
2015-10-20 18:34:09,749 domogik-dbmgr DEBUG Send client status : alive
2015-10-20 18:34:09,750 domogik-dbmgr INFO Start IOLoop for MQ : nothing else can be executed in the __init__ after this! Make sure that the self.ready() call is the last line of your init!!!!
2015-10-20 18:34:24,615 domogik-dbmgr DEBUG Send client status : alive
2015-10-20 18:34:39,616 domogik-dbmgr DEBUG Send client status : alive
2015-10-20 18:34:54,616 domogik-dbmgr DEBUG Send client status : alive
2015-10-20 18:35:09,617 domogik-dbmgr DEBUG Send client status : alive
2015-10-20 18:35:24,618 domogik-dbmgr DEBUG Send client status : alive
root@domogik0:/home# cat /var/log/domogik/manager.log
2015-10-20 18:33:37,748 domogik-manager DEBUG __del__ Single client
2015-10-20 18:33:37,749 domogik-manager DEBUG the stack is :
2015-10-20 18:33:37,749 domogik-manager DEBUG (<frame object at 0x23e1ce0>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:37,749 domogik-manager DEBUG force_leave called
2015-10-20 18:33:37,749 domogik-manager DEBUG the stack is :
2015-10-20 18:33:37,749 domogik-manager DEBUG (<frame object at 0x1bcb5e0>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:37,750 domogik-manager DEBUG (<frame object at 0x1bca640>, '/home/domogik/src/domogik/xpl/common/plugin.py', 163, 'force_leave', [' Plugin.force_leave(self, status, return_code)\n'], 0)
2015-10-20 18:33:37,750 domogik-manager DEBUG (<frame object at 0x23e1ce0>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:33:37,760 domogik-manager DEBUG __del__ Single client
2015-10-20 18:33:37,760 domogik-manager DEBUG the stack is :
2015-10-20 18:33:37,760 domogik-manager DEBUG (<frame object at 0x1fa80b0>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:37,760 domogik-manager DEBUG force_leave called
2015-10-20 18:33:37,760 domogik-manager DEBUG the stack is :
2015-10-20 18:33:37,761 domogik-manager DEBUG (<frame object at 0x1bcb5e0>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:37,761 domogik-manager DEBUG (<frame object at 0x1bca640>, '/home/domogik/src/domogik/xpl/common/plugin.py', 163, 'force_leave', [' Plugin.force_leave(self, status, return_code)\n'], 0)
2015-10-20 18:33:37,761 domogik-manager DEBUG (<frame object at 0x1fa80b0>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:34:08,522 domogik-manager INFO Looking for launched instances of 'manager'
2015-10-20 18:34:08,533 domogik-manager INFO No existing process.
2015-10-20 18:34:08,534 domogik-manager INFO Starting the plugin in background...
2015-10-20 18:34:08,554 domogik-manager INFO Daemonize plugin manager
2015-10-20 18:34:08,555 domogik-manager DEBUG watcher fork
2015-10-20 18:34:08,556 domogik-manager INFO ----------------------------------
2015-10-20 18:34:08,556 domogik-manager INFO Starting client 'manager' (new manager instance)
2015-10-20 18:34:08,557 domogik-manager INFO Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
2015-10-20 18:34:08,560 domogik-manager DEBUG Send client status : starting
2015-10-20 18:34:08,561 domogik-manager DEBUG Send client status : starting
2015-10-20 18:34:08,564 domogik-manager DEBUG Write pid file for pid '3327' in file '/var/run/domogik/manager.pid'
2015-10-20 18:34:08,565 domogik-manager INFO End init of the global client part
2015-10-20 18:34:08,565 domogik-manager INFO Start of the xPL init
2015-10-20 18:34:08,565 domogik-manager INFO Configured interface(s) : ['eth0']
2015-10-20 18:34:08,565 domogik-manager INFO The xpl connection may be done on the below addresses (only one will be used):
2015-10-20 18:34:08,566 domogik-manager INFO - 192.168.0.34:0
2015-10-20 18:34:08,566 domogik-manager INFO Binding to ('192.168.0.34', 0) [BIND]...
2015-10-20 18:34:08,566 domogik-manager DEBUG xPL plugin manager socket bound to 192.168.0.34, port 46405
2015-10-20 18:34:08,566 domogik-manager INFO Plugin configure to have the xPL hub as optionnal! The hub won't be searched but a hbeat message will be sent each 5 minutes
2015-10-20 18:34:08,567 domogik-manager DEBUG send hbeat
2015-10-20 18:34:08,567 domogik-manager INFO HUB discovery > looking for the hub. I hope there is one hub, Domogik won't work without the hub!
2015-10-20 18:34:08,567 domogik-manager DEBUG normal send
2015-10-20 18:34:08,568 domogik-manager DEBUG New timer registered : <domogik.xpl.common.xplconnector.XplTimer instance at 0x1aa6fc8>
2015-10-20 18:34:08,568 domogik-manager DEBUG New timer created : <domogik.xpl.common.xplconnector.XplTimer instance at 0x1aa6fc8>
2015-10-20 18:34:08,569 domogik-manager DEBUG send hbeat
2015-10-20 18:34:08,569 domogik-manager INFO HUB discovery > looking for the hub. I hope there is one hub, Domogik won't work without the hub!
2015-10-20 18:34:08,569 domogik-manager DEBUG normal send
2015-10-20 18:34:08,570 domogik-manager DEBUG xPL thread started for manager
2015-10-20 18:34:08,570 domogik-manager INFO End of the xPL init
2015-10-20 18:34:08,570 domogik-manager INFO Manager startup
2015-10-20 18:34:08,571 domogik-manager INFO Host : domogik0
2015-10-20 18:34:08,571 domogik-manager INFO Start dbmgr : True
2015-10-20 18:34:08,571 domogik-manager INFO Start rest : True
2015-10-20 18:34:08,571 domogik-manager INFO Start xpl gateway : True
2015-10-20 18:34:08,571 domogik-manager INFO Start admin interface : True
2015-10-20 18:34:08,571 domogik-manager INFO Start scenario manager : True
2015-10-20 18:34:08,571 domogik-manager INFO Start butler : True
2015-10-20 18:34:08,572 domogik-manager INFO Create the fifo to communicate with the init script
2015-10-20 18:34:08,573 domogik-manager INFO Packages path : /var/lib/domogik//domogik_packages
2015-10-20 18:34:08,573 domogik-manager INFO Clients initialisation
2015-10-20 18:34:08,574 domogik-manager INFO New core component : dbmgr
2015-10-20 18:34:08,574 domogik-manager INFO Add new client : host=domogik0, type=core, name=dbmgr, client_id=core-dbmgr.domogik0, data={}
2015-10-20 18:34:08,575 domogik-manager INFO Looking for launched instances of 'dbmgr'
2015-10-20 18:34:08,587 domogik-manager INFO No existing process.
2015-10-20 18:34:08,587 domogik-manager INFO Request to start core component : dbmgr
2015-10-20 18:34:08,587 domogik-manager DEBUG Try to import module : domogik.bin.dbmgr
2015-10-20 18:34:08,766 domogik-manager INFO Execute command : NOTICE=THIS_PLUGIN_IS_STARTED_BY_THE_MANAGER && /usr/bin/python /home/domogik/src/domogik/bin/dbmgr.py
2015-10-20 18:34:09,588 domogik-manager DEBUG Try to set the pid : core-dbmgr.domogik0 => 3348
2015-10-20 18:34:09,588 domogik-manager INFO Pid set : core-dbmgr.domogik0 => 3348
2015-10-20 18:34:09,589 domogik-manager DEBUG Try to set a new status : core-dbmgr.domogik0 => alive
2015-10-20 18:34:09,589 domogik-manager INFO Status set : core-dbmgr.domogik0 => alive
2015-10-20 18:34:09,589 domogik-manager INFO New core component : rest
2015-10-20 18:34:09,590 domogik-manager INFO Add new client : host=domogik0, type=core, name=rest, client_id=core-rest.domogik0, data={}
2015-10-20 18:34:09,591 domogik-manager INFO Looking for launched instances of 'rest'
2015-10-20 18:34:09,606 domogik-manager INFO No existing process.
2015-10-20 18:34:09,606 domogik-manager INFO Request to start core component : rest
2015-10-20 18:34:09,606 domogik-manager DEBUG Try to import module : domogik.bin.rest
2015-10-20 18:34:09,686 domogik-manager INFO Execute command : NOTICE=THIS_PLUGIN_IS_STARTED_BY_THE_MANAGER && /usr/bin/python /home/domogik/src/domogik/bin/rest.py
2015-10-20 18:34:10,639 domogik-manager DEBUG Try to set the pid : core-rest.domogik0 => 3388
2015-10-20 18:34:10,639 domogik-manager INFO Pid set : core-rest.domogik0 => 3388
2015-10-20 18:34:10,640 domogik-manager DEBUG Try to set a new status : core-rest.domogik0 => alive
2015-10-20 18:34:10,640 domogik-manager INFO Status set : core-rest.domogik0 => alive
2015-10-20 18:34:10,640 domogik-manager INFO New core component : xplgw
2015-10-20 18:34:10,640 domogik-manager INFO Add new client : host=domogik0, type=core, name=xplgw, client_id=core-xplgw.domogik0, data={}
2015-10-20 18:34:10,642 domogik-manager INFO Looking for launched instances of 'xplgw'
2015-10-20 18:34:10,655 domogik-manager INFO No existing process.
2015-10-20 18:34:10,655 domogik-manager INFO Request to start core component : xplgw
2015-10-20 18:34:10,656 domogik-manager DEBUG Try to import module : domogik.bin.xplgw
2015-10-20 18:34:10,662 domogik-manager INFO Execute command : NOTICE=THIS_PLUGIN_IS_STARTED_BY_THE_MANAGER && /usr/bin/python /home/domogik/src/domogik/bin/xplgw.py
2015-10-20 18:34:11,483 domogik-manager DEBUG Try to set the pid : core-xplgw.domogik0 => 3425
2015-10-20 18:34:11,484 domogik-manager INFO Pid set : core-xplgw.domogik0 => 3425
2015-10-20 18:34:11,484 domogik-manager DEBUG Try to set a new status : core-xplgw.domogik0 => alive
2015-10-20 18:34:11,484 domogik-manager INFO Status set : core-xplgw.domogik0 => alive
2015-10-20 18:34:11,485 domogik-manager INFO New core component : admin
2015-10-20 18:34:11,485 domogik-manager INFO Add new client : host=domogik0, type=core, name=admin, client_id=core-admin.domogik0, data={}
2015-10-20 18:34:11,487 domogik-manager INFO Looking for launched instances of 'admin'
2015-10-20 18:34:11,505 domogik-manager INFO No existing process.
2015-10-20 18:34:11,505 domogik-manager INFO Request to start core component : admin
2015-10-20 18:34:11,505 domogik-manager DEBUG Try to import module : domogik.bin.admin
2015-10-20 18:34:23,562 domogik-manager DEBUG Send client status : starting
2015-10-20 18:34:38,562 domogik-manager DEBUG Send client status : starting
2015-10-20 18:34:53,563 domogik-manager DEBUG Send client status : starting
2015-10-20 18:34:53,575 domogik-manager DEBUG Try to set a new status : core-dbmgr.domogik0 => dead
2015-10-20 18:34:53,575 domogik-manager INFO Status set : core-dbmgr.domogik0 => dead
2015-10-20 18:34:53,575 domogik-manager DEBUG Send plugin.status for client core-dbmgr.domogik0 and status = dead....
2015-10-20 18:34:53,576 domogik-manager DEBUG Try to set a new status : core-rest.domogik0 => dead
2015-10-20 18:34:53,576 domogik-manager INFO Status set : core-rest.domogik0 => dead
2015-10-20 18:34:53,576 domogik-manager DEBUG Send plugin.status for client core-rest.domogik0 and status = dead....
2015-10-20 18:34:53,577 domogik-manager DEBUG Try to set a new status : core-xplgw.domogik0 => dead
2015-10-20 18:34:53,577 domogik-manager INFO Status set : core-xplgw.domogik0 => dead
2015-10-20 18:34:53,577 domogik-manager DEBUG Send plugin.status for client core-xplgw.domogik0 and status = dead....
2015-10-20 18:35:08,564 domogik-manager DEBUG Send client status : starting
2015-10-20 18:35:23,564 domogik-manager DEBUG Send client status : starting
2015-10-20 18:35:38,565 domogik-manager DEBUG Send client status : starting
2015-10-20 18:35:54,115 domogik-manager DEBUG Send client status : starting
2015-10-20 18:36:09,116 domogik-manager DEBUG Send client status : starting
2015-10-20 18:36:24,117 domogik-manager DEBUG Send client status : starting
2015-10-20 18:36:39,117 domogik-manager DEBUG Send client status : starting
2015-10-20 18:36:54,118 domogik-manager DEBUG Send client status : starting
2015-10-20 18:37:09,118 domogik-manager DEBUG Send client status : starting
2015-10-20 18:37:24,119 domogik-manager DEBUG Send client status : starting
2015-10-20 18:37:39,119 domogik-manager DEBUG Send client status : starting
2015-10-20 18:37:54,120 domogik-manager DEBUG Send client status : starting
root@domogik0:/home# cat /var/log/domogik/mq_broker.log
2015-10-20 18:34:07,906 domogik-mq_broker INFO MDP broker startup...
2015-10-20 18:34:07,907 domogik-mq_broker INFO Using tcp://192.168.0.34:40410 [BIND]
2015-10-20 18:34:07,908 domogik-mq_broker DEBUG Socket created...
2015-10-20 18:34:07,908 domogik-mq_broker DEBUG Launch the timer...
2015-10-20 18:34:07,908 domogik-mq_broker INFO MDP broker started
2015-10-20 18:34:09,751 domogik-mq_broker DEBUG Try to register a worker : wid=k▒Eh, service=dbmgr
2015-10-20 18:34:09,751 domogik-mq_broker INFO Registered worker : wid=k▒Eh, service=dbmgr
2015-10-20 18:34:10,686 domogik-mq_broker DEBUG Try to register a worker : wid=k▒Ei, service=rest
2015-10-20 18:34:10,686 domogik-mq_broker INFO Registered worker : wid=k▒Ei, service=rest
2015-10-20 18:34:11,539 domogik-mq_broker DEBUG Client REQ received: to='manager' data=['client.list.get', '{}']
2015-10-20 18:34:11,540 domogik-mq_broker WARNING broker has no service manager
2015-10-20 18:34:21,541 domogik-mq_broker DEBUG Client REQ received: to='manager' data=['client.conversion.get', '{}']
2015-10-20 18:34:21,541 domogik-mq_broker WARNING broker has no service manager
2015-10-20 18:34:31,556 domogik-mq_broker DEBUG Try to register a worker : wid=k▒Ej, service=xplgw
2015-10-20 18:34:31,556 domogik-mq_broker INFO Registered worker : wid=k▒Ej, service=xplgw
root@domogik0:/home# cat /var/log/domogik/mq_forwarder.log
2015-10-20 18:34:08,120 domogik-mq_forwarder INFO Starting the forwarder
2015-10-20 18:34:08,120 domogik-mq_forwarder INFO Waiting for messages on tcp://192.168.0.34:40411 [BIND]
2015-10-20 18:34:08,121 domogik-mq_forwarder INFO Sending messages to tcp://192.168.0.34:40412 [BIND]
2015-10-20 18:34:08,121 domogik-mq_forwarder INFO Forwarding messages...
2015-10-20 18:34:08,575 domogik-mq_forwarder ERROR BAD direction message: ['\x01plugin.status']
2015-10-20 18:34:09,613 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358849_61.0_1
2015-10-20 18:34:09,614 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358849_61.0_1
2015-10-20 18:34:09,750 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358849_75.0_1
2015-10-20 18:34:10,685 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358850_69.0_1
2015-10-20 18:34:11,508 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358851_51.0_1
2015-10-20 18:34:11,509 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358851_51.0_1
2015-10-20 18:34:11,522 domogik-mq_forwarder ERROR BAD direction message: ['\x01client.conversion']
2015-10-20 18:34:11,522 domogik-mq_forwarder ERROR BAD direction message: ['\x01client.list']
2015-10-20 18:34:23,562 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358863_56.0_1
2015-10-20 18:34:24,616 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358864_62.0_1
2015-10-20 18:34:25,666 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358865_67.0_1
2015-10-20 18:34:26,510 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358866_51.0_1
2015-10-20 18:34:31,554 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358871_55.0_1
2015-10-20 18:34:38,563 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358878_56.0_1
2015-10-20 18:34:39,616 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358879_62.0_1
2015-10-20 18:34:40,666 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358880_67.0_1
2015-10-20 18:34:41,511 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358881_51.0_1
2015-10-20 18:34:53,564 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358893_56.0_1
2015-10-20 18:34:53,576 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358893_58.0_1
2015-10-20 18:34:53,576 domogik-mq_forwarder DEBUG Forwarding message: client.list.1445358893_58.0_1
2015-10-20 18:34:53,576 domogik-mq_forwarder DEBUG Forwarding message: client.conversion.1445358893_58.0_1
2015-10-20 18:34:53,577 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358893_58.0_1
2015-10-20 18:34:53,577 domogik-mq_forwarder DEBUG Forwarding message: client.list.1445358893_58.0_1
2015-10-20 18:34:53,577 domogik-mq_forwarder DEBUG Forwarding message: client.conversion.1445358893_58.0_1
2015-10-20 18:34:53,577 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358893_58.0_1
2015-10-20 18:34:53,577 domogik-mq_forwarder DEBUG Forwarding message: client.list.1445358893_58.0_1
2015-10-20 18:34:53,578 domogik-mq_forwarder DEBUG Forwarding message: client.conversion.1445358893_58.0_1
2015-10-20 18:34:54,617 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358894_62.0_1
2015-10-20 18:34:55,667 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358895_67.0_1
2015-10-20 18:34:56,512 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358896_51.0_1
2015-10-20 18:35:08,564 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358908_56.0_1
2015-10-20 18:35:09,618 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358909_62.0_1
2015-10-20 18:35:10,668 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358910_67.0_1
2015-10-20 18:35:11,513 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358911_51.0_1
2015-10-20 18:35:23,565 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358923_56.0_1
2015-10-20 18:35:24,619 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358924_62.0_1
2015-10-20 18:35:25,669 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358925_67.0_1
2015-10-20 18:35:26,514 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358926_51.0_1
2015-10-20 18:35:39,115 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358939_12.0_1
2015-10-20 18:35:39,619 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358939_62.0_1
2015-10-20 18:35:40,670 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358940_67.0_1
2015-10-20 18:35:41,514 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358941_51.0_1
2015-10-20 18:35:54,116 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358954_12.0_1
2015-10-20 18:35:54,619 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358954_62.0_1
2015-10-20 18:35:55,670 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358955_67.0_1
2015-10-20 18:35:56,515 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358956_52.0_1
2015-10-20 18:36:09,117 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358969_12.0_1
2015-10-20 18:36:09,620 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358969_62.0_1
2015-10-20 18:36:10,671 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358970_67.0_1
2015-10-20 18:36:11,516 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358971_52.0_1
2015-10-20 18:36:24,117 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358984_12.0_1
2015-10-20 18:36:24,621 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358984_62.0_1
2015-10-20 18:36:25,671 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358985_67.0_1
2015-10-20 18:36:26,516 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358986_52.0_1
2015-10-20 18:36:39,118 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358999_12.0_1
2015-10-20 18:36:39,621 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445358999_62.0_1
2015-10-20 18:36:40,672 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359000_67.0_1
2015-10-20 18:36:41,517 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359001_52.0_1
2015-10-20 18:36:54,118 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359014_12.0_1
2015-10-20 18:36:54,622 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359014_62.0_1
2015-10-20 18:36:55,673 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359015_67.0_1
2015-10-20 18:36:56,517 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359016_52.0_1
2015-10-20 18:37:09,119 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359029_12.0_1
2015-10-20 18:37:09,622 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359029_62.0_1
2015-10-20 18:37:10,673 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359030_67.0_1
2015-10-20 18:37:11,518 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359031_52.0_1
2015-10-20 18:37:24,119 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359044_12.0_1
2015-10-20 18:37:24,623 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359044_62.0_1
2015-10-20 18:37:25,839 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359045_84.0_1
2015-10-20 18:37:26,518 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359046_52.0_1
2015-10-20 18:37:39,120 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359059_12.0_1
2015-10-20 18:37:39,623 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359059_62.0_1
2015-10-20 18:37:40,839 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359060_84.0_1
2015-10-20 18:37:41,519 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359061_52.0_1
2015-10-20 18:37:54,120 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359074_12.0_1
2015-10-20 18:37:54,624 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359074_62.0_1
2015-10-20 18:37:55,840 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359075_84.0_1
2015-10-20 18:37:56,519 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359076_52.0_1
2015-10-20 18:38:09,121 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359089_12.0_1
2015-10-20 18:38:09,624 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359089_62.0_1
2015-10-20 18:38:10,841 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359090_84.0_1
2015-10-20 18:38:11,520 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359091_52.0_1
2015-10-20 18:38:24,122 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359104_12.0_1
2015-10-20 18:38:24,625 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359104_62.0_1
2015-10-20 18:38:25,841 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359105_84.0_1
2015-10-20 18:38:26,521 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359106_52.0_1
2015-10-20 18:38:39,122 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359119_12.0_1
2015-10-20 18:38:39,625 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359119_63.0_1
2015-10-20 18:38:40,842 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359120_84.0_1
2015-10-20 18:38:41,521 domogik-mq_forwarder DEBUG Forwarding message: plugin.status.1445359121_52.0_1
root@domogik0:/home# cat /var/log/domogik/rest.log
2015-10-20 18:33:51,843 domogik-rest DEBUG __del__ Single client
2015-10-20 18:33:51,844 domogik-rest DEBUG the stack is :
2015-10-20 18:33:51,844 domogik-rest DEBUG (<frame object at 0x28a0150>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,844 domogik-rest DEBUG force_leave called
2015-10-20 18:33:51,844 domogik-rest DEBUG the stack is :
2015-10-20 18:33:51,844 domogik-rest DEBUG (<frame object at 0x28a0330>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,845 domogik-rest DEBUG (<frame object at 0x28a0150>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:33:51,895 domogik-rest DEBUG __del__ Single client
2015-10-20 18:33:51,895 domogik-rest DEBUG the stack is :
2015-10-20 18:33:51,896 domogik-rest DEBUG (<frame object at 0x46df670>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,896 domogik-rest DEBUG force_leave called
2015-10-20 18:33:51,896 domogik-rest DEBUG the stack is :
2015-10-20 18:33:51,896 domogik-rest DEBUG (<frame object at 0x28a0330>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,896 domogik-rest DEBUG (<frame object at 0x46df670>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:34:10,611 domogik-rest INFO Looking for launched instances of 'rest'
2015-10-20 18:34:10,627 domogik-rest INFO No existing process.
2015-10-20 18:34:10,631 domogik-rest INFO Starting the plugin in background...
2015-10-20 18:34:10,655 domogik-rest INFO Daemonize plugin rest
2015-10-20 18:34:10,659 domogik-rest DEBUG watcher fork
2015-10-20 18:34:10,659 domogik-rest INFO ----------------------------------
2015-10-20 18:34:10,660 domogik-rest INFO Starting client 'rest' (new manager instance)
2015-10-20 18:34:10,660 domogik-rest INFO Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
2015-10-20 18:34:10,663 domogik-rest DEBUG Send client status : starting
2015-10-20 18:34:10,664 domogik-rest DEBUG Send client status : starting
2015-10-20 18:34:10,668 domogik-rest DEBUG Write pid file for pid '3421' in file '/var/run/domogik/rest.pid'
2015-10-20 18:34:10,668 domogik-rest INFO End init of the global client part
2015-10-20 18:34:10,668 domogik-rest INFO Rest Server initialisation...
2015-10-20 18:34:10,669 domogik-rest DEBUG locale : fr_FR UTF-8
2015-10-20 18:34:10,671 domogik-rest INFO Configuration : interfaces:port = eth0:40405
2015-10-20 18:34:10,671 domogik-rest INFO Configuration : SSL support not activated
2015-10-20 18:34:10,672 domogik-rest INFO REST Initialisation OK
2015-10-20 18:34:10,672 domogik-rest INFO Start HTTP Server on eth0:40405...
2015-10-20 18:34:10,684 domogik-rest INFO REST server will be available on the below addresses :
2015-10-20 18:34:10,684 domogik-rest INFO - 192.168.0.34:40405 [BIND]
2015-10-20 18:34:10,685 domogik-rest DEBUG Send client status : alive
2015-10-20 18:34:10,685 domogik-rest INFO Start IOLoop for MQ : nothing else can be executed in the __init__ after this! Make sure that the self.ready() call is the last line of your init!!!!
2015-10-20 18:34:25,665 domogik-rest DEBUG Send client status : alive
2015-10-20 18:34:40,666 domogik-rest DEBUG Send client status : alive
2015-10-20 18:34:55,666 domogik-rest DEBUG Send client status : alive
2015-10-20 18:35:10,667 domogik-rest DEBUG Send client status : alive
2015-10-20 18:35:25,668 domogik-rest DEBUG Send client status : alive
2015-10-20 18:35:40,669 domogik-rest DEBUG Send client status : alive
2015-10-20 18:35:55,670 domogik-rest DEBUG Send client status : alive
2015-10-20 18:36:10,670 domogik-rest DEBUG Send client status : alive
2015-10-20 18:36:25,671 domogik-rest DEBUG Send client status : alive
2015-10-20 18:36:40,671 domogik-rest DEBUG Send client status : alive
2015-10-20 18:36:55,672 domogik-rest DEBUG Send client status : alive
2015-10-20 18:37:10,673 domogik-rest DEBUG Send client status : alive
2015-10-20 18:37:25,673 domogik-rest DEBUG Send client status : alive
2015-10-20 18:37:40,839 domogik-rest DEBUG Send client status : alive
2015-10-20 18:37:55,839 domogik-rest DEBUG Send client status : alive
2015-10-20 18:38:10,840 domogik-rest DEBUG Send client status : alive
2015-10-20 18:38:25,841 domogik-rest DEBUG Send client status : alive
2015-10-20 18:38:40,841 domogik-rest DEBUG Send client status : alive
2015-10-20 18:38:55,842 domogik-rest DEBUG Send client status : alive
2015-10-20 18:39:10,842 domogik-rest DEBUG Send client status : alive
root@domogik0:/home# cat /var/log/domogik/xplgw.log
2015-10-20 18:33:51,844 domogik-xplgw DEBUG __del__ Single client
2015-10-20 18:33:51,844 domogik-xplgw DEBUG the stack is :
2015-10-20 18:33:51,844 domogik-xplgw DEBUG (<frame object at 0x2736cc0>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,845 domogik-xplgw DEBUG force_leave called
2015-10-20 18:33:51,845 domogik-xplgw DEBUG the stack is :
2015-10-20 18:33:51,845 domogik-xplgw DEBUG (<frame object at 0x40d9b30>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,845 domogik-xplgw DEBUG (<frame object at 0x2736ea0>, '/home/domogik/src/domogik/xpl/common/plugin.py', 163, 'force_leave', [' Plugin.force_leave(self, status, return_code)\n'], 0)
2015-10-20 18:33:51,845 domogik-xplgw DEBUG (<frame object at 0x2736cc0>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:33:51,883 domogik-xplgw DEBUG __del__ Single client
2015-10-20 18:33:51,883 domogik-xplgw DEBUG the stack is :
2015-10-20 18:33:51,883 domogik-xplgw DEBUG (<frame object at 0x3c58dd0>, '/home/domogik/src/domogik/common/plugin.py', 883, '__del__', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,883 domogik-xplgw DEBUG force_leave called
2015-10-20 18:33:51,883 domogik-xplgw DEBUG the stack is :
2015-10-20 18:33:51,884 domogik-xplgw DEBUG (<frame object at 0x40d9b30>, '/home/domogik/src/domogik/common/plugin.py', 897, 'force_leave', [' for elt in inspect.stack():\n'], 0)
2015-10-20 18:33:51,884 domogik-xplgw DEBUG (<frame object at 0x2736ea0>, '/home/domogik/src/domogik/xpl/common/plugin.py', 163, 'force_leave', [' Plugin.force_leave(self, status, return_code)\n'], 0)
2015-10-20 18:33:51,884 domogik-xplgw DEBUG (<frame object at 0x3c58dd0>, '/home/domogik/src/domogik/common/plugin.py', 886, '__del__', [' self.force_leave()\n'], 0)
2015-10-20 18:34:11,459 domogik-xplgw INFO Looking for launched instances of 'xplgw'
2015-10-20 18:34:11,474 domogik-xplgw INFO No existing process.
2015-10-20 18:34:11,476 domogik-xplgw INFO Starting the plugin in background...
2015-10-20 18:34:11,499 domogik-xplgw INFO Daemonize plugin xplgw
2015-10-20 18:34:11,503 domogik-xplgw DEBUG watcher fork
2015-10-20 18:34:11,503 domogik-xplgw INFO ----------------------------------
2015-10-20 18:34:11,505 domogik-xplgw INFO Starting client 'xplgw' (new manager instance)
2015-10-20 18:34:11,505 domogik-xplgw INFO Python version is sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
2015-10-20 18:34:11,507 domogik-xplgw DEBUG Send client status : starting
2015-10-20 18:34:11,508 domogik-xplgw DEBUG Send client status : starting
2015-10-20 18:34:11,513 domogik-xplgw DEBUG Write pid file for pid '3457' in file '/var/run/domogik/xplgw.pid'
2015-10-20 18:34:11,513 domogik-xplgw INFO End init of the global client part
2015-10-20 18:34:11,514 domogik-xplgw INFO Start of the xPL init
2015-10-20 18:34:11,514 domogik-xplgw INFO Configured interface(s) : ['eth0']
2015-10-20 18:34:11,514 domogik-xplgw INFO The xpl connection may be done on the below addresses (only one will be used):
2015-10-20 18:34:11,514 domogik-xplgw INFO - 192.168.0.34:0
2015-10-20 18:34:11,515 domogik-xplgw INFO Binding to ('192.168.0.34', 0) [BIND]...
2015-10-20 18:34:11,515 domogik-xplgw DEBUG xPL plugin xplgw socket bound to 192.168.0.34, port 33101
2015-10-20 18:34:11,515 domogik-xplgw INFO Plugin configure to have the xPL hub as mandatory!
2015-10-20 18:34:11,515 domogik-xplgw INFO HUB discovery > starting
2015-10-20 18:34:11,515 domogik-xplgw DEBUG send hbeat
2015-10-20 18:34:11,515 domogik-xplgw INFO HUB discovery > looking for the hub. I hope there is one hub, Domogik won't work without the hub!
2015-10-20 18:34:11,516 domogik-xplgw DEBUG normal send
2015-10-20 18:34:11,517 domogik-xplgw DEBUG xPL thread started for xplgw
2015-10-20 18:34:11,518 domogik-xplgw DEBUG New timer registered : <domogik.xpl.common.xplconnector.XplTimer instance at 0x27a7d88>
2015-10-20 18:34:11,518 domogik-xplgw INFO HUB discovery > Received HBEAT echo, HUB detected
2015-10-20 18:34:11,519 domogik-xplgw DEBUG New timer created : <domogik.xpl.common.xplconnector.XplTimer instance at 0x27a7d88>
2015-10-20 18:34:11,519 domogik-xplgw DEBUG send hbeat
2015-10-20 18:34:11,519 domogik-xplgw INFO End of the xPL init
2015-10-20 18:34:11,520 domogik-xplgw INFO HUB discovery > hub found, configuration in progress
2015-10-20 18:34:11,520 domogik-xplgw DEBUG normal send
2015-10-20 18:34:11,522 domogik-xplgw INFO XPL manager initialisation...
2015-10-20 18:34:11,523 domogik-xplgw DEBUG send hbeat
2015-10-20 18:34:11,523 domogik-xplgw DEBUG New listener 64af63dc-7748-11e5-a88d-00ffaa000014, filter : {'xpltype': 'xpl-cmnd', 'schema': 'hbeat.request'}
2015-10-20 18:34:11,524 domogik-xplgw INFO HUB discovery > hub found, configuration in progress
2015-10-20 18:34:11,525 domogik-xplgw DEBUG normal send
2015-10-20 18:34:21,538 domogik-xplgw ERROR Updating client list failed, no response from manager
2015-10-20 18:34:26,510 domogik-xplgw DEBUG Send client status : starting
2015-10-20 18:34:31,549 domogik-xplgw ERROR Updating conversion list failed, no response from manager
2015-10-20 18:34:31,550 domogik-xplgw DEBUG New listener 709f3f82-7748-11e5-a6d2-00ffaa000014, filter : {'xpltype': 'xpl-trig'}
2015-10-20 18:34:31,550 domogik-xplgw DEBUG New listener 709f490a-7748-11e5-a6d2-00ffaa000014, filter : {'xpltype': 'xpl-stat'}
2015-10-20 18:34:31,553 domogik-xplgw DEBUG send hbeat
2015-10-20 18:34:31,553 domogik-xplgw DEBUG normal send
2015-10-20 18:34:31,553 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:34:31,554 domogik-xplgw INFO Start IOLoop for MQ : nothing else can be executed in the __init__ after this! Make sure that the self.ready() call is the last line of your init!!!!
2015-10-20 18:34:41,510 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:34:56,511 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:35:11,512 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:35:26,513 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:35:41,514 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:35:56,514 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:36:11,515 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:36:26,516 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:36:41,516 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:36:56,517 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:37:11,517 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:37:26,518 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:37:41,518 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:37:56,519 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:38:11,519 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:38:26,520 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:38:41,521 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:38:56,521 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:39:08,572 domogik-xplgw DEBUG Message match for listener 709f490a-7748-11e5-a6d2-00ffaa000014
2015-10-20 18:39:08,573 domogik-xplgw DEBUG Getting item from the sensorQueue, current length = 0
2015-10-20 18:39:08,583 domogik-xplgw DEBUG Adding new message to the sensorQueue, current length = 0
2015-10-20 18:39:11,522 domogik-xplgw DEBUG Send client status : alive
2015-10-20 18:39:11,527 domogik-xplgw DEBUG send hbeat
2015-10-20 18:39:11,528 domogik-xplgw DEBUG normal send
2015-10-20 18:39:26,522 domogik-xplgw DEBUG Send client status : alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment