Actions
Issue #1090
closedRepeated syncs result in an infinite loop
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:
- 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
- pulp-admin ostree repo sync run --repo-id f21
- 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:
- 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
- pulp-admin ostree repo sync run --repo-id f21
- sudo systemctl restart pulp_workers
- pulp-admin ostree repo sync run --repo-id f21
Files
Actions