While testing the 2.5.2 RC on a system, bcourt noticed that tasks would stay at the waiting state and never move forward. Some pre-investigation was done and the symptom can be described like this: A machine running pulp_workers that has a hostname which contains a 'd' 'q' or '.' specifically as the last character of the hostname will not have any tasks move beyond the waiting state. It results in pulp-admin giving the following output: [pulp@bcourt-rhel6-prod ~]$ pulp-admin rpm repo sync run --repo-id rhel5 +----------------------------------------------------------------------+ Synchronizing Repository [rhel5] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... After some investigation it was determined this affects all 2.5.X releases but it does not affect 2.4.X releases or earlier. It also does not affect 2.6.X releases because the task dispatching system was overhauled for the 2.6.X release and that is free of this defect.
Assuming this lands in 2.5.2, I made the PR against 2.5-testing: https://github.com/pulp/pulp/pull/1488
Merged to 2.5-testing -> 2.5-dev -> 2.6-dev -> master
QA: to verify this BZ you will need to do so on a machine whose hostname ends in 'd' or 'q'. For example 'pulp-prod' would work.
verified [root@pulp-prod ~]# rpm -qa pulp-server pulp-server-2.5.2-0.2.beta.el6.noarch [root@pulp-prod ~]# [root@pulp-prod ~]# hostname pulp-prod [root@pulp-prod ~]# pulp-admin login -u admin -p admin Successfully logged in. Session certificate will expire at Jan 16 19:25:42 2015 GMT. [root@pulp-prod ~]# [root@pulp-prod ~]# [root@pulp-prod ~]# [root@pulp-prod ~]# pulp-admin rpm repo create --repo-id zoo --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/ Successfully created repository [zoo] [root@pulp-prod ~]# [root@pulp-prod ~]# [root@pulp-prod ~]# [root@pulp-prod ~]# pulp-admin rpm repo sync run --repo-id zoo +----------------------------------------------------------------------+ Synchronizing Repository [zoo] +----------------------------------------------------------------------+ This command may be exited via ctrl+c without affecting the request. Downloading metadata... [/] ... completed Downloading repository content... [==================================================] 100% RPMs: 32/32 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Task Succeeded Initializing repo metadata [-] ... completed Publishing Distribution files [-] ... completed Publishing RPMs [==================================================] 100% 32 of 32 items ... completed Publishing Delta RPMs ... skipped Publishing Errata [==================================================] 100% 4 of 4 items ... completed Publishing Comps file [==================================================] 100% 3 of 3 items ... completed Publishing Metadata. [-] ... completed Closing repo metadata [-] ... completed Generating sqlite files ... skipped Publishing files to web [-] ... completed Writing Listings File [-] ... completed Task Succeeded
Pulp 2.5.2 has been released.