Bug 1368181

Summary: delete-project action run just after delete-build action will bring action_dispatcher down
Product: [Community] Copr Reporter: clime
Component: backendAssignee: clime
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-21 13:01:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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).