Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1188755

Summary: Pulp task hangs when pulp services were restarted (upstart)
Product: [Retired] Pulp Reporter: amacdona <austin>
Component: async/tasksAssignee: Randy Barlow <rbarlow>
Status: CLOSED UPSTREAM QA Contact: pulp-qe-list
Severity: high Docs Contact:
Priority: high    
Version: 2.5CC: cduryee, mhrivnak, rbarlow
Target Milestone: ---Keywords: Triaged
Target Release: 2.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1231323 (view as bug list) Environment:
Last Closed: 2015-02-28 23:22:38 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1231323    

Description amacdona@redhat.com 2015-02-03 16:08:24 UTC
Description of problem:

orphan remove task hangs on RHEL 6 if pulp services were restarted.


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

2.5-release

How reproducible:
Always

Steps to Reproduce:

I created a script to make this easy:

$ cat all.sh

sudo service qpidd $1
sudo service pulp_celerybeat $1
sudo service pulp_resource_manager $1
sudo service pulp_workers $1
sudo service httpd $1

1. $ ./all.sh restart
2. $ pulp-admin orphan remove --all

Actual results:

Waiting to begin...    (hangs here)

Expected results:

Task Succeeded


Additional info:

The services need to be stopped and then started. From this state,

1. $ ./all.sh stop
2. $ ./all.sh start
3. $ pulp-admin orphan remove --all

Task Succeeded

Comment 1 amacdona@redhat.com 2015-02-03 19:38:20 UTC
I was able to reproduce this on 2.6-testing also.

Comment 2 Chris Duryee 2015-02-03 22:05:03 UTC
This bz caused me a lot of confusion. Can this be put on 2.6.0?

Comment 3 Brian Bouterse 2015-02-28 23:22:38 UTC
Moved to https://pulp.plan.io/issues/686