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 1404876

Summary: Pulp celery worker crash on syncing ostree repos
Product: Red Hat Satellite Reporter: Partha Aji <paji>
Component: Content ManagementAssignee: Partha Aji <paji>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: bbuckingham, bmbouter, daviddavis, dkliban, ggainey, ipanova, jcallaha, jortel, ktordeur, mhrivnak, mhulan, mverma, mwysocki, pcreech, pmoravec, rchan, tomckay, ttereshc
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-09-04 18:05:49 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:

Description Partha Aji 2016-12-14 22:50:24 UTC
On a Satellite that has ostree enabled, enable and sync the RH Atomic Tree.
Some customers have reported the following error.

Dec 14 20:25:01 satellite celery: OSTree:ERROR:src/libostree/ostree-repo-static-delta-processing.c:691:dispatch_open: assertion failed: (repo->mode == OSTREE_REPO_MODE_BARE || repo->mode == OSTREE_REPO_MODE_BARE_USER)
Dec 14 20:25:01 satellite pulp: celery.worker.job:ERROR: (1169-66976) Task pulp.server.managers.repo.sync.sync[2eee94d5-994a-48b1-96db-88fd64760d8f] raised unexpected: WorkerLostError('Worker exited prematurely: signal 6 (SIGIOT).',)


Workaround:

Error similar to this have been fixed in the ostree upstream
 (https://github.com/ostreedev/ostree/issues/407 and https://github.com/ostreedev/ostree/pull/408) 

Work around might be to upgrade their ostree rpm to a later version (ostree-2016.10-1.atomic.el7 and above.)

Comment 3 Tom McKay 2017-01-30 19:34:54 UTC
Created redmine issue http://projects.theforeman.org/issues/18308 from this bug

Comment 4 pulp-infra@redhat.com 2017-01-30 20:01:19 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.

Comment 5 pulp-infra@redhat.com 2017-01-30 20:01:22 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.

Comment 6 pulp-infra@redhat.com 2017-01-31 16:31:12 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.

Comment 7 pulp-infra@redhat.com 2017-02-13 15:01:24 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.

Comment 8 pulp-infra@redhat.com 2017-02-15 15:02:15 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.

Comment 9 Jeff Ortel 2017-02-15 15:46:38 UTC
The PR (commit) referenced in the pulp redmine issue needs to be cherry picked downstream.  Also, note there is a foreman issue that also needs to be completed as part of the solution.

Comment 10 Partha Aji 2017-02-15 16:04:35 UTC
Need to add a foreman-rake task "repair corrupted syncs" caused by this issue.

Comment 12 Dennis Kliban 2017-03-14 02:25:50 UTC
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.

Comment 15 Pavel Moravec 2017-03-17 21:16:21 UTC
Updating ostree to 2016.15 or 2017.1 prevents the segfault - at least for the 01798096 case.

Comment 18 pulp-infra@redhat.com 2017-04-12 14:34:18 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 20 Satellite Program 2017-10-27 22:10:54 UTC
Upstream bug assigned to paji

Comment 21 Bryan Kearney 2018-09-04 18:05:49 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.