Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1584628

Summary: infinitely blocking Actions::Pulp::Repository::Sync task when pulp runs out of disk space
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.1CC: aruzicka, inecas, jhutar, sajha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
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: 2018-06-14 12:50:47 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:
Attachments:
Description Flags
"Errors" tab of the task
none
foreman-rake foreman_tasks:export_tasks
none
foreman-debug none

Description Jan Hutař 2018-05-31 10:29:30 UTC
Description of problem:
During repo syms, I have ran out of disp space and that resulted in infinitely blocking Actions::Pulp::Repository::Sync task when pulp runs out of disk space - even after I have freed the space and `katello-service restart`, task is still "running" and blocks any other sync of that repo.


Version-Release number of selected component (if applicable):
satellite-6.3.1-3.el7sat.noarch


How reproducible:
1 of 1


Steps to Reproduce:
1. Have a nearly full filesystem (I have only root, no dedicated "/var/lub/pulp" or other "/var/lib/...")
2. Attempt to sync big Red Hat channel so it fails when syncing packages due to disk space


Actual results:
Actions::Pulp::Repository::Sync action is stucked in "running" state although DynFlow console says "Actions::Pulp::Repository::Sync (error)" and nothing happens. Any other attempt to sync that repo or to unsubscribe from it fails with lock conflict:

    Required lock is already taken by other running tasks.


Expected results:
Task should be marked as failed

Comment 1 Jan Hutař 2018-05-31 10:30:55 UTC
Created attachment 1446216 [details]
"Errors" tab of the task

Comment 2 Jan Hutař 2018-05-31 10:34:03 UTC
Created attachment 1446220 [details]
foreman-rake foreman_tasks:export_tasks

Comment 3 Jan Hutař 2018-05-31 10:34:13 UTC
Created attachment 1446221 [details]
foreman-debug