Project

Profile

Help

Issue #1090

closed

Repeated syncs result in an infinite loop

Added by jcline@redhat.com almost 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version - OSTree:
master
Platform Release:
Target Release - OSTree:
1.0.0
OS:
Fedora 21
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

To reproduce:

  1. pulp-admin ostree repo create --repo-id f21 --feed http://rpm-ostree.cloud.fedoraproject.org/repo/ -b fedora-atomic/f21/x86_64/cloud/docker-host
  2. pulp-admin ostree repo sync run --repo-id f21
  3. pulp-admin ostree repo sync run --repo-id f21

Note that the second time the command gets stuck in the "Pull Remote Branches" step. Inspecting the process with gdb shows the process is in an infinite loop in the GLib2 ghash.c g_hash_table_resize function (full stack trace attached).

It's also worth noting that restarting pulp_workers between syncs stops this from occurring:

  1. pulp-admin ostree repo create --repo-id f21 --feed http://rpm-ostree.cloud.fedoraproject.org/repo/ -b fedora-atomic/f21/x86_64/cloud/docker-host
  2. pulp-admin ostree repo sync run --repo-id f21
  3. sudo systemctl restart pulp_workers
  4. pulp-admin ostree repo sync run --repo-id f21

Files

backtrace (121 KB) backtrace Stack of the celery process jcline@redhat.com, 06/25/2015 05:27 PM
backtrace (119 KB) backtrace jcline@redhat.com, 06/29/2015 04:37 PM

Also available in: Atom PDF