Sometimes packetary hangs forever when spawning mutiple createrepo workers

Bug #1552138 reported by Vladimir Kozhukalov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
packetary
Fix Released
Critical
Vladimir Kozhukalov

Bug Description

It is quite often (20-30% of runs) when packetary hangs forever when spawns mutiple createrepo workers.

This looks like

download: http://vault.centos.org/7.1.1503/updates/x86_64/Packages/ntpdate-4.2.6p5-19.el7.centos.3.x86_64.rpm from the offset: 0
download: http://vault.centos.org/7.1.1503/updates/x86_64/Packages/pam-1.1.8-12.el7_1.1.x86_64.rpm from the offset: 0
download: http://vault.centos.org/7.1.1503/updates/x86_64/Packages/scl-utils-20130529-17.el7_1.x86_64.rpm from the offset: 0
rebuild repository in /home/kozhukalov/mirantis/fuel/fuel-main/build/iso/isoroot/
Spawning worker 0 with 45 pkgs
Spawning worker 1 with 45 pkgs
Spawning worker 2 with 45 pkgs
Spawning worker 3 with 44 pkgs
Worker 1: *** 1612 2455 4426
Worker 2: *** 1785 693 5489
Worker 1:

or like

download: http://vault.centos.org/7.1.1503/os/x86_64/Packages/libjpeg-turbo-1.2.90-5.el7.x86_64.rpm from the offset: 0
download: http://vault.centos.org/7.1.1503/os/x86_64/Packages/kexec-tools-2.0.7-19.el7.x86_64.rpm from the offset: 0
rebuild repository in /home/kozhukalov/mirantis/fuel/packetary/clone/
Spawning worker 0 with 104 pkgs
Spawning worker 1 with 104 pkgs
Spawning worker 2 with 104 pkgs
Spawning worker 3 with 104 pkgs

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to packetary (master)

Fix proposed to branch: master
Review: https://review.openstack.org/305867

Changed in packetary:
assignee: nobody → Vladimir Kozhukalov (kozhukalov)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to packetary (master)

Reviewed: https://review.openstack.org/305867
Committed: https://git.openstack.org/cgit/openstack/packetary/commit/?id=c193aa6c60a9b4aee6fefb8e899bfa4fc583922c
Submitter: Jenkins
Branch: master

commit c193aa6c60a9b4aee6fefb8e899bfa4fc583922c
Author: Vladimir Kozhukalov <email address hidden>
Date: Thu Apr 14 16:50:49 2016 +0300

    Fix createrepo workers racing

    Sometimes packetary hangs forever when spawning
    mutiple createrepo workers. This patch sets
    number of workers to 1.

    Change-Id: Ica52245b20343428e663e9397ffa8b52d6f46ffc
    Closes-Bug: #1552138

Changed in packetary:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.