agent issueshttps://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues2017-11-15T07:41:24Zhttps://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/12when agent closes, it needs to make sure that no process is hanging blocking ...2017-11-15T07:41:24ZFederico Sismondifsismondi@mandint.orgwhen agent closes, it needs to make sure that no process is hanging blocking the close of tun file,else on retry it will create a second tun interfacehttps://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/10py2 support to pcap dumper2017-08-31T12:40:11ZFederico Sismondifsismondi@mandint.orgpy2 support to pcap dumperfor the time being the code used in the agent for launching process is commented out..for the time being the code used in the agent for launching process is commented out..https://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/9UnexpectedFrame error when receiving packet in event bus2017-05-23T07:36:05ZFederico Sismondifsismondi@mandint.orgUnexpectedFrame error when receiving packet in event bus```
DEBUG:utils.opentun:packet captured on tun interface: (52B) 00-00-86-dd-60-00-00-00-00-08-3a-ff-fe-80-00-00-00-00-00-00-20-d0-9d-64-89-f4-16-80-ff-02-00-00-00-00-00-00-00-00-00-00-00-00-00-02-85-00-1e-8e-00-00-00-00
DEBUG:utils.ope...```
DEBUG:utils.opentun:packet captured on tun interface: (52B) 00-00-86-dd-60-00-00-00-00-08-3a-ff-fe-80-00-00-00-00-00-00-20-d0-9d-64-89-f4-16-80-ff-02-00-00-00-00-00-00-00-00-00-00-00-00-00-02-85-00-1e-8e-00-00-00-00
DEBUG:utils.opentun:Pushing message to topic: data.tun.fromAgent.coap_server_agent
INFO:utils.opentun:Messaged captured in tun. Pushing message to F-Interop. Message count (uplink): 1
INFO:utils.opentun:
# # # # # # # # # # # # OPEN TUN # # # # # # # # # # # #
data packet TUN -> EventBus
{"timestamp": "1495453739.86", "_type": "packet.sniffed.raw", "interface_name": "tun0", "data": [96, 0, 0, 0, 0, 8, 58, 255, 254, 128, 0, 0, 0, 0, 0, 0, 32, 208, 157, 100, 137, 244, 22, 128, 255, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 133, 0, 30, 142, 0, 0, 0, 0]}
# # # # # # # # # # # # # # # # # # # # # # # # # # # # #
CRITICAL:utils.opentun:
======= crash in TunReadThread =======
Error:
Received 0x0d while expecting 0xce
call stack:
Traceback (most recent call last):
File "utils/opentun.py", line 308, in run
self.callback(p)
File "utils/opentun.py", line 511, in _tunToEventBus
routing_key=routing_key)
File "/usr/local/lib/python2.7/dist-packages/kombu/messaging.py", line 181, in publish
exchange_name, declare,
File "/usr/local/lib/python2.7/dist-packages/kombu/messaging.py", line 203, in _publish
mandatory=mandatory, immediate=immediate,
File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 1757, in basic_publish_confirm
self.confirm_select()
File "/usr/local/lib/python2.7/dist-packages/amqp/channel.py", line 2050, in confirm_select
wait=None if nowait else spec.Confirm.SelectOk,
File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 73, in send_method
return self.wait(wait, returns_tuple=returns_tuple)
File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 93, in wait
self.connection.drain_events(timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 464, in drain_events
return self.blocking_read(timeout)
File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 468, in blocking_read
frame = self.transport.read_frame()
File "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 265, in read_frame
'Received {0:#04x} while expecting 0xce'.format(ch))
UnexpectedFrame: Received 0x0d while expecting 0xce
```https://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/7Supporting more than 2 tuns for agents2017-07-20T16:45:21ZRemy LeoneSupporting more than 2 tuns for agentsWe could publish a received message towards all other tun except the source to implement a "hub" like routing.We could publish a received message towards all other tun except the source to implement a "hub" like routing.https://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/6Modifications for the agent:2018-02-19T15:05:28ZFederico Sismondifsismondi@mandint.orgModifications for the agent:"Control resources plane" on the event bus features for the agent:
* [ ] heartbeat (so resource repo knows if its alive or not)
* [ ] add doc on how the topics and queues are used, also how the data plane messages should be rou..."Control resources plane" on the event bus features for the agent:
* [ ] heartbeat (so resource repo knows if its alive or not)
* [ ] add doc on how the topics and queues are used, also how the data plane messages should be routed
* [ ] a vhost needs to be created for these interactions (this happens outside of the session execution), something similar to /common-sevices?
* [ ] availability information should be sent through this channel too (so RR knows if the resource is available or not)
* [ ] agent logs in into session now using usr/pass which exist only during the execution of the session, do we need another set of credentials for when the agent is only heartbeating?
* [ ] how does the agent checks if the resource which is attached to is available or not? is this info manually input by the user into the agent?
issue discussed in Paris meeting 09/03/17
@fsismondi @sieben @DeviceGatewayIntern @EunahKim https://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/5multiple generation of TUNs interafces on same machine2017-07-20T16:45:21ZFederico Sismondifsismondi@mandint.orgmultiple generation of TUNs interafces on same machineEven there's a mechanism for preventing this, there seems to be an issue on this.Even there's a mechanism for preventing this, there seems to be an issue on this.https://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/3multiple agents executing in parallel not supported2017-07-20T16:45:21ZFederico Sismondifsismondi@mandint.orgmultiple agents executing in parallel not supportedhttps://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/2agent creating a connection + channel per plugin, maybe one connection and se...2017-07-20T16:45:21ZFederico Sismondifsismondi@mandint.orgagent creating a connection + channel per plugin, maybe one connection and several channels instead?https://gitlab.distantaccess.com/f-interop-contributors/agent/-/issues/1Agent using message's body to send timestaps, msg_id -> move to message's props2017-07-20T16:45:21ZFederico Sismondifsismondi@mandint.orgAgent using message's body to send timestaps, msg_id -> move to message's props