User can create a few triggers with the same pattern, wf and wf-input

Bug #1383146 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
Medium
Nikolay Makhotkin

Bug Description

Steps to reproduce:

1. mistral workflow-list
2. mistral cron-trigger-create tr1 "* * * * *" wf1 wf_input.json
3. mistral cron-trigger-create tr2 "* * * * *" wf1 wf_input.json

Expected result:
Creation error that user already has trigger with this pattern for this workflow with this input.

Changed in mistral:
importance: Undecided → Medium
Revision history for this message
Renat Akhmerov (rakhmerov) wrote :

This is not a bug. It's a valid case because, for example, these triggers may configure different workflow input parameters.

Changed in mistral:
status: New → Invalid
Changed in mistral:
status: Invalid → Confirmed
summary: - User can create a few triggers with the same pattern for a one wf
+ User can create a few triggers with the same pattern, wf and wf-input
description: updated
Revision history for this message
Nikolay Makhotkin (nmakhotkin) wrote :
Changed in mistral:
assignee: nobody → Nikolay Makhotkin (nmakhotkin)
status: Confirmed → In Progress
milestone: none → kilo-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/137647
Committed: https://git.openstack.org/cgit/stackforge/mistral/commit/?id=a10c83aecfb978c044b374aaeefff5c8095faf1b
Submitter: Jenkins
Branch: master

commit a10c83aecfb978c044b374aaeefff5c8095faf1b
Author: Nikolay Mahotkin <email address hidden>
Date: Thu Nov 27 16:58:08 2014 +0300

    Fix creating triggers with the same pattern, wf and wf-input

    Closes-bug: #1383146

    Change-Id: I1885f329f25e1424ed2b76325e007d7b5a028e93

Changed in mistral:
status: In Progress → Fix Committed
Changed in mistral:
status: Fix Committed → Fix Released
Changed in mistral:
milestone: kilo-1 → 2015.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.