Duplicate entry for WorkflowDefinition

(Deepchandna) #1

Hi, I am getting the below error while executing workflows - Please suggest.

  "traceback": "  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2actions/container/base.py\", line 119, in _do_run\n    (status, result, context) = runner.run(action_params)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/retrying.py\", line 49, in wrapped_f\n    return Retrying(*dargs, **dkw).call(f, *args, **kw)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/retrying.py\", line 212, in call\n    raise attempt.get()\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/retrying.py\", line 247, in get\n    six.reraise(self.value[0], self.value[1], self.value[2])\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/retrying.py\", line 200, in call\n    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)\n  File \"/opt/stackstorm/runners/mistral_v2/mistral_v2/mistral_v2.py\", line 247, in run\n    result = self.start_workflow(action_parameters=action_parameters)\n  File \"/opt/stackstorm/runners/mistral_v2/mistral_v2/mistral_v2.py\", line 286, in start_workflow\n    self._save_workflow(action_ref, def_yaml_xformed)\n  File \"/opt/stackstorm/runners/mistral_v2/mistral_v2/mistral_v2.py\", line 134, in _save_workflow\n    wf = self._client.workflows.create(def_yaml)[0]\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/mistralclient/api/v2/workflows.py\", line 46, in create\n    self._raise_api_exception(resp)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/mistralclient/api/base.py\", line 160, in _raise_api_exception\n    error_message=error_data)\n",
  "error": "Duplicate entry for WorkflowDefinition: ['definitions_v2_name_project_id']"


Hey deepchandna, you’re a very active poster on these forums. I can put you in touch with our sales staff if you would like more support.

(Deepchandna) #3

Hey, i can not go for official support. I chose this tool because it was open source and free. I am just looking support.


Yep, I understand that you are looking for support, but proceeds from our support contracts go towards development of our open source product. Would you like me to connect you with our sales department?

(Deepchandna) #5

Yes, please. Let them contact me.