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

A plugin fails to start when a task references metrics from two versions of the same plugin. #820

Closed
jcooklin opened this issue Mar 30, 2016 · 0 comments

Comments

@jcooklin
Copy link
Collaborator

Given two different versions of the same plugin where the first plugin contains a metric that is no longer exposed in version 2 the first plugin will not be started and the task fails.

To recreate the scenario:

  • Start snap with the following config

---
control:
  plugins:
    collector:
      mock:
        versions:
          1:
            test: true
  • Load the mock plugins (versions 1 and 2)
  • Create and start the following task

---
  version: 1
  schedule:
    type: "simple"
    interval: "1s"
  workflow:
    collect:
      metrics:
        /intel/*: {}
      config:
        /intel/mock:
          user: "root"
          password: "secret"
jcooklin added a commit that referenced this issue Apr 1, 2016
Fixes #820 - Task fails when metrics come from different versions of …
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

2 participants