openbaton / ems

Repository containing the source code of the Element Management System
Apache License 2.0
3 stars 8 forks source link

EMS closing connection saying "Read empty data" #2

Closed lorenzotomasini closed 7 years ago

lorenzotomasini commented 7 years ago

Sometimes the ems stop running without clear reason: this is the last log lines:

INFO:receiver:Received message:
INFO:receiver:{"action":"EXECUTE","payload":"scscf_install.sh","env":{"port":"6060","mgmt":"192.168.133.175","name":"scscf","hostname":"scscf-7544977","mgmt_floatingIp":"192.168.161.160","diameter_p":"3870"}}
INFO:receiver:Received execute command
INFO:receiver:Executing: /opt/openbaton/scripts/scscf_install.sh with env {u'name': u'scscf', u'hostname': u'scscf-7544977', u'diameter_p': u'3870', u'mgmt': u'192.168.133.175', u'mgmt_floatingIp': u'192.168.161.160', u'port': u'6060'}
INFO:receiver:Executed: ERR:  OUT: scscf : Using custom script path /opt/openbaton/scripts
scscf : Installing packages
scscf : Finished installing packages
scscf : Checking out source-code
scscf : Setting Service Upstart scscf on
scscf : compiling OpenIMSCore

INFO:receiver:answer is: {"status": 0, "output": "scscf : Using custom script path /opt/openbaton/scripts\nscscf : Installing packages\nscscf : Finished installing packages\nscscf : Checking out source-code\nscscf : Setting Service Upstart scscf on\nscscf : compiling OpenIMSCore\n", "err": ""}
INFO:__main__:Answer sent
ERROR:pika.adapters.base_connection:Read empty data, calling disconnect
WARNING:pika.adapters.base_connection:Socket closed when connection was open
WARNING:pika.connection:Disconnected from RabbitMQ at 10.147.66.131:5672 (0): Not specified
CRITICAL:pika.adapters.blocking_connection:Connection close detected

connection was not close by the Generic, or at least it was not stopped. It needs further investigations.