Bug 1368181 - delete-project action run just after delete-build action will bring action_dispatcher down
Summary: delete-project action run just after delete-build action will bring action_di...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: backend
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: clime
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-18 15:15 UTC by clime
Modified: 2016-09-21 13:01 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-21 13:01:51 UTC


Attachments (Terms of Use)

Description clime 2016-08-18 15:15:19 UTC
Steps to Reproduce:
copr-cli delete-package --name example TestDeleteActions && copr-cli delete TestDeleteAction

Reproducible: hardly, it depends on timing

Actual results:
Action Dispatcher on backend crashes with CoprRequestException because the project is meanwhile deleted in frontend DB and backend cannot fetch info about auto-create-repo status and nothing is deleted.

Expected results:
Both actions pass and the project is deleted.

Comment 1 clime 2016-08-18 20:45:11 UTC
Fixed by https://github.com/fedora-copr/copr/commit/93940e84.

Comment 2 clime 2016-09-21 13:01:51 UTC
New COPR version has been deployed (to be released).


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