Bug 1657385 - [RFE]: better error reporting when defining a Mistral action with a name that already exists
Summary: [RFE]: better error reporting when defining a Mistral action with a name that...
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-mistral
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: nlevinki
Depends On:
TreeView+ depends on / blocked
Reported: 2018-12-07 20:51 UTC by Udi Kalifon
Modified: 2020-12-02 20:42 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-12-02 20:42:12 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Udi Kalifon 2018-12-07 20:51:02 UTC
Description of problem:
I tried to create a workflow and got the error:
Conflict (HTTP 409)

This error message doesn't say a lot. In the api.log of Mistral the error message is very clear:
Duplicate entry for WorkflowDefinition: ['name']

It means there is already a workflow defined with the exact same name. The error message should not be difficult to find in the logs - it should be printed to the console to be seen immediately.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create 2 workflows with the same name

Comment 1 pweeks 2020-12-02 20:42:12 UTC
mistral has been removed from OSP, workflows and error handling no longer valid

Note You need to log in before you can comment on or make changes to this bug.