intelsdi-x / snap

The open telemetry framework
http://snap-telemetry.io
Apache License 2.0
1.8k stars 295 forks source link

Task Not Found error in Tribe mode #1747

Open jszzang opened 6 years ago

jszzang commented 6 years ago

OS version : CentOS7 Snap version : 2.0 Environment details (virtual, physical, etc.): Both Virtual & Physical Steps to reproduce

  1. snapteld as tribe mode
  2. create an agreement
  3. join nodes and load plugins and create a task (any plugins and task)
  4. stop and remove the task above
  5. recreate the task (should have new task ID)
  6. tail -f /var/log/snap/snapteld

Expected results No error Actual results time="2017-11-16T17:31:06+09:00" level=error msg="error stopping task" _block=stop-task _error="Task not found: ID(d2d6bd62-720e-42fc-886c-12f5b0687ef1)" _module=scheduler source=tribe task-id=d2d6bd62-720e-42fc-886c-12f5b0687ef1 time="2017-11-16T17:31:06+09:00" level=error msg="error stopping task" _block=stop-task _error="Task not found: ID(d2d6bd62-720e-42fc-886c-12f5b0687ef1)" _module=scheduler source=tribe task-id=d2d6bd62-720e-42fc-886c-12f5b0687ef1 time="2017-11-16T17:31:06+09:00" level=error msg="error stopping task" _block=stop-task _error="Task not found: ID(d2d6bd62-720e-42fc-886c-12f5b0687ef1)" _module=scheduler source=tribe task-id=d2d6bd62-720e-42fc-886c-12f5b0687ef1 time="2017-11-16T17:31:06+09:00" level=error msg="error stopping task" _block=stop-task _error="Task not found: ID(d2d6bd62-720e-42fc-886c-12f5b0687ef1)" _module=scheduler source=tribe task-id=d2d6bd62-720e-42fc-886c-12f5b0687ef1 time="2017-11-16T17:31:06+09:00" level=error msg="error stopping task" _block=stop-task _error="Task not found: ID(d2d6bd62-720e-42fc-886c-12f5b0687ef1)" _module=scheduler source=tribe task-id=d2d6bd62-720e-42fc-886c-12f5b0687ef1 time="2017-11-16T17:31:07+09:00" level=error msg="error stopping task" _block=stop-task _error="Task not found: ID(d2d6bd62-720e-42fc-886c-12f5b0687ef1)" _module=scheduler source=tribe task-id=d2d6bd62-720e-42fc-886c-12f5b0687ef1

thank you