Bug 791221

Summary: Time-out on organization deletion after manifest import
Product: Red Hat Satellite Reporter: Ivan Necas <inecas>
Component: Subscription ManagementAssignee: Ivan Necas <inecas>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bkearney, gkhachik, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 18:27:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot via webui none

Description Ivan Necas 2012-02-16 14:37:56 UTC
Description of problem:
Katello runs into race-condition with CP on deleting organization. See description no CP BZ: https://bugzilla.redhat.com/show_bug.cgi?id=788932

Version-Release number of selected component (if applicable):
katello-0.1.239
candlepin-0-5.19

How reproducible:
Sometimes

Steps to Reproduce:
1. Import manifest
2. Delete organization
  
Actual results:
Request time-out

Expected results:
Organization deleted

Comment 2 Ivan Necas 2012-02-20 10:25:04 UTC
Modified in commit a5077bababd3e4c15fe3757debec680c1a12255b. As suggested by candlepin team: waiting for update jobs to finish before continuing with next deletion steps.

Comment 3 Ivan Necas 2012-02-20 11:16:49 UTC
The previous commit still wasn't the final one fix (sometimes some task has never finished). Reducing the number of tasks needed to update subscriptions after deletion in commit b74c3f110bad83148821c1a653b1a46421ac314f

Comment 5 Mike McCune 2012-03-07 23:43:08 UTC
mass move ON_QA after brewing

Comment 6 Kedar Bidarkar 2012-03-16 21:00:08 UTC
Created attachment 570707 [details]
screenshot via webui

Was able to delete an organization after manifest import.
As it's not reproducible always , plan to wait

Comment 7 Jeff Weiss 2012-03-17 00:29:53 UTC
It is working for me as well, let's verify and re-open if necessary.

Comment 9 Mike McCune 2013-08-16 17:51:06 UTC
getting rid of 6.0.0 version since that doesn't exist