Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Error creating a streaming task: Plugin is incompatible with the tasks schedule type. #1675

Closed
rashmigottipati opened this issue Jun 23, 2017 · 0 comments

Comments

@rashmigottipati
Copy link
Contributor

rashmigottipati commented Jun 23, 2017

Steps to reproduce:

  1. Start snap using snapteld -t 0 -l 1
  2. Load streaming rand plugin (snap-plugin-stream-collector-rand1) from build/darwn/x86_64/plugins
  3. Create any streaming task, using snaptel task create -t rand.yaml that results in:
    Using task manifest to create task Error creating task:Plugin is incompatible with the tasks schedule type.

Expected behavior: The streaming task loads without any errors, similar to the result of running the rand plugin from snap-plugin-lib-go. Reason for this error in the snap framework is because the snap-plugin-stream-collector-rand1 binary isn't updated and it returns a "collector" plugin type when it's actually supposed to return a "streaming-collector" plugin type which makes it inconsistent with the schedule type - "streaming".

IzabellaRaulin added a commit to IzabellaRaulin/snap that referenced this issue Jul 6, 2017
IzabellaRaulin added a commit to IzabellaRaulin/snap that referenced this issue Jul 6, 2017
IzabellaRaulin added a commit to IzabellaRaulin/snap that referenced this issue Jul 10, 2017
IzabellaRaulin added a commit to IzabellaRaulin/snap that referenced this issue Jul 10, 2017
IzabellaRaulin added a commit to IzabellaRaulin/snap that referenced this issue Jul 10, 2017
IzabellaRaulin added a commit to IzabellaRaulin/snap that referenced this issue Jul 10, 2017
IzabellaRaulin added a commit to IzabellaRaulin/snap that referenced this issue Jul 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants