selinon / demo

**obsoleted** Selinon demo
Other
5 stars 1 forks source link

result: null for Fibonacci task in demo #12

Open kavink opened 6 years ago

kavink commented 6 years ago

This project looks very promising because this seems dynamic workflow on top of Celery, I am trying to figure how to integrate it, have been looking at the code.

Just running demo for fibonacci I don't see any results stored from Redis Commander. How do I see or pull results from each stage in the flow ?

{
  "children": [],
  "traceback": null,
  "task_id": "554bb85e-b550-417d-88f0-b638b5c3f685",
  "result": null,
  "status": "SUCCESS"
}
kavink commented 6 years ago

@fridex any thoughts on why I see result null ?

fridex commented 6 years ago

@fridex any thoughts on why I see result null ?

Selinon tasks are not Celery tasks Celery result backend is used for storing statuses of tasks, not their actual results - that's why you see null as a result. Check configured storages as configured in the nodes.yaml config file for results.